nRF52: Write/erase flash cycles confusion

Hi,

I have a small question regarding flash write/erase cycles and I was unable to find a clear answer.

I can see in NRF52 specs:

  • Flash write/erase cycles: 10 000.
  • Amount of writes allowed in a block between erase: 181

I would like to know if 10000 is related to write + erase or only erase.

I means, if I have below scenario:

  • erase page1
  • write page1 (10bytes)
  • write page1 (+10bytes)

How many flash cycle I will consume ? 1 or 3 ?

Thank you,

Thierry.

Parents
  • Without looking at the spec, my quick reply is that in general, you need to consider the erase limit. So in your case, it is 1. Note that, you might still get correct result (a read from an address returns the most recent write on that address) even after exhausting the erase limit, however the flash vendors do not guarantee that. Also, I don't think the limit would be 10000, that's quite low endurance, it should be around 100000 or more.

Reply
  • Without looking at the spec, my quick reply is that in general, you need to consider the erase limit. So in your case, it is 1. Note that, you might still get correct result (a read from an address returns the most recent write on that address) even after exhausting the erase limit, however the flash vendors do not guarantee that. Also, I don't think the limit would be 10000, that's quite low endurance, it should be around 100000 or more.

Children
Related