-
Notifications
You must be signed in to change notification settings - Fork 139
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
avrdude memory type enhancement #1330
Comments
No idea, and actually, I've never even held an ATmega406 in my fingers. It's a quite exotic part – even though it's still in production these days. The datasheets of the non-Xmega AVRs call it "lock bit byte", the Xmegas call it "lock bit register". |
And the ATDFs call that register variously, How about calling the ATmega406's memory |
I am always hesitant to change things that have alway^H^H^H^H^Hfor a long time been the way they are. You never know whom you might shoot into the foot with renaming things. Frankly, I don't even have the slightest idea whether there's even a single ATmega406 AVRDUDE user – but I am sure, if you gratuitously rename things (even if for a good reason), you might suddenly learn how many active users of it have already been out there. :-) That's opensource life: if something works, you'll (almost) never hear about it from the users. |
Fair point as to external representation. For internal use in the code base, I advocate utilising a new memory field
Note these are soft-assigned: |
Your proposal seems to be a good one. Maybe we can change this issue into an enhancement. |
There isn't really a good authority how the memory should be called that houses the lock bits. Neither the data sheets nor the atdf files have a systematic way of naming. AVRDUDE calls these memories
lock
unless it's aTPI
part (t4, t5, ..., t40, t102, t104), in which case it'slockbits
.Or and that's the surprising bit: if it's the ATmega406 then this memory is also called
lockbits
.Any rhyme or reason?
The text was updated successfully, but these errors were encountered: