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

How do I find out where the program was before entering error loop in Keil uv5?

Hello, per the question, how?

Is there certain register in the nrf514xx devices which can be called up in debug mode & used for such a purpose? By that I mean:

place a breakpoint at the very beginning of my error_loop function.

Once it enters the error_loop, it will inevitably hit the break_point and stop, at which point I can, not only be able to view the current PC counter value, but also what its previous value was.

Hope someone can help me.

Related