ZAP IDE QuickStart

ZAP (ZPUino Arduino Papilio) IDE is specially designed to get you up and running quickly with Soft Processors on the Papilio FPGA boards. It has everything needed to start running sketches on the AVR8 and ZPUino Soft Processors in a single download.


Quick Links

ZAP IDE Download - Available for download now!

Operating Systems

Windows Vista
Windows XP
Windows 7
WIndows 8

Hardware this Guide Applies to:



Setup


Download ZAP IDE

Download ZAP IDE

Download ZAP IDE and save it to a location of your choice on your computer.


Spaces in the path can cause problems, the recommended location is c:\zap.

Open ZAP IDE

Navigate to the location you saved ZAP IDE and double click on zap.exe.


Plug your Papilio FPGA board into a USB port
Select Serial Port

Select Tools/Serial Port/[Second Serial Port]. Choose the second serial port that shows up which should correspond with Channel B under the Device Manager.




AVR8 Soft Processor

The AVR8 Soft Processor is patterned after the ATmega103 chip from Atmel. It is very close in architecture of the ATmega8 which was used for the first Arduino and is supported in the Arduino libraries. The ZAP IDE includes changes that account for the differences between the ATmega103 and the ATmega108 which allows most Arduino sketches to run. The ZAP IDE includes a variant of the AVR8 known as the Shifty variant.

Select AVR8 Soft Processor

Select Tools\Board\AVR8 Papilio Boards\[Your Board Type]


If you want your sketch to be permanently written to the SPI Flash and start at every power on then select the (Write to Flash) option.

Select Papilio Quick Start Sketch

Select File\Examples\AVR8_Examples\Papilio_QuickStart


Run the Sketch

Press the Upload Icon and watch as the sketch is compiled and loaded to the board in the console window.


Verify the Ascii Table Output

Press the Serial Monitor Icon, make sure 9600 baud is selected, verify that you see the Ascii Table.



ZPUino Soft Processor

The ZPUino is a 32 bit processor running at 100Mhz with an integrated VGA display adapter and YM2149 sound processor. Everything is controlled by a sketch and an easy to use VGA library from the Arduino IDE.

The ZPUino is the ZPU soft processor adapted for use with the Arduino IDE and it was conceived of and developed by Alvaro Lopes.

Select ZPUino Soft Processor

Select Tools\Board\ZPUino 1.0 (32-bits) Boards\[Your Board Type]


Select the type of hardware that you have and the ZPUino variant that you need. Different sketches may require different variants. A ZPUino variant is normally named after a deity from Greek Mythology which roughly indicates what type of peripherals it includes. For example the Hyperion variant includes the VGA peripheral and is named after Hyperion the "Lord of Light". If your sketch requires a specific variant it will indicate what it needs in the header.

Select Programmer for Bootloader

Select Tools\Programmer\Papilio Programmer


Burn Bootloader

Select Tools\Burn Bootloader


The ZPUino Soft Processor works differently then the AVR8, it requires that a bit file be loaded to the Papilio before you can load a sketch. The Burn Bootloader option makes it easy to upload the correct ZPUino bit file, just choose the board type you need and the ZPUino bit file that is associated with that board type will be uploaded when Burn Bootloader is selected.

Select Papilio Quick Start Sketch

Select File\Examples\ZPUino_Examples\Papilio_QuickStart


Run the Sketch

Press the Upload Icon and watch as the sketch is compiled and loaded to the board in the console window.


Verify the Ascii Table Output

Press the Serial Monitor Icon, make sure 9600 baud is selected, verify that you see the Ascii Table.



Learn More

  

Share |