Trying to get FDS working with the latest SDK 16.0.0 and Softdevice S132 7.0.1. The problem is that FDS event handler triggers only when softdevice is disabled. Here is the snippet:
I have FDS_VIRTUAL_PAGES set to 3 in my sdk_config.h. I erase the chip, flash the softdevice, then flash the application and see the following log output:
It seems that FDS initializes one page at a time. After 3 resets I get past FDS initialization and get NRF_SUCCESS code returned from fds_record_write function. However, FDS_EVT_WRITE is not triggered. If I disable softdevice, everything goes smoothly and I see the following output:
I've seen similar posts regarding SDK 14 with the same behavior but the solution there didn't work for me:
https://devzone.nordicsemi.com/f/nordic-q-a/29089/nrf_fstorage_sd-not-receiving-soc-events
However, the missing nrf_sdh_soc.c which was the cause of the issue is already included in my target.