-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Mega2560 bootloader - various bugfixes #1183
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
Conversation
please merge, finally the watchdog reset might work on an arduino mega 2560.... |
Please check the fix, and report if it works. C |
The updated hex file is available here: |
I can confirm that this bootloader allow upload of the eeprom on a 2560. I'm working on a restful client/server that store board settings in eeprom : https://github.com/housecream/restmcu. |
It seems that data are not well written to the eeprom on latests bytes : avrdude: reading input file "target/restmcu.eep" Writing | ################################################## | 100% 1.79s avrdude: 433 bytes of eeprom written Reading | ################################################## | 100% 0.05s avrdude: verifying ... |
@n0rad |
avrdude -C /etc/avrdude.conf -p atmega2560 -P /dev/ttyACM0 -c stk500v2 -b 115200 -D -U flash:w:n0rad2560.hex -U eeprom:w:n0rad2560.eep https://raw.github.com/housecream/restmcu/master/board/n0rad2560.eep |
@n0rad the updated bootloader: |
Is it normal to get this error? I use an Arduino UNO as ISP. avrdude: verification error, first mismatch at byte 0x1e000 |
@syrinx75 |
Yes, I use an Arduino UNO as ISP with this wiring: https://www.sparkfun.com/tutorial/ArduinoBootloader/BootloadArduino1.jpg |
Use this guide:
|
The eeprom is well written with the new version |
Merged. |
My atmega2560 now works perfetly with the cmaglie's hex ( #1183 (comment) ), To program it, I follow this tutorial and I program it with a Arduino Uno : https://www.sparkfun.com/tutorials/247 Tip: the command i use: |
Patches to Mega2560 stk500v2 bootloader from Mark Sproul, to be tested.
See #181 #392 #505 #543 #544