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

debug session doesn't stop at main

Hi

I am trying to debug the "ble_app_hrs" example from SDK 6.1.0 (using keil IDE), on 51822 chip. The IROM1 is defined to start at 0x16000 (meant to be used with softdevice). when I start the debug session, the debugger doesn't stop at "main" (even with a breakpoint). The only solution I have found is to set IROM1 to 0x0, and than debugger stops at main and I am able to single step.

Is there a way to debug without changing IROM1 definitions?

Related