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

Debug Problem with STM32L011

I want to debug my source code with µVision V5.29

when I start the Simulator, the program starts at the correct program address (0x8001F5C) and the debugging is ok.

But when I start the hardware debugging with the STLINK-V2 the program starts at wrong address ( 0x1FF000FC).

I have no idea what happen there. Does anybody have any idea what's going wrong?

Best regards Reinhold

Parents
  • How is this done, i have a similar problem. When i debug my C++ program, the debug pointer doesn't reach main.cpp but gets stuck in the "startup_stm32f407xx.s" file at line:    LDR    R0, =SystemInit.
    Btw i'm using a Discovery board with the STM32F404VGT6 MCU.

    Thanks.

Reply
  • How is this done, i have a similar problem. When i debug my C++ program, the debug pointer doesn't reach main.cpp but gets stuck in the "startup_stm32f407xx.s" file at line:    LDR    R0, =SystemInit.
    Btw i'm using a Discovery board with the STM32F404VGT6 MCU.

    Thanks.

Children
No data