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

FDS_ERR_OPERATION_TIMEOUT with fds_record_update

Hello,

I'm receiving a FDS_EVT_UPDATE (FDS_ERR_OPERATION_TIMEOUT) in my fds event handler. My update didn'it work but i don't know why. 

If someone has already faced this issue, feel free to share what you 've done to solve it :)

Thank you in advance,

Best regards,

Aurélien

Parents
  • Hi,

    If you are using the SoftDevice actively at the same time that you are using FDS, you may experience that FDS operations cannot be scheduled between all the SoftDevice operation. In that case, the FDS operation will time out. Other SoftDevice activities are typically prioritized over flash operation, see SoftDevice timing-activities and priorities.

    Typically, a timeout happens because of scanning or advertising, where the interval is so short there is not enough time for the FDS operation in-between the advertising or scan events.

    You should find quite a few other threads here on DevZone on the topic of FDS and SoftDevice usage.

    Regards,
    Terje

  • Hello @tesc,

    Thank you very much for the help, i have finally found what was the issue. Actually, it was coming from FDS_VIRTUAL_PAGES  that was set at 128. It was much too high and it seems it was the cause of the ramdom behavior i was observing. i wanted to reserve 128kB so i just needed to set FDS_VIRTUAL_PAGE at 32.

    When the issue happened, the BLE was not started and the timeout was occuring after a certain number of fds_record_update and i really think it was coming from the FDS_VIRTUAL_PAGES wrongly set. 

    Now all is working fine.

    Best regards,

    Aurélien

Reply Children
No Data
Related