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 am writing this for the ones who may encounter same problem.
You could forget to connect BOOT0 to GND. When it is left floating, MCU does not boot from flash.
View all questions in Keil forum