Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

Fatal Error

Using the debugger in SEGGER Embedded Studio and two nRF52-SDK circuit boards, I am stepping through code from the nRF5_SDK_17.0.2 examples.

Very often I end up
in file app_error_weak.c,
in function __WEAK void app_error_fault_handler(uint32_t id, uint32_t pc, uint32_t info)
at macro NRF_BREAKPOINT_COND; // On assert, the system can only recover with a reset.

Why is that?

Jan Kinander



Parents Reply
  • Now I have read the five related discussions below, but I can't see that neither of them correspond to my problem. Which is: after a few single-steps I end up in the HardFault trap in function app_error_fault_handler(), passing "SOFTDEVICE: ASSERTION FAILED" down to NRF_BREAKPOINT_COND. The call stack tells me nothing, just two anonymous addresses.

    Are there any real-time processes on the nRF52-DK that are intimidated by my single-stepping?

Children
Related