Good day Noric Team,
I am using the SDK16 with softdevice 140. I use the fds library to save configuration information in the nrf52840 together with the peer_manager enabled.
I have a strange behaciour that leads me to think that is a memory issue: when writing new config data into the flash, application get stucked and the last messagew shown in the debugger is :
<info> peer_manager_handler: Peer data updated in flash: peer_id: 8192, data_id: Invalid Role, action: Update
Even thought there is not action in the peer_manager. So really my question is, how can i guaranteed that the memories don'T get messed up?
In the app_config I have:
#define FDS_VIRTUAL_PAGES 13 // configuration required by application
#define FDS_VIRTUAL_PAGE_SIZE 1024
#define FDS_VIRTUAL_PAGES_RESERVED 3 // Since i believed this could be used by the peer_manager
Is there any obvious error that I'm making?
How can i guaranteed that each module has it's proper space in the flash?
Thank you in advance!