Hi.
I have an issue that, If I power off Master and do save flash at Slave side together, the nrf_fstorage_is_busy(p_fs) return value always true .
When BLE is connectting, or is connectted, do save flash operation have no issue. Only power off Master will lead to the problem.
I can't understand how this occur, can you help to check this?
----------------------------------------------------------
step:
1.use 2 nrf52840-DK to test BLE
2. 1 board as Master(demo ble_central/ble_app_uart_c ) and another as Slave,
3. debug Slave.
4. link Master to Slave via BLE, power off Master manually(switch), together do save flash(nrf_fstorage_write(), len maybe 100bytes) at Slave side
5. the Slave will hung up, because the nrf_fstorage_is_busy(p_fs) return value always true. My code is like below:
ret_val = nrf_fstorage_write(p_fs, page_addr, num_pages, p_param);// this return value is 0
while(nrf_fstorage_is_busy(p_fs)); // it will hung up here
Other information:
softdevice version: s140_nrf52_7.2.0_softdevice. or s140_nrf52_6.1.1_softdevice.
nordic SDK version: nRF5_SDK_15.3.0_59ac345 or nRF5_SDK_17.1.0_ddde560
BLE configuration:
#define MIN_CONN_INTERVAL_TICKS MSEC_TO_UNITS(20, UNIT_1_25_MS)
#define MAX_CONN_INTERVAL_TICKS MSEC_TO_UNITS(75, UNIT_1_25_MS)
#define SLAVE_LATENCY 0
#define CONN_SUP_TIMEOUT_TICKS MSEC_TO_UNITS(4000, UNIT_10_MS)



