We have made 2 partition of Internal flash. One is for running Application and Other for storing some configuration. I am trying to erase the page of 2nd partition, and it is not working properly.
2nd partition Id is storage.
We have made 2 partition of Internal flash. One is for running Application and Other for storing some configuration. I am trying to erase the page of 2nd partition, and it is not working properly.
2nd partition Id is storage.
Hello,
Since it is working the first time, I suspect it might be due to incorrect handling of the erase size or misalignment. Please ensure that each erase operation targets a full page (4096 bytes) aligned to the page boundary. You should perform the erase operation on a page-by-page basis. For the nRF52840, it is divided into 256 pages, each 4 kB in size. See product specification page No:22
Kind Regards,
Abhijith
It means need to erase 4096 bytes completely and can not erase only one page 256bytes at a single execution?
It means need to erase 4096 bytes completely and can not erase only one page 256bytes at a single execution?