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

Unable to step through code STM32L433CCUx

This was working fine on a development board, download to flash is also enabled.
I started a new project the same way, only difference is really that I'm now using dedicated ST-LINK/V2 programmer, firmware is up-to-date.
When I go to debug, I can only step through assembly code.
Looks like it never enters main. I can't even get a breakpoint to catch in Reset_Handler, LDR R0, =SystemInit

Strangely trying the same thing in system workbench works just fine.

Btw. it would help if this forum would let me upload some screenshots.

Parents
  • Check the address it is presenting you, if 0x1FFF0000 or something other than 0x08000000 based may be executing from ROM, make sure BOOT0 pin is pulled LOW on your board.

    Make sure the check boxes to download/verify
    Check "Load Application at Startup"
    Check "Update Target before Debugging"

Reply
  • Check the address it is presenting you, if 0x1FFF0000 or something other than 0x08000000 based may be executing from ROM, make sure BOOT0 pin is pulled LOW on your board.

    Make sure the check boxes to download/verify
    Check "Load Application at Startup"
    Check "Update Target before Debugging"

Children