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

Flash read, write and erase limitations

Hi,

I am using sdk12.2.2 and customised nrf52 boards. I am storing 9000 records with 7 bytes each in flash.

After sometime I am getting buffer space full error and I am deleting the records by calling fds_gc.

Now my challenge is calling this doesnt guarantee full flash erase. Few records are always left unerased. What is the max read , write and erase cycle?

Thanks,

  • Hello,

    Do you delete the records before you call fds_gc()?

    fds_gc() doesn't actually delete the records, but it will free up the memory of the records already deleted. 

     

    The flash has a read/write cycle guarantee of 10 000. That means you can write it 10 000 and erase it 10 000 times.

    Please note that this does not mean that it will stop working the 10 001st time. but you might (!) start seeing that some bits are acting weird after this point. But you may read/write 50 000 times before seeing this. It varies from chip to chip.

     

    Best regards,

    Edvin

Related