Mac OS-X High Sierra 10.13.6, ArduinoIDE 1.8.12, avrdude 6.3-20190619, AVR JTAGICE3.
I’ve just finished experimenting with USBasploader on a couple of MEGAs (one genuine, one cheapie) for a standalone project and wanted to restore the standard bootloader using ArduinoIDE “Tools->Burn Bootlader”.
The bootloader gets written (can upload sketches using USB cable) but I get a verification error.
See attached file (can’t use code tags because of 9000 char post limit).
If I write the bootloader from a terminal I don’t get the error because
a) no -D, does full chip erase including lock bits
b) doesn’t do the ArduinoIDE pre and post lock bit manipulation.
This looks to me related to this old bug:
I’ve had a quick play with the lock bits masks in avrdude.conf with no success.
Any ideas what’s wrong?
Thanks in advance.
avrdude-arduino_lock_bits_problem.txt (396 Bytes)