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

nonvolatile memory access

I need to have configuration tables(more than one) on my BLE device. As far as I know nRF51822 doesn't have built-in eeprom so my options are limited to external serial one or flash. I do prefer flash. I'll be updating one table at a time. Now are my questions:

How can tell to a compiler(Keil in my case)/linker to reserve space in flash for those tables(will be updated wirelessly from the client device)?

Should the room for each table be a multiple of flash page size?

What is the exact sequence of actions, that needs to be taken? Any existing examples?

PS: found pstorage.c - is that the only code to look at?

Related