Hi, I'm getting regular crashes with my app: SOFTDEVICE: ASSERTION FAILED.Using and NRF52832, SDK 15.3.0, SD 132 6.1.1, and Mesh SDK 3.1.0.With DEBUG defined, I don't really get more info: id=1, pc=148742, info=0.The last mesh log usually is something with TX (mostly net_beacon.c, 265, BEACON TX).One crash, I also had a log of getting event NRF_EVT_RADIO_SESSION_IDLE.I use the mesh SDK to communicate via mesh between nodes, to advertise iBeacon (100ms interval), and I use the scan callback. Next to that, I also use the SD to advertise service data.Parameters:
lfclksrc.source = NRF_SDH_CLOCK_LF_SRC;
lfclksrc.rc_ctiv = NRF_SDH_CLOCK_LF_RC_CTIV;
lfclksrc.rc_temp_ctiv = NRF_SDH_CLOCK_LF_RC_TEMP_CTIV;
lfclksrc.accuracy = NRF_CLOCK_LF_ACCURACY_20_PPM;
init_params.core.irq_priority = NRF_MESH_IRQ_PRIORITY_THREAD;
init_params.core.lfclksrc = lfclksrc;
init_params.core.p_uuid = NULL;
init_params.core.relay_cb = NULL;
Let me see if I can get a hold of a softdevice elf file. Then we could use the addr2line tool to see where the softdevice assert is occuring. I will get back to you soon.
What happens if you decrease the iBeacon advertising interval to say every 2 seconds? Do you get the assert then?
I tried setting TIMESLOT_END_SAFETY_MARGIN_US to 1000. In that case, I still quite often get the FDS timeouts on boot, but it doesn't result in the event NRF_EVT_RADIO_SESSION_IDLE, and a softdevice assert anymore.
Does that mean the 100 is too tight? How do you determine the correct value?
Have you tried using the addr2line tool? How are you doing the iBeacon advertising? Could you upload some code so we can double check how you are doing this? Are you using the softdevice to do the iBeacon advertising?
I tried, but only get ??:0 Don't you need the softdevice elf for that address?
Here you can see the code, but as i said, i had the crashes even without the mesh doing the advertising. The softdevice is also advertising a different payload.
So far, i didn't get a crash yet with the margin set to 1000, while both mesh and softdevice are advertising.