I'm using nrf52 with SDK version 12.0.0. I'm trying to use the FDS for my application. I used one of the existing fds example from link fds_example.
With this example, I call the function "fds_test_init" which in turn calls "fds_init". After debugging, I reached to a point where the function "sd_flash_write" is called and this function declaration is taken from the place "/nRF5SDK/components/softdevice/s132/headers/nrf_soc.h".
It is at the call of this function that the controller hangs with message "Starting target cpu" in the console window.
Below is the definitions of FS & FDS macros:
- FS_QUEUE_SIZE = 4
- FS_OP_MAX_RETRIES = 3
- FS_MAX_WRITE_SIZE_WORDS = 1024
- FDS_OP_QUEUE_SIZE = 4
- FDS_CHUNK_QUEUE_SIZE = 8
- FDS_MAX_USERS = 3
- FDS_VIRTUAL_PAGES = 3
- FDS_VIRTUAL_PAGE_SIZE = 2048
Could anyone support me here to understand why the controller hangs at the call of the function "sd_flash_write"?
Thanks in advance.