Really frustrating trying to restore bootloader in my Mega2560 R3 usinf Atmel ICE, but can't find the bootloader's hex file. I have installed Arduino IDE v 2.2.1.
Can anyone help me locate the bootloader files?
Thanks
Really frustrating trying to restore bootloader in my Mega2560 R3 usinf Atmel ICE, but can't find the bootloader's hex file. I have installed Arduino IDE v 2.2.1.
Can anyone help me locate the bootloader files?
Thanks
ArduinoCore-avr/bootloaders/stk500v2/Mega2560-prod-firmware-2011-06-29.hex at master · arduino/ArduinoCore-avr · GitHub Should work.
On your pc, it gets put in some hidden directory
Ps: you shouldn’t need to know where it is for the “burn bootloader” feature to work.
If you follow post #2 @westfw, then it is simple.
Alternatively --
You can make it and store it into the "Boot Section" of the target MEGA using "Arduino as ISP" Programmer. (I have tried it for ATmega328P of UNO Board and AVR Programmer.)
1. Open IDE for MEGA Board and create the following sketch and save it as BlinkBootloader.
void setup()
{
pinMode(13, OUTPUT);
}
void loop()
{
digitalWrite(13, HIGH);
delay(1000);
digitalWrite(13, LOW);
delay(1000);
}
2. Click on --
IDE ---> Sketch ---> Export compiled Binary
3. Check that the folder that contains your sketch has also contained the following file which holds the "Boot Loader Program" and the sketch to blink onboard LED.
blinkBootloader.ino.with_bootloader.mega (hex file)
Thanks WestfW- I wonder why it is hidden, geee!
Burn bootloader didn’t work. I found the various AVR bootloader on another site and programmed it into the Mega2560 using the Atmel ICE, and got it running again.
Thanks again for your help.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.