I am using the STM32-Discovery board(ST-Link debugger chip
connected via SWD interface (no JTAG) to STM32F100VB 32 bit CortexM3
processor) with uVision4(evaluation version, though code is way under
the 32k limit).
I can look at memory & registers, and debug & set
breakpoints in the disassembly window, but can't debug or set
breakpoints in the regular source code windows.
I also can't program with uVision but this is not a problem. Just
using the ST-Link utility program instead.
Does anyone know what would be causing this?
I found a solution for this problem. I disable the option
"Download to Flash" in the debug section. And when I need to debug, I
first download the code, and then press debug button. I think this is
a bug of the IDE.
Try this, it works for me.
View all questions in Keil forum