💬 Various bootloader files based on Optiboot 6.2
-
I have copy the file over the existing files and then I get this error with burning:
java.io.IOException: Cannot run program "{runtime.tools.avrdude.path}/bin/avrdude": CreateProcess error=2, The system cannot find the file specified
I am using Arduino IDE 1.8.2
-
I'm probably a rare case but I successfully burn the bootloader (atmel 328p stand alone with slimeNode board) using atmel studio7 with an AVRMK2ISP, flash the mySensors code using arduino IDE and the "nodeManager" libraries succesfully too and everythings appear properly in my HomeAssistant, very nice, I've just give a paypal tips ;o)
But I have no idea why I use this bootloader ??? If I used a nano, I wont change the bootloader ? Is there something better ? It could look stupid but their is no real explain about WHY I must change my bootloader on this page...
-
Found these bootloaders and using the 1MHz for some low power experiments. I did get this error message when burning the bootloader (using USBASP programmer) :
"avrdude: WARNING: invalid value for unused bits in fuse "efuse", should be set to 1 according to datasheet
This behaviour is deprecated and will result in an error in future version
You probably want to use 0xfd instead of 0x05 (double check with your datasheet first)."
The bootloader woas succesfully burned so the message was informational. I did look into this and made the following changes in boards.txt :
I changed all the lines containing "......bootloader.extended_fuses="
There are multiples sections in the file that have these lines.old value -> new value
0x04 0xFC
0x05 0xFD
0x06 0xFE
0x07 0xFFI used this site link text
for calculating the new values for the extended fuse.
Now the error message is gone. Maybe this is of any help when using these bootloaders. -
I can probably package this in a directory structure you could add to the Hardware folder in the Arduino files, but I do not have the time for it right now. I know that has been done for the original Optiboot 6.2 files already (including a pinout file for the various processor variants):
https://github.com/Optiboot/optibootFor the moment I have added my boards.txt file as I use it in my Arduino IDE (common), it shows some fuse settings, but you are right: a document describing the fuse settings to use, and their effect on a bootloader would be a nice reference for many people.
This post is deleted!