This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EMBEDDED-PROGRAMMING: I am implementing Non-Volatile Memory (NVM) and reading from the flash memory using PtrPageSearch. I found that this pointer holds the value 0x0001, which I wrote to the flash memory and verified in the memory view of Code Composer.

Part Number: EMBEDDED-PROGRAMMING

Tool/software:

I am implementing Non-Volatile Memory (NVM) and reading from the flash memory using PtrPageSearch.

I found that this pointer holds the value 0x0001, which I wrote to the flash memory and verified in the memory view of Code Composer.

PtrStrRead->BlockData = *PtrPageSearch;

I sometimes see the value copied from the pointer to PtrStrRead->BlockData as expected, resulting in 0000000000000010b. Other times, after the copy, I find that the value in PtrStrRead->BlockData equals 0000100000000010b.

The fluctuation between 0 and 1 is not consistent; each bit changes dynamically rather than uniformly.

All datatypes is uint16_t.

What are the reasons for this occurrence?

This is the data in the memory view:(0x0002)