This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

stuck in wait_for_flash_ready()

I'm working on a NRF52832 project with SDK V15.2, using S132 Softdevice. before connecting, nrf_fstorage_write/nrf_fstorage_erase/sd_flash_write/sd_flash_page_erase all are work perfectly. But once connected with a device, all the operations to flash can't work. it'll stuck in wait_for_flash_ready, return of nrf_fstorage_write & nrf_fstorage_erase  are NRF_SUCCESS.  If I call nrf_sdh_disable_request() before  nrf_fstorage_write & nrf_fstorage_erase, the operations can be done correctly.  Never goes into fstorage_evt_handler() after connected to a device.

Please help me figure out this issue, thanks in advanced.

Parents Reply
  • I see. It should not be a problem then, at least not with writes. Page erase might be tough, though (maximum time to erase a flash page is  89.7 ms, and there needs to be some margin when scheduling).

    Do you see problems with only writes also, when the connection interval is 100 ms? Can you upload your code so that I can look at it?

Children
Related