Skip to content

Commit f34ddaf

Browse files
committed
Set fuses so BOOTRST=1 on ATmega2560
This disables the Boot Reset vector which allows USBASP to be used for Upload Using Programmer. Boot Reset vector is still enabled on all other MCUs because it seems to work fine that way. See https://github.com/arduino/Arduino/issues/388 and http://forum.arduino.cc/index.php?topic=126160.15
1 parent 0b86a3a commit f34ddaf

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

avr/boards.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ ariadne2560.upload.speed=115200
126126

127127
ariadne2560.bootloader.tool=arduino:avrdude
128128
ariadne2560.bootloader.low_fuses=0xFF
129-
ariadne2560.bootloader.high_fuses=0xDA
129+
ariadne2560.bootloader.high_fuses=0xDB
130130
ariadne2560.bootloader.extended_fuses=0xFD
131131
ariadne2560.bootloader.unlock_bits=0x3F
132132
ariadne2560.bootloader.lock_bits=0x0F

avr/more-boards.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ ariadne_debug.menu.model.atmega2560=ATmega2560 16MHz avr-developers.com, Blink,
3232
ariadne_debug.menu.model.atmega2560.upload.maximum_data_size=8192
3333
ariadne_debug.menu.model.atmega2560.upload.maximum_size=253952
3434
ariadne_debug.menu.model.atmega2560.bootloader.low_fuses=0xFF
35-
ariadne_debug.menu.model.atmega2560.bootloader.high_fuses=0xD0
35+
ariadne_debug.menu.model.atmega2560.bootloader.high_fuses=0xD1
3636
ariadne_debug.menu.model.atmega2560.bootloader.extended_fuses=0xFD
3737
ariadne_debug.menu.model.atmega2560.bootloader.unlock_bits=0x3F
3838
ariadne_debug.menu.model.atmega2560.bootloader.lock_bits=0x0F

boards.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ ariadne2560_blink_shield.upload.maximum_size=258048
7373
ariadne2560_blink_shield.upload.speed=115200
7474

7575
ariadne2560_blink_shield.bootloader.low_fuses=0xFF
76-
ariadne2560_blink_shield.bootloader.high_fuses=0xDA
76+
ariadne2560_blink_shield.bootloader.high_fuses=0xDB
7777
ariadne2560_blink_shield.bootloader.extended_fuses=0xFD
7878
ariadne2560_blink_shield.bootloader.path=ariadne
7979
ariadne2560_blink_shield.bootloader.file=ariadne_atmega2560_16mhz_blink_shield.hex

more-boards.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ ariadne2560_debug.upload.maximum_size=253952
7777
ariadne2560_debug.upload.speed=115200
7878

7979
ariadne2560_debug.bootloader.low_fuses=0xFF
80-
ariadne2560_debug.bootloader.high_fuses=0xD0
80+
ariadne2560_debug.bootloader.high_fuses=0xD1
8181
ariadne2560_debug.bootloader.extended_fuses=0xFD
8282
ariadne2560_debug.bootloader.path=ariadne
8383
ariadne2560_debug.bootloader.file=ariadne_atmega2560_debug_16mhz_blink_shield.hex

0 commit comments

Comments
 (0)