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

sd_evt_get hang by HardFault_Handler

Hello

I am using the nrf51822_Beacon application and SDKv7.1.0. have a issue when sd_evt_get function start executing, after imitatively program counter reach into HardFault_handler, it can not come outside the sd_evt_get().

Parents
  • Hi Rk Menat,

    When you add a break point and halt the CPU, other peripheral that the stack uses(timer, RTC, PPI, radio) still work and when you call a softdevice API, most likely you will receive a hardfault because the stack already crash.

    For debugging you can use UART or Segger RTT to printout the trace.

  • Hi Hung Bui,

    what is the right way for one step debug ?

Reply Children
No Data