« Previous - Version 3/8 (diff) - Next » - Current version
Anthony Rowe, 03/24/2010 05:48 pm

FireFly USB Programmer

This page briefly describes how to use the FireFly USB Gateway to program FireFly nodes. Note that unlike the normal FireFly Debugging board, the USB board has only a single UART and hence all debugging terminals must be closed before downloading. The USB board also may require loading the D2XX FTDI serial driver instead of the more common virtual com port driver.

To program the FireFly nodes with the USB gateway, we suggest using ftisp from: http://hubbard.engr.scu.edu/embedded/avr/ftisp/

To install and use ftisp: * Download ftisp for your platform * [ftisp.exe Windows] * [ftisp Linux] * [attachement:ftisp_osx OS X] * Install FTDI USB driver * Get drivers and installation instructions at: www.ftidchip.com * For Windows systems use the V2.xx.xx (CDM) driver * For other systems, use the D2XX driver * Connect any cabling or set any configuration jumpers required by your hardware (see Supported Hardware) * Connect your supported hardware to your PC with a USB cable (ftisp works only via USB) * Convert the normal FireFly hex file to a binary file by running: {{{
avr-objcopy -I ihex main.hex -O binary main.bin
}}} * Open a command prompt and run ftisp {{{

./ftisp -E -fw main.bin


ftisp.exe - ftisp for windows (16.5 kB) Anthony Rowe, 03/24/2010 05:44 pm

ftisp - ftisp linux (15.2 kB) Anthony Rowe, 03/24/2010 05:45 pm

ftisp_osx - ftisp OS X (58.3 kB) Anthony Rowe, 03/24/2010 05:47 pm