This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to configure application properly?

I am using Keil uVision version 5.40. I load the application in my target board using
Keil ULINK2 Debugger. I can jump to my startup code. When I get to the following instruction:

bx __main()

I cannot single step into Keil's __main(). When I try stepping into it, code starts running.
When I hit stop execution, I end up in the following filename (RT_Agent.c):

void _sys_exit (int return_code) {
  /* Endless loop. */
  while (1);
}

My guess is I'm not configuring my application properly.

Please advise!

0