Follow-up Comment #5, patch #9507 (project avrdude):
Thanks for the explanation.
I suggest the following strategy then:
The UPDI-capable devices get their Family_ID added to the config file
("tinyAVR"), so there is something to minimally compare against when the
signature is unreadable.
Then, if reading the signature yields an indication an UPDI device is locked,
*and* the user specified -e, we compare the Family_ID to at least minimally
ensure we are talking to a valid device. (Can be overridden with -F, as
usual.) Then proceed to erasing the device (and internally clear the -e
flag). Might be a good idea to try reading the signature again at that
point.
If the device was not locked, everything is operated in the usual sequence, no
change needed.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?9507>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
avrdude-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev