Ftisp

Version 5 (Anthony Rowe, 03/24/2010 05:49 pm)

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 5 Anthony Rowe
  * Download latest driver for FT232R chipset:  http://www.ftdichip.com/Drivers/D2XX.htm
14 1 Anthony Rowe
 * Get drivers and installation instructions at: www.ftidchip.com
15 1 Anthony Rowe
   * For Windows systems use the V2.xx.xx (CDM) driver
16 1 Anthony Rowe
   * For other systems, use the D2XX driver
17 1 Anthony Rowe
 * Connect any cabling or set any configuration jumpers required by your hardware (see Supported Hardware)
18 1 Anthony Rowe
 * Connect your supported hardware to your PC with a USB cable (ftisp works only via USB)
19 1 Anthony Rowe
 * Convert the normal FireFly hex file to a binary file by running:
20 1 Anthony Rowe
{{{
21 1 Anthony Rowe
avr-objcopy -I ihex main.hex -O binary main.bin
22 1 Anthony Rowe
}}}
23 1 Anthony Rowe
 * Open a command prompt and run ftisp
24 1 Anthony Rowe
{{{
25 1 Anthony Rowe
> ./ftisp -E -fw main.bin
26 1 Anthony Rowe
}}}