Here's a small list of examples you can use with ZPUino. Some are generic, but some are board-specific, due to its interaction with on-board peripherals

ZPUino demo for Spartan 3E Evaluation Board (Starter Kit)

This small example is intended for S3ESK only (based on S3E500). It mimics original S3ESK picoblaze design present on the factory board. It interacts with the following on-board peripherals:

  • LCD display
  • Rotary encoder
  • LEDs

It also shows usage of several ZPUino features like:

  • Interrupts
  • Pin configuration
  • Simple serial output


Download the demo:

See note below on how to upload .bin files to ZPUino by hand.

Uploading binary files

If you decide to download a prebuilt .bin file, you can use zpuinoprogrammer to upload it to the board.

Before you start, please:

  • Locate the zpuinoprogrammer binary, which is shipped with the IDE. It should be in build/linux/dist/tools/zpuinoprogrammer, inside the directory where you extracted the IDE to.
  • Figure out your serial port device. For S3ESK board, it's usually /dev/ttyS0, for Papilio One board it's usually /dev/ttyUSB1 (the second USB port).
  • Make sure you have programmed the latest ZPUino FPGA bitfile.
  • Upload the binary file like this: /path/to/zpuinoprogrammer -v -R -s 115200 -d /dev/ttyX -b /path/to/binfile.bin. Make sure you replace the paths correcly, as well as the serial port and the binfile.
  • If everything goes well it should present Programming completed in X seconds message before exiting.
  • Your sketch binary should start immediatly.