Closed avrs-admin closed 2 years ago
Joerg Wunsch
Seems you are right. Well, fixing just one Xmega device doesn't make much sense, would you be willing to browse all the datasheets, and make a suggestion for an updated avrdude.conf.in?
The previous version (all page sizes set to 0x100) was just wrong, too, and it fell onto my feet when implementing page erase.
Ricardo Martins
Sure, I'll check all XMEGA datasheets and will post a patch with the correct values. Please disregard the avrdude.conf patch I posted just a few minutes ago. Although my main interest is in the ATxmega32A4, for the benefit of the community I will check all XMEGA's.
Joerg Wunsch
Many thanks!
Ricardo Martins
I attach a file with the right settings for all XMEGA MCUs. This file is automatically converted by a Python script from this table:
https://docs.google.com/spreadsheet/ccc?key=0Aj00gvm9SJiUdEpncFpGZUM3d1dCbFZhU09tZjBGbGc
Joerg Wunsch
Thanks a lot for this nice contribution!
I replaced all the ATxmega* definitions in avrdude.conf.in by your configuration snippet (SVN r1222).
Ricardo Martins rasm@fe.up.pt Thu 03 May 2012 01:45:43 PM UTC
The datasheet of the XMEGA A4 devices mentions that the "User Signature Row" is one flash page in size. In the trunk's version of avrdude.conf.in all XMEGA devices share the same usersig configuration, yet they are not the same:
Page Sizes (words): ATxmega16A4: 128 ATxmega32A4: 128 ATxmega64A4: 128 ATxmega128A4: 256
file #25825: xmega.conf
This issue was migrated from https://savannah.nongnu.org/bugs/?36384