This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF24LU1+: read flash using MOVX or MOVC

Hi,

We tripped on an odd bug: we were getting corrupted data from flash if Keil's C51 compiler used a MOVX instruction instead of MOVC.

Changing the pointers from generic to typed code seems to have fixed this but we're not sure what to make of this as the spec for the chip clearly states both instructions can be used.

As this been seen before?

Thanks.

Related