You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In IDE 2.3.4, when burning bootloader for Arduino Mega2560 with Atmel-ICE lock bits verification fails. Everything previous is written and verified ok and board works (but with the bootloader area unprotected). Running from cmd the very same avrdude line from the Arduino IDE works and verifies ok. This only happens in the IDE, that makes me think of a timing issue. In the IDE two avrdudes commands are run, one for the fuses, then the second one (perhaps to soon) for the bootloader and lock bits. When I run this from cmd I only run second one that is what it fails in the IDE. I also tried slow down the clock to 32uS from programmers Atmel ICE entry, but same results.
This is the output where it fails:
_avrdude: reading input file "0xCF"
avrdude: writing lock (1 bytes):
Describe the problem
In IDE 2.3.4, when burning bootloader for Arduino Mega2560 with Atmel-ICE lock bits verification fails. Everything previous is written and verified ok and board works (but with the bootloader area unprotected). Running from cmd the very same avrdude line from the Arduino IDE works and verifies ok. This only happens in the IDE, that makes me think of a timing issue. In the IDE two avrdudes commands are run, one for the fuses, then the second one (perhaps to soon) for the bootloader and lock bits. When I run this from cmd I only run second one that is what it fails in the IDE. I also tried slow down the clock to 32uS from programmers Atmel ICE entry, but same results.
This is the output where it fails:
_avrdude: reading input file "0xCF"
avrdude: writing lock (1 bytes):
Writing | ################################################## | 100% 0.00s
avrdude: 1 bytes of lock written
avrdude: verifying lock memory against 0xCF:
avrdude: load data lock data from input file 0xCF:
avrdude: input file 0xCF contains 1 bytes
avrdude: reading on-chip lock data:
Reading | ################################################## | 100% 0.00s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0xff != 0xcf
avrdude: verification error; content mismatch
avrdude done. Thank you.
Failed to burn bootloader: uploading error: exit status 1_
To reproduce
Burning bootloader for Arduino Mega2560 with Atmel-ICE. Using a fast Dell quite new computer (2024) with Windows 11.
Expected behavior
Go thru the burning with no errors!
Arduino IDE version
2.3.4
Operating system
Windows
Operating system version
11
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: