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

Is it possible to use pstorage after initializing it with the SD disabled?

For what I understand of the doc and this question it is possible to turn off the SD, turn it on later and then use the settings as normal.

Is it possible to turn on the SD, initialize pstorage, turn off the SD and then keep using pstorage?

If not it would be really useful to have this explicitely told in the doc (I'm using SDK 10 due to various policies I can't touch, maybe it is already present in later doc).

  • Hi,

    pstorage use the softdevice safe functions sd_flash_write() and sd_flash_page_erase() to perform flash operations. These functions are not available when the softdevice is disabled. There is a version, pstorage_nosd.c, which can be used when softdevice is not present.

    Unfortunately, we don't update documentation on older releases unless there are major errors. In later SDKs, pstorage is replaced by fstorage and FDS, so this section is no longer present in the SDK documentation.

    Best regards,

    Jørgen

Related