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

Why does my debugger act strange?

Hi,

I'm using the MCBSTM32E board with a STM32F103ZE uC with the ULINK-ME interface.

The debugger can be set to run to main and then it nicely stops at the first code to be execute by the main() function and with each next step nicely steps through the main function.

However, if the run to main option is switched off then the debugger nicely stops at the first instruction in the Reset_Handler. It their loads the address of main() and then branches to main(). But after executing the branch instruction the debugger STOP button is highlighted and nothing happens. I expect the debugger to step through the main() function.

What am I doing wrong or what do I misunderstand here?

Henk

0