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

Example Heart Rate Service from SDK 9.0.0/Trouble inserting breakpoint on line 923 instruction APP_ERROR_CHECK(err_code)

Dear all, I had debugged example Heart Rate Service from SDK 9.0.0 without problems but I think we have a exception, when I insert a breakpoint on line 923 instruction APP_ERROR_CHECK(err_code) the debugger stops there, correct, but when entering Run or other debug command the debugger "crashes" trying execute HardFault_Handler on arm_startup_nrf51.s component. Is that correct or we assist a trouble on debugger/ARM relationship? Can we solve that?

Let me tell you some details of used tools.

Keil 5.5 Lite IDE Nordic PCA10028 Board J-Link Lite debugger nRF51422 SoC

Thanks for your help. Regards. Luis Tenedorio Globaltronic SA employee

Parents Reply
  • Hello Achim, thanks for the help, in fact there are some concernings when debugging with softedevice, now I know that one of best techniques is that of reported by Aryan, Nordic employee. There are also some people talking about using UART for ble applications debug but I think is tedious so I will continue using debugger and looking forward use trace data. Can you comment? Regards. Luis Tenedorio

Children
No Data
Related