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:
  • 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:
    avr-objcopy -I ihex main.hex -O binary main.bin
    
  • Open a command prompt and run ftisp as root
    > ./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