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

FDS Write problem

Hello, I am using SDK 12.01 with softdevice (BLE application) and I want to write large data over flash. I am stuck with various issues.

  1. When I try to write the data, FDS returns success. But write_flag is never raised and nothing gets written over flash. ( I have designed my code based on github example github.com/.../nRF52-fds-example) I have BLE ADVT ongoing but I tried the code with advt stopped just before writing to flash. Still it fails. This is currently my prime concern.
  2. I want to write large data ( ~400 KB, not at once) and read it ( at once) and send it over BLE. What can be the best way to implement this?

Edit: I tried using ble_flash for simple write with radio not active (m_radio_active=0). It generates hardfault at while (NRF_NVMC->READY == NVMC_READY_READY_Busy)

Related