>From SourceForge bug #2886068 (WinAVR project]: 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 -- Summary: [avr] EEPROM location wrong for XMEGA Product: binutils Version: 2.21 (HEAD) Status: NEW Severity: enhancement Priority: P3 Component: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: eric dot weddington at atmel dot com CC: bug-binutils at gnu dot org GCC target triplet: avr-*-* http://sourceware.org/bugzilla/show_bug.cgi?id=11164 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils