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

FDS GC returns success but subsequent writes do not work until soft reset

  1. FDS uses softdevice API. SDK 14.0.0
  2. FDS writes are all successful for the same file id and different record keys until the flash is full
  3. fds_delete_record() is called for all the records with a certain file id one by one
  4. fds_gc() is called ( a few times). All calls return success via the fds event handler.
  5. Subsequent fds_record_write() fail with the error code for FDS_ERR_NO_SPACE_IN_FLASH
  6. Device is soft reset
  7. fds_record_write() fail with the error code for FDS_ERR_NO_SPACE_IN_FLASH
  8. fds_gc() is called with a success error code in the fds event handler. And then subsequent fds_record_write() complete successfully.

Thoughts?

Parents Reply Children
No Data
Related