From: SourceForge.net <no...@so...> - 2009-10-25 19:12:24
|
Bugs item #2886068, was opened at 2009-10-25 12:12 Message generated for change (Tracker Item Submitted) made by dosdaddy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=520074&aid=2886068&group_id=68108 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Other Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: DosMan (dosdaddy) Assigned to: Nobody/Anonymous (nobody) Summary: EEPROM location wrong for XMEGA Initial Comment: To use EEPROM memory mapping on XMEGA, the address of EEPROM variables must start at offset 0x1000 instead of 0. This should be done by changing all the XMEGA linker scripts so the .eeprom section starts at 0x811000 instead of 0x810000. There appear to be 35 linker script files that are affected. AVR Studio debugger will currently not recognize EEPROM data at this alternate starting address. I am submitting a request to Atmel to change that. In the meantime, there is an easy work-around using avr-objcopy to reset the EEPROM address so the debugger will recognize it: avr-objcopy --change-section-vma .eeprom=0x810000 <target>.elf ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=520074&aid=2886068&group_id=68108 |