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

Doubts about fstorage in sdk 16.0

Hello,

We are using nrf52832 with sdk 16.0, for a particular reason we are storing some variables in flash storage, i have some question regarding that 

  1. what is the time for erasing, read and write cycle for flash storage?
  2. it shows that 10 000 cycle is the endurance of flash if I write and erase a variable greater than that what will happen
  3. Why is fstorage shown as experimental

expecting a fast response

Parents Reply
  • Yes, some basic flash wear leveling(https://en.wikipedia.org/wiki/Wear_leveling) will help a lot. 

    The most basic routine is to always write sequentially to flash and never to the same address over and over again. Wait until you've filled a page before you erase it. Use as many pages as you can, and distribute the number of erase cycles across them. 

    More advance usage is to run error-checking checksums on pages in order to identify pages with memory corruption and disable their use. You can also run error-correcting algorithms to extend the lifetime of a page instead of disabling it, alternatively blacklist certain memory addresses that are corrupt. 

Children
Related