S130 Softdevice hard fault info request

I am getting a softdevice hard fault occasionally, on fully enclosed devices with no debugger port access. 

Where can I find info on potential causes of this fault?

nrf51822, Softdevice S130 "s130_nrf51_2.0.1_softdevice.hex", SDK 12.2

ID: 0x0000 0001 

PC: 0x0001 04AE

Info: 0x0000 (it seems the prior software developer was only saving 16 bits for this field). 

  • Hi,

    To elaborate: I do not suspect an error in your code, but rather a known bug in the SoftDevice. It may however be possible to mitigate the bug through changes in the application. It may be worth trying to send less data per connection interval, and/or to increase the connection interval.

    If what you see is the issue that we think it may be, then you will see (very seldom, but sometimes) that if you send more data than what fits for one connection event, there might be a glitch in the scheduling of the following connection event that triggers an assert. It will happen randomly at very low probability, similar to what you experience. (In your case, two asserts for 24 connections running for 5 days sending data every 10 seconds. If my calculations are correct that corresponds to around 2 ppm.) Since this is a timing related issue, any changes in code that affect timing in the sending of data might change the characteristics of the issue.

    Regards,
    Terje

Related