Hi
I'm using sd_flash_erase to clear a page in flash. The event NRF_EVT_FLASH_OPERATION_SUCCESS comes to my sys_evt_dispatcher. After the event has arrived I continue with sd_flash_write.
Now two different things can happen, If the page was already empty, then the write operation works. I guess this is because there was no erase since it wasn't needed.
If the page wasn't empty then the write operation fails with return code: 0x00000010 which I interpret as NRF_ERROR_INVALID_ADDR.
Is there anything I need to do after the sd_flash_erase to make the flash accessable again?
Best regards /Håkan