I am running into an issue with the Fstorage Library with SDK14 that I did not have using SDK12.
When I am not connected to BLE I can erase and write flash with no issues.
When I am connected to BLE I am now getting timeouts errors when I try to erase 1 flash page. (see code below, I get ERR=13)
error = nrf_fstorage_erase(&fstorage, fstorage.start_addr, 1, NULL);
My BLE is only a simple NUS peripheral. I would think there should be plenty of time for the soft device to erase the flash, right?
Is there a way to change BLE settings so I can get consistent erases and flashes? Perhaps higher connection intervals?
My handler and my sdk_config.h settings are below.