[Bug target/52461] New: [avr] XMEGA+EBI: RAMPZ clobbered while reading from flash
gjl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 2 12:19:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52461
Bug #: 52461
Summary: [avr] XMEGA+EBI: RAMPZ clobbered while reading from
flash
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: gjl@gcc.gnu.org
Target: avr
To read from flash on devices with more than 64KiB of flash, RAMPZ is set
appropriately before using ELPM instruction.
Devices with external bus interface (EBI) use RAMPZ as high part of the RAM
address while reading from RAM.
Thus, and RAM read on EBI device that is performed via Z will fail after data
has been read from Flash.
More information about the Gcc-bugs
mailing list