Blog: atmega328p

Reinstall bootloader of Arduino

I use a AVRISP mkII for programming my arduino with eclipse. All fine but after first upload with avrdude, I also removed the arduino bootloader.

The bootloader can be restored. Typical (mint linux / debian) folder is:
/usr/share/arduino/hardware/arduino/bootloaders/optiboot

Just start avrdude with:
avrdude -c avrispmkII -p atmega328p -U flash:w:optiboot_atmega328.hex:a

Remove the USB cable and plug it in ... arduino should be programmable with the ardunino app.