Difference between revisions of "Arduino: Restore Arduino UNO bootloader using avr dragon"

From Luky-Wiki
Jump to: navigation, search
(Step 1)
(Step 1)
Line 6: Line 6:
 
Download <code>optiboot_atmega328.hex</code> from [https://github.com/Optiboot/optiboot optiboot at github].
 
Download <code>optiboot_atmega328.hex</code> from [https://github.com/Optiboot/optiboot optiboot at github].
  
==== Step 1 ====
+
==== Step 2 ====
 +
Erase chip:
 +
<pre>sudo avrdude -p m328p -c dragon_isp -P usb -e</pre>
 +
 
 
==== Step 1 ====
 
==== Step 1 ====
 
==== Step 1 ====
 
==== Step 1 ====

Revision as of 22:39, 13 February 2016

If you "play" a lot with Arduino UNO then you may end up with locked up device or broken boot loader. There is way out of this problem but you will need additional device. I am using avr dragon for ISP programming and following commands can be used to restore Arduino UNO boot loader.

Note: This work also for other Atmel based devices but configuration needs to be modified accordingly.

Step 1

Download optiboot_atmega328.hex from optiboot at github.

Step 2

Erase chip:

sudo avrdude -p m328p -c dragon_isp -P usb -e

Step 1

Step 1

Step 1

Step 1

Step 1