This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

NV address to save custom data

I want to save custom data in NV address. Which address is safe to save custom data in NV?

I'm working on nRF51822-xxAC with very simple and small code. And, using s110 Softdevice.

In my understanding, 0x40000 is tail address of NV. So, I'm trying to save 4bytes of data at address of 0x40000-0x400. I saved data using nrfjprog as below in linux(ubuntu) prompt.

$ nrfjprog --memwr 0x3fc00 --val 0x00112233

And, read it from nRF source code as below.

memcpy(dest, 0x3fc00, 4);

It worked fine at first boot. But, in some time the value in the address, 0x3fc00 is modified to some other value.

Parents Reply Children
No Data
Related