-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix mega2560 erase flash error #2
base: master
Are you sure you want to change the base?
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.