"Think outside the [B0X]"

Atmega 328p install bootloader with UsbAsp

Quick and easy steps to burn a bootloader

1. Connect Arduino to UsbAsp programmer, UsbAsp pint layout:


2. Execute in terminal
avrdude -p m328p -c USBasp -P USB -e -Ulock:w:0x3F:m -Uefuse:w:0x05:m -Uhfuse:w:0xDA:m -Ulfuse:w:0xFF:m -B4

It should end succesfully with something like:

avrdude: verifying ...
avrdude: 1 bytes of lfuse verified

avrdude: safemode: Fuses OK

avrdude done.  Thank you.

3. Burn bootloader with:

-> set programmer: tools -> programmer -> usbasp
-> burn booltloader: tools -> Burn Bootloader

This may take a minute or more ...

In an event of error, check cables AND connections!

Category: arduino, Linux