-
Notifications
You must be signed in to change notification settings - Fork 149
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
Arduino Nano Every EEPROM writing #1604
Conversation
Thanks for the PR! |
There are still a few other places we use I was thinking of changing them all previously. |
This PR works great with Arduino Nano Every. Previously failed EEPROM writing and erasing now work fine. With this PR:
|
The question here really is which programmers that use code from |
I have an AVR Dragon and a few Xmega boards I can test with. However, I don't have a JTAGmkII, but I'll assume testing with a Dragon is sufficient. |
@askn37 Thanks for analysing. This gives us more confidence for applying this PR. Let's wait and see whether @MCUdude could carry out tests with Microchip tools |
With this PR, I haven't stumbled across any regressions when using the Dragon in PDI mode along with the ATxmega128A3U. dragon_pdi + ATxmega128A3U
|
No issues with the Dragon in JTAG mode together with the ATxmega256A3BU: dragon_jtag + ATxmega256A3BU
|
Fix derived from #1602. You can write EEPROM to Arduino Nano Every.
Modify the PM_UPDI write subcommand of jtagmkII_paged_write as follows:
"MTYPE_EEPROM" -> "MTYPE_EEPROM_XMEGA"
This can lead to regression.