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.
- Download ftisp for your platform
- 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
- 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