(Obsolete) Burn-O-Mat to Upload Firmware

Alternate method using Burn-O-Mat

I used to recommend Burn-O-Mat to upload firmware, because it is supposed to work on Window, Linux and Mac:
AVR8-burn-o-mat


But on the Mac, Burn-O-mat does not show the  328p option! You have to do this workaround to make it work:
Burn-O-Mat 328p menu option fix on Mac

Although it worked fine for me, a lot of people had trouble with Burn-O-Mat:
You have to download AVRDude separately. You have to configure it properly, and writing fuses is a separate operation from writing the firmware. Verifying is a separate operation, which makes it very cumbersome. My new recommendation is to use AVRDudess instead, as described on this page.

Download AVRDude

AVRDude is part of the Crosspack AVR on the Mac:
Crosspack AVR download for Mac
It is part of WinAVR on Windows:
WinAVR 2010-10-10 download for Windows

Configure burn-o-mat

Go to the settings tab, and make sure the location of avrdude.exe and avrdude.conf are correct (on Windows, they are in the WinAVR-xxx/bin/ folder).

Set the Programmer type to "usbtiny", port is USB. You need to restart the program after setting the above location correctly to have that option appear.

Write the AVR Fuse Bytes

Click Fuses, to to the Fuse Hex Editor tab. Connect the MarcDuino to the programmer. Make sure you can read the fuses by clicking "Read Fuses".

Enter the fuse bytes values as follows. Triple check before writing them! If the fuse options are set wrong, the AVR might become unusable!

efuse: 07     (brown out disabled)
hfuse: DF    (SPI programming enabled, no debug wire)
lfuse:  FF     (16 MHz crystal clock, slow power rise)

Check again! Click Apply, then Write Fuses. Verify them to make sure they have been fused correctly.


Upload the Firmware Image

Download the appropriate firmware image file at the bottom of this page to your computer:
  • The first board (master, connected to the panel servos) needs the PanelController firmware.
  • The second (slave, connected to the HPs) needs the HPController firmware.
From burn-o-mat, navigate to it using the File button in the Flash section, then click Write
(there is no EEPROM file, leave it blank).
(note: if the 328p choice does not appear on the Mac, try Burn-O-Mat 328p menu option fix on Mac )




As soon as the flash upload is done and verified, the red LED should start to blink exactly once per second. This indicates that the real time module has loaded and that the software is running. If it blinks too slow, it's probably not using the right clock. Make sure you have not skipped the fuse setting step!