Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

FDS writes while performing garbage collection.

I'm testing this with SDK 15.2 on an NRF52832, with SD132.

The documentation says: "When the space is exhausted, write requests return the error FDS_ERR_NO_SPACE_IN_FLASH, and you must run garbage collection and wait for completion before repeating the call to the write function."

But if i call fds_record_update(), immeditaly after calling fds_gc(), it will return FDS_ERR_SUCCESS. Has this behaviour changed, while documention was not? Is it safe to write before GC is done?

Parents Reply Children
No Data
Related