Hi,
I am working with NRF52840 where I use the FDS library from the nRF5 SDK, currently SDK v15.3.0.
My issue is that I have seen my hardware suddently halts/hangs due to faillure to initialize FDS under boot. The function "fds_init" returns the error NO_SWAP even though a SWAP page is defined. My hardware is thereafter "bricked"/non-working and it is necessary to format the Flash memory in the NRF5.
I have searched this support forum and Google, and found a similar issue reported here:
My issue seems to be the same as the one mentioned in the link just above.
When reading the release notes from the newest version of the nRF5 SDK v. 17.1.0, I have found the following shown below.
My question is therefore if someone can confirm that SDK v. 17.1.0 solves my issue? - and the solution for me is to update the SDK v. 17.1.0.
Thank you in advance!
Regards,
Ulrik
** FDS ** - Fixed a bug that would prevent re-initialization when fds_init() returned FDS_ERR_NO_PAGES or FDS_ERR_NO_SWAP (NRFFOETT-2552). - Fixed a bug in FDS that could occur if the device lost power during garbage collection, that would result in the swap page being incorrectly tagged, and fds_init() returning FDS_ERR_NO_SWAP on initialization (NRFFOETT-2506).