Table of Contents


Optiboot is a stk500v1 compatible boot loader for AVR, generally used in Arduino boards.

cd optiboot/optiboot/bootloaders/optiboot/


Here we program an ATMEGA328P using the USBasp like this.

avrdude -c usbasp -p ATMEGA328P -e -u -U lock:w:0xFF:m -U efuse:w:0xFD:m -U hfuse:w:0xDC:m -U lfuse:w:0xFF:m
avrdude -c usbasp -p ATMEGA328P -D -U flash:w:optiboot_atmega328.hex 
avrdude -c usbasp -p ATMEGA328P -u -U lock:w:0xcF:m
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information