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

wrong pstorage data read when data flashed manually with nrfjprog --memwr

I'm trying to write to specific address on flash memory (data region) for debug purpose using

nrfjprog.exe --memwr 0x3B820 --val 0xAA000000 --verify

but when I read data on 0xAA000000 using pstorage or nrfjprog --memrd and read them by ble I always get zero.

when I save data on address 0x3B820 using pstorage, it's successfully saved and read by pstorage again (after system reset) what could be the issue?

here the script im using to write to flash memory

image description

here I read on the address I wrote on, and I successfully read what I write, but when I try to dump memory content or try to use pstorage to read content I always read zero

image description

image description

Parents Reply Children
No Data
Related