ArduinoBootloader: Difference between revisions

From RevSpace
Jump to navigation Jump to search
(Created page with "Writing a bootloader to an 'empty' arduino or atmega: avrdude -p m328p -c usbasp -B 4 -U hfuse:w:0xda:m -U lfuse:w:0xff:m -U efuse:w:0x00:m avrdude -p m328p -c usbasp -U flash:...")
 
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Writing a bootloader to an 'empty' arduino or atmega:
Use the programmer, found in the box of 'usbtinyisp'. Connect it with the 6-pin header to the ICSP on the Arduino (Tested with Nano)


avrdude -p m328p -c usbasp -B 4 -U hfuse:w:0xda:m -U lfuse:w:0xff:m -U efuse:w:0x00:m
Writing a bootloader to an 'empty' Arduino or atmega:


avrdude -p m328p -c usbasp -U flash:w:~/arduino/bootloaders/atmega/ATmegaBOOT_168_atmega328.hex -U lock:w:0x0f:m
<code>avrdude -p m328p -c usbasp -B 4 -U hfuse:w:0xda:m -U lfuse:w:0xff:m -U efuse:w:0x00:m</code>
<code>avrdude -p m328p -c usbasp -U flash:w:~/arduino/bootloaders/atmega/ATmegaBOOT_168_atmega328.hex -U lock:w:0x0f:m</code>

Latest revision as of 20:25, 15 January 2013

Use the programmer, found in the box of 'usbtinyisp'. Connect it with the 6-pin header to the ICSP on the Arduino (Tested with Nano)

Writing a bootloader to an 'empty' Arduino or atmega:

avrdude -p m328p -c usbasp -B 4 -U hfuse:w:0xda:m -U lfuse:w:0xff:m -U efuse:w:0x00:m avrdude -p m328p -c usbasp -U flash:w:~/arduino/bootloaders/atmega/ATmegaBOOT_168_atmega328.hex -U lock:w:0x0f:m