I'd like to release the upgraded version of the Reef Angel Bootloader, which is a variant of the optiboot bootloader.
To upgrade your Reef Angel controller, you will need a in-system programmer.
More info on the in-system programmer and how to burn a new bootloader: http://arduino.cc/en/Hacking/Bootloader ... Bootloader
The advantages of using the new bootloader:
- More memory space
- Original: 30720 available space
- Optiboot: 32256 available space
- Faster upload speed
- Original: 57600 baud
- Optiboot: 115200 baud
- Immediate start of sketches
- Original: Unit resets and blinks 3 times and waits around 1 second to start sketches with both power on and upload code
- Optiboot: Unit resets and immediatelly starts sketches on power-on and only blinks and waits for upload code if it is manually reset or triggered by the COM port of your computer
- Watchdog timer functionality
- Original: enabling WDT would cause a continuous reset of the controller
- Optiboot: WDT check is built-in and you can use WDT timer to cause the controller to restart by itself in case of lock-ups
The file is called boards.txt and is located at C:\Program Files\Reef Angel Controller\hardware\arduino
Add the following to the top of the file:
Code: Select all
##############################################################
RA.name=Reef Angel Controller w/ optiboot
RA.upload.protocol=stk500
RA.upload.maximum_size=32256
RA.upload.speed=115200
RA.bootloader.low_fuses=0xff
RA.bootloader.high_fuses=0xde
RA.bootloader.extended_fuses=0x05
RA.bootloader.path=optiboot
RA.bootloader.file=optiboot_ReefAngel.hex
RA.bootloader.unlock_bits=0x3F
RA.bootloader.lock_bits=0x2F
RA.build.mcu=atmega328p
RA.build.f_cpu=16000000L
RA.build.core=arduino
- Download the attached file optiboot_ReefAngel.zip
- Extract the file to the folder C:\Program Files\Reef Angel Controller\hardware\arduino\bootloaders\optiboot
- Open Arduino IDE
- In the menu, navigate to Tools->Boards and select Reef Angel Controller w/ optiboot
- In the menu, navigate to Tools->Burn Bootloader and choose which ISP burner you have.