Hi,
Now I test flashwrite example using nRF52832 with software version V12.2.0. I want to erase all memory pages with the code bellow:
for(pg_num=0;pg_num<=pg_total_num;pg_num++)
{
addr = (uint32_t *)(pg_size * pg_num); //pg_size=4096 Bytes
flash_page_erase(addr);
}
But the erase fails when pg_num=3. I also have tested the other pages and all of them can be erased successfully except page 3.
What is the problem? Why I cannot erase page 3? Looking forward to your reply.
Thanks!
Best Regards Ye Chengyang