This is an old revision of the document!



Burning the Firmware on the USBasp Programer


Firmata Download the firmata from: http://www.fischl.de/usbasp/.
Read the Readme.txt.


Workaround for Atmega8 on Linux

1. Erase:

$ sudo avrdude  -p atmega8 -c stk500v2 -P /dev/ttyACM0 -e

2. Set Fusebits

$ sudo avrdude  -p atmega8 -c stk500v2 -P /dev/ttyACM0 -U hfuse:w:0xc9:m
$ sudo avrdude  -p atmega8 -c stk500v2 -P /dev/ttyACM0 -U hfuse:w:0xc9:m

3. Burn the Hex File:

$ sudo avrdude  -p atmega8 -c stk500v2 -P /dev/ttyACM0 -b115200 -U flash:w:usbasp.atmega8.2011-05-28.hex:i