« Previous - Version 6/8 (diff) - Next » - Current version
Arvind Kandhalu, 03/29/2010 05:27 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] * [ftisp_osx OS X] * Install FTDI USB driver * Download latest driver for FT232R chipset:
For Linux: http://www.ftdichip.com/Drivers/D2XX.htm
For Windows: http://www.ftdichip.com/Drivers/VCP.htm * 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 {{{
avr-objcopy -I ihex main.hex -O binary main.bin
}}} * Open a command prompt and run ftisp {{{

  • For Linux Systems, make sure to follow the instructions in the readme file of the driver installation. * In the installation instructions, make sure you replace the file name versions to the versions that you are installing. * When creating, symbolic links, also create a symbolic link for the library name with a ".0" extension. * For example, if you are creating a symbolic link for libftd2xx.so, then you should also create a symbolic link for libftd2xx.so.0.
  • 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:

./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