Ftisp

Version 7 (Anonymous, 04/20/2010 12:58 am)

1 1 Anthony Rowe
== FireFly USB Programmer ==
2 1 Anthony Rowe
3 1 Anthony Rowe
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.
4 1 Anthony Rowe
5 2 Anthony Rowe
To program the FireFly nodes with the USB gateway, we suggest using ftisp from: http://hubbard.engr.scu.edu/embedded/avr/ftisp/
6 2 Anthony Rowe
7 1 Anthony Rowe
To install and use ftisp:
8 1 Anthony Rowe
 * Download ftisp for your platform
9 3 Anthony Rowe
  * [attachment:ftisp.exe Windows]
10 3 Anthony Rowe
  * [attachment:ftisp Linux]
11 4 Anthony Rowe
  * [attachment:ftisp_osx OS X]
12 1 Anthony Rowe
 * Install FTDI USB driver
13 6 Arvind Kandhalu
  * Download latest driver for FT232R chipset:  
14 6 Arvind Kandhalu
     For Linux: http://www.ftdichip.com/Drivers/D2XX.htm
15 6 Arvind Kandhalu
     For Windows: http://www.ftdichip.com/Drivers/VCP.htm 
16 1 Anthony Rowe
 * Get drivers and installation instructions at: www.ftidchip.com
17 1 Anthony Rowe
   * For Windows systems use the V2.xx.xx (CDM) driver
18 1 Anthony Rowe
   * For other systems, use the D2XX driver
19 6 Arvind Kandhalu
20 6 Arvind Kandhalu
 * For Linux Systems, make sure to follow the instructions in the readme file of the driver installation.
21 6 Arvind Kandhalu
   * In the installation instructions, make sure you replace the file name versions to the versions that you are installing.
22 6 Arvind Kandhalu
   * When creating, symbolic links, also create a symbolic link for the library name with a ".0" extension.
23 6 Arvind Kandhalu
   * For example, if you are creating a symbolic link for libftd2xx.so, then you should also create a symbolic link for libftd2xx.so.0.
24 6 Arvind Kandhalu
25 1 Anthony Rowe
 * Connect any cabling or set any configuration jumpers required by your hardware (see Supported Hardware)
26 1 Anthony Rowe
 * Connect your supported hardware to your PC with a USB cable (ftisp works only via USB)
27 1 Anthony Rowe
 * Convert the normal FireFly hex file to a binary file by running:
28 1 Anthony Rowe
{{{
29 1 Anthony Rowe
avr-objcopy -I ihex main.hex -O binary main.bin
30 1 Anthony Rowe
}}}
31 7 Anonymous
 * Open a command prompt and run ftisp as root
32 1 Anthony Rowe
{{{
33 1 Anthony Rowe
> ./ftisp -E -fw main.bin
34 1 Anthony Rowe
}}}