I want to erase selected pages from the NRFflash memory (Not whole flash).
I have defined one function for NRF memory erase. In that, I have followed following sequence of operations:
for (Number of page erase) {
- Set NVMC mode: Erase
- Wait for ready flag
- Set start address of erase page
- Wait for NVMC ready flag
}
Sometimes, I have observed that (by reading through nrfjprog.exe) page content was not erased for few pages. While doing this operation the BLE radio was in the off state.
Am I missing any condition here?