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

NRF_FAULT_ID_SD_ASSERT on debugger resume

Using Ozone v2.54, if i halt program execution and then resume again, I get a NRF_FAULT_ID_SD_ASSERT fault, with info = 0, pc = 0x142CA.

softdevice: s132 v4.0.2

The error disappears if advertising isn't started. Any clues as to what could be causing this would be helpful

  • Hi,

     

    This is to be expected.

    Halting during debugging stops the CPU, but all peripherals around are still running, like the RTC, timers, radio, and so forth.

    What happens when you hit "resume" in your debug session is that all these events occur at the same time, and when the softdevice figures out that the timing and/or ordering of events are not-OK, it asserts.

    If the softdevice does not do anything, there's no events occurring in the background either, so halt/resume would then work.

     

    Kind regards,

    Håkon

Related