Fix mega2560 erase flash error#2
Conversation
Fixes msproul#7 and makes code compatible with avr-gcc. Hex file compiled with avr-gcc 11.2.0 on FreeBSD.
|
|
|
Tested with 2 apps, both based on the "bigprogram" app to fill 100% of the flash. One used numbers and the other letters so that the data would be different. I can add those programs if needed but they are quite simple. Test using older bootloaderFirst programDetails
Second program uploadDetails
Test using new bootloaderFirst programDetails
Second program uploadDetails
Edit: Put avrdude output in collapsable "details" blocks. |
|
Just want to add that I've been nearly daily using several MEGAs with this bootloader since my original PR without incident. The one I've been uploading to, I have been averaging 2-3 uploads per week minimum, hitting 10-20+ on busy weeks. I've encountered no issues. |
Fixes msproul#7 and makes code compatible with later avr-gcc versions.
Hex file compiled with avr-gcc 11.2.0 on FreeBSD.