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

pages_init() in fds_init() returns NO_SWAP

Hi,

I use FDS library of SDK13.0.0.

As wrote in the title, pages_init() returns NO_SWAP. Of course, fds_init() returned FDS_SUCCESS initially, so this problem has happened from a certain time.

My FDS settings are below.

・FDS_VIRTUAL_PAGES 5

・FDS_VIRTUAL_PAGE_SIZE 1024

・use fds for application data and peer manager

・application data is consist of 39words 176words2 197words 147words7 37words 58words

・I don't use fds_record_update(). Instead, I call fds_record_delete() and then call fds_record_write() to avoid the case that powering off during fds_record_update() may cause the record which has to be deleted not to be deleted.

Do you know what conditions causes this problem?

Thank you.

Related