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

Fstorage erase/write event callback function not invoked

Hi,

 I am using fstorage api and for write and erase operations I am not receiving events. The event callback function is not invoked. I am using SDK 16.0.0.

In the sdk_confic.c the below macros are enabled

NRF_SDH_ENABLED

NRF_FSTORAGE_SD_ENABLED

NRF_SOC_ENABLED

Soft device is enabled in my application. I checked the map file nrf_fstorage.c, nrf_fstorage_sd, nrf_sdh_soc.c, nrf_sdh.c, nrf_sdh_ble.c  are included in the project and compiled. 

What am I missing in the setting? Could you help me to fix this problem?

Thanks.

 

Parents
  • Thank you.


    I am facing one issue. I am writing to two pages - address 0x77000 and 0x78000. First writing to 0x77000 and then 0x78000. For 0x78000 page write, I am not receiving events. Sometimes erase event happens, but not write. And I don't have any issues with 0x77000 write. I thought the fstorage queue size might be the problem. So I increased the queue size to 16. Still having issues. Can you think of any reason for this behavior?

Reply
  • Thank you.


    I am facing one issue. I am writing to two pages - address 0x77000 and 0x78000. First writing to 0x77000 and then 0x78000. For 0x78000 page write, I am not receiving events. Sometimes erase event happens, but not write. And I don't have any issues with 0x77000 write. I thought the fstorage queue size might be the problem. So I increased the queue size to 16. Still having issues. Can you think of any reason for this behavior?

Children
Related