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 Fixes In SDK v16.0.0 Question

The SDK v16.0.0 changelog indicates the following bug fixes:

 FDS: fixed two bugs where a power loss at very specific times during garbage
  collection could corrupt the file system, making FDS unable to initialize and return
  FDS_ERR_NO_PAGES on initialization.
- FDS: fixed a bug that prevented using the last word of a flash page to save a record.

How extensive are the changes related to these fixes? And would the fixes be easily back ported to SDK v15.2.0 and SDK v12.3.0 ?

Thanks,
Warren Chambliss
SRAM LLC
  • Hi Warren

    I have not looked too closely at these changes myself. But I assume it should be no big deal backporting these changes to 15.2 at least, by using a compare tool to compare fds.c and fds.h in SDK version 16 and 15.2 you should be able to see what has been done and make these changes yourself. Unfortunately, we haven't posted what these changes are, so you'll have to figure this out yourself.

    As for backporting to SDK v12.3.0 I think it will be a cumbersome process, as very much within the SDK has changed since then, and there won't be any guarantees that implementing these fixes there will do anything at all. So I wouldn't recommend going down that road. You're welcome to try if you'd like of course.

    Best regards,

    Simon

  • Thanks Simon for the reply.  We will evaluate the necessary FDS changes for SDKv15.2.0.

Related