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 AVR MKII and firmware downloading software like AVRStudio.
Step 1: Configure Jumpers and Connect Programmer as shown below
Step 2: Connect separate power to the FireFly programming board and turn it on
Step 3: Using AVR programming software (like AVRstudio) set the following options and fuses:
The first time you write to the board, you will need to configure a low ISP programming frequency since the processor will be running off of a slow internal oscillator by default. Usually an ISP speed of 4KHz works correctly.
Processor Type ATmega324p Crystal Configuration Ext. Crystal/Resonator High Freq. Startup Time 16K+64ms CKSEL=1111 SUT=11 Fuses Extended: 0xFF High: 0xD9 Low: 0xFF Clear CKDIV8 flag No ATmega103 comparability (may not be an option)
Step 4: Download Firmware
Flash the following [attachment:ff_prog_m324p.hex?format=raw firmware] file. You may wish to restart the FireFly board and set the ISP programming speed to a higher value since this will take a long time at 4KHz. The ISP setting can be set to 1MHz once the fuses are configured.
Step 5: Set jumpers back for normal operation as shown below: