memcpy() from uncached flash

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Is it safe to read data from the uncached internal flash (PFLASH) using memcpy()?

It seems to work, but the reference manual for XMC4800 (ch. 8.4.4) only says that "The PMU allows [...] single 32-bit
read accesses to the non-cached address space of the PFLASH". It doesn't say that e.g. byte accesses are safe.
0 Likes
1 Reply
User8819
Level 4
Level 4
Hi,

I am using single byte access to uncached flash and never had problems.

rum
0 Likes