-
Notifications
You must be signed in to change notification settings - Fork 136
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
Weird AVR family warning on locked AVR-Dx #1894
Comments
Thanks for reaching out @LinuxJedi. Yes, I can relate to your observation. It is a side effect of the way that AVRDUDE is written as an application from our big AVR library The FamilyID is a thing, albeit one that Microchip botched. This is a situation where AVRDUDE cannot read the signature and thus cannot really verify that it's the chip the user said it is. Early on, AVRDUDE tried to evaluate the FamilyID, but Microchip subsequently has failed to put a reasonable string into the space foreseen for the FamilyID in their SIB for the series of chips they developed later on. Rather than AVR DA, AVR Ex, or similar they actually "encode" different one with |
I don't have an AVR64DA64, but I do have an AVR128DA64. And this has the The story I've been told is that they messed up when they released the DA series with But the other lock "errors" should perhaps be turned into warnings. But it doesn't serve any purpose for Avrdude anymore. Is we really want that we can just read the SIB, something that wasn't possible a few Avrdude versions ago. |
It's as fatal as it can get, leading straight to being unable to read the signature. And the only remedy is CE. So, that's way more than just a mere warning from almost any vantage point except when you know a CE is the master plan all along... but that's nothing that the low-level routine can or should know. I hope users can live with this situation being communicated as error. |
I'm flashing a locked AVR-Dx with the following command, which works great, but the messages are a bit weird:
This is the initial message before the flash executes:
Whilst really minor, I find it odd for two reasons:
-e
anyway.I don't know enough about avrdude's code or the protocol to understand why, and it isn't really a problem, but it was just a little unexpected :)
The text was updated successfully, but these errors were encountered: