This anomaly applies to IC Rev. Engineering D, build codes CKAA-DA0, QIAA-DA0, QFAA-Dx0.
It was inherited from the previous IC revision Revision 1.
Symptoms
Data read from the XIP area is incorrect.
Conditions
Code that is executing from internal flash memory or RAM reads data located in the XIP region. The read performs two consecutive LDR instructions from XIP addresses where the result of the first LDR instruction is used as the address of the second LDR. This occurs, for example, when dereferencing a pointer located in the XIP addresses.
Consequences
Data read from the XIP area is incorrect.
Workaround
To avoid the race condition, perform one of the following:
- Copy the read-only data into internal RAM before accessing it using the memcpy() function.
- Place the read-only data in internal flash memory in the linker script at compile time.