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

Initalizing FDS in mesh sdk

Hello,

I have been recently trying to initialize fds in my application, through the assistance of the given flash_fds examples in the SDK (15.3).

Currently, I'm coming across 2 separate issues, that are stopping me from progressing:

1. I initialize the FDS, it works well, reaches my registered event handler, and seems to be working fine. However, when I reach the function nrf_mesh_init inside mesh_stack_init, I get a mesh assert inside flash_area_valid. Seems like the metadata doesn't align with existing metadata which I assume exists due to fds_init.

2. After moving fds_init to run after the mesh stack init, mesh stack init doesn't fail, but another error occurs.

For some reason, the application won't go through the fds_init function, and will stop as if I hit a breakpoint. The code cursor will point to address A60 with the instruction being ldr r3.

I read somewhere that this is a softdevice assert.

How do I avoid these errors?

Thanks in advance!

Parents Reply Children
No Data
Related