This is an old revision of the document!



Burning the Firmware on the USBasp Programmer


Firmata & Infos

Download the firmware from: http://www.fischl.de/usbasp/. And read the Readme.txt.


Workaround for Atmega8 with the AVRdude 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=0xc9
$ sudo avrdude  -p atmega8 -c stk500v2 -P /dev/ttyACM0 -U LFUSE=0xef

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