Ff-programmer-v2

Version 5 (Anthony Rowe, 01/31/2009 02:55 pm)

1 1 Anthony Rowe
2 4 Anthony Rowe
= FireFly Programmer Configuration =
3 2 Anthony Rowe
4 5 Anthony Rowe
This page briefly describes how to load firmware onto the FireFly programmer board.  Most FireFly programmers are already flashed with current firmware and do not require any of these configurations.  If you would like to change the firmware on the FireFly Programming board you will require another Atmel programming board like the [http://www.atmel.com/dyn/Products/tools_card.asp?tool_id=3353 AVR MKII] and firmware downloading software like [http://www.atmel.com/dyn/Products/tools_card.asp?tool_id=2725 AVRStudio].
5 2 Anthony Rowe
6 2 Anthony Rowe
7 2 Anthony Rowe
'''Step 1: Configure Jumpers and Connect Programmer as shown below'''
8 2 Anthony Rowe
9 2 Anthony Rowe
[[Image(flash.png)]]
10 2 Anthony Rowe
11 2 Anthony Rowe
'''Step 2: Connect separate power to the FireFly programming board and turn it on'''
12 2 Anthony Rowe
13 2 Anthony Rowe
'''Step 3: Set the AVR programmer to target the ATmega324p processor (try reading signature)'''
14 2 Anthony Rowe
15 2 Anthony Rowe
'''Step 4: Using AVR programming software (like AVRstudio) set the following options and fuses:'''
16 2 Anthony Rowe
17 2 Anthony Rowe
{{{
18 2 Anthony Rowe
Crystal Configuration
19 2 Anthony Rowe
   Ext. Crystal/Resonator High Freq.
20 2 Anthony Rowe
   Startup Time 16K+64ms
21 2 Anthony Rowe
   CKSEL=1111   SUT=11
22 2 Anthony Rowe
23 2 Anthony Rowe
Fuses
24 2 Anthony Rowe
   Extended: 0xFF
25 2 Anthony Rowe
   High: 0xD9
26 2 Anthony Rowe
   Low: 0xFF
27 2 Anthony Rowe
28 2 Anthony Rowe
Clear CKDIV8 flag
29 2 Anthony Rowe
}}}
30 2 Anthony Rowe
31 2 Anthony Rowe
'''Step 5: Download Firmware'''
32 2 Anthony Rowe
33 3 Anthony Rowe
Flash the following [attachment:ff_prog_m324p.hex?format=raw firmware] file.
34 3 Anthony Rowe
35 2 Anthony Rowe
'''Step 6: Set jumpers back for normal operation as shown below:'''
36 2 Anthony Rowe
37 2 Anthony Rowe
[[Image(normal.png)]]