Dear developers,
As we know, nrf51 has a maximum flash erase / write cycles of 20.000 times. So, in my code, I have implemented a counter that checks if max. flash write cycles has been reached. If so, my code will write in the next consecutive address.
At this point, just a question: Since I am using p_storage API, and the API uses a swap space to update the flash on every write, does the API write in different addresses in the swap page to avoid overwrittings?
In case of API always writes in the same addresses, could be possible update the flash without using swap?
Thank you.