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().
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().
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 RK Menat, You can debug as long as you don't call further sd_* API. The BLE connectivity will be broken anyway if you add a break point (because the softdevice stops). It's suggested to use UART or Segger RTT to printout debug trace or you can add a breakpoint and step until another sd_* API call.
Hi RK Menat, You can debug as long as you don't call further sd_* API. The BLE connectivity will be broken anyway if you add a break point (because the softdevice stops). It's suggested to use UART or Segger RTT to printout debug trace or you can add a breakpoint and step until another sd_* API call.