sd_flash_* operations no longer working after SDK(14.2) -> (15.2) and SD(5.1) -> (6.1.1) migration

Hi there,

I'm in the midst of migrating between SDK14.2->15.2, and SD 5.1->6.1

I'm calling sd_flash_write() and sd_flash_page_erase() before enabling the SoftDevice with no issue, however, once I enable the softdevice these functions return NRF_ERROR_BUSY indefinitely. This happens even though I have not started advertising. I have tried calling it 10,000 times with a delay of 1ms between tries, and still always get NRF_ERROR_BUSY.

I would prefer to use the SoftDevice directly (as opposed to Fstorage) to leverage it's async properties.

Do you know why this method used to work where now it does not? 

Attached is my sdk_config.h if that helps

Thanks,

Matthew

Related