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

Does pstorage perform wear leveling?

If I have persistent data that will be updated semi-frequently, will pstorage wear out the flash memory? What steps should I take to be sure my data storage will remain functional over a long time with multple updates?

Parents
  • Hi Anthony,

    SDK module 'pstorage' is an abstraction layer over the persistent memory you are using. Assuming you are using the default flash included in the nrf51 solution, it is recommended that you clear the flash before updating it again. It is recommended you read the nrf51 reference manual for details.

    However, if your using nrf51 chip as a connectivity solution and you have alternate mechanism of storing the data, it depends on specification of this alternate mechanism and how you have ported the 'pstorage' module. Hope this helps!

Reply
  • Hi Anthony,

    SDK module 'pstorage' is an abstraction layer over the persistent memory you are using. Assuming you are using the default flash included in the nrf51 solution, it is recommended that you clear the flash before updating it again. It is recommended you read the nrf51 reference manual for details.

    However, if your using nrf51 chip as a connectivity solution and you have alternate mechanism of storing the data, it depends on specification of this alternate mechanism and how you have ported the 'pstorage' module. Hope this helps!

Children
No Data
Related