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

Can't insert breakpoints by button and in C

Hi!

I start to learn STM32 (STM32F103GB on MCBSTM32 board, example project "blinky") and have faced with following problem:
I can't insert breakpoint in C and "insert/remove breakpoint" button on Debug Toolbar always disabled.
The only way to define breakpoint is double-click on grey window bar in disasm window.
Program executed, breakpoint in disasm occurs... but what can I do to use breakpoits in C?

Regards,
Ilya.

Parents
  • It's so strange... I try to use ST-LINK as in-circuit debugger and it's correctly work with JTAG interface. But gives errors with SWD when I try to enter a debug session. These errors displays in windows with "OK" button only. First: "internal command error", second: "error while attempting to write 16 bytes to 0x1ffff800". And at result situation like with J-Link - program code executed, breakpoints avaliable only in disasm window. Printscreen with errors and debugger options at link:
    www.flickr.com/.../53850447@N05/?saved=1

Reply
  • It's so strange... I try to use ST-LINK as in-circuit debugger and it's correctly work with JTAG interface. But gives errors with SWD when I try to enter a debug session. These errors displays in windows with "OK" button only. First: "internal command error", second: "error while attempting to write 16 bytes to 0x1ffff800". And at result situation like with J-Link - program code executed, breakpoints avaliable only in disasm window. Printscreen with errors and debugger options at link:
    www.flickr.com/.../53850447@N05/?saved=1

Children