This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

sd_evt_get, not able to receive after sd_flash.....

Dear Nordic people,

I am playing (6.0.0) with sd_flash_page_erase() and sd_flash_write(), seems to be working ok, Allways happens what I do expect, but I am not able to receive events from sd_evt_get(). I always get return as NRF_ERROR_NOT_FOUND. Same application is using bond_manager so I wonder if this can be the problem? Maybe the bond manager takes the events before me?

I would also like to get clean on following things:

a) I might time to time NRF_ERROR_BUSY, so it is ok if I just try it again? b) I have check the SD specs and I do expect that at some case I can get evt NRF_EVT_FLASH_OPERATION_ERROR, so might I try it again...I am expecting this can happen time to time during connection or advertising. c) it is completely safe to call this function during BLE connection, the only bad thing that can happen is that they can fail with some understandable code. d) I decided not to use pstorage module. But Bond Manager is used, any possible conflict? I know I am not interfering flash pages.

Thx very much, Jan

Related