Skip to main content
DOwts.1
Associate
September 8, 2020
Solved

Firmware download works, but debugging is not working

  • September 8, 2020
  • 1 reply
  • 775 views

Hello, 

I'm trying to debug an custom board with STM32L010C6 and STLINK V2. The firmware download seems to work fine, but the debugging is not working. The execution stops here:

0x1FF00220 4800   LDR   r0,[pc,#0] ; @0x1FF00224

I've already tried to break at SystemInit() and main(), but they are not reached.

It seems to be a problem in my board, because the same project works fine debugging on a Nucleo MCU, but I cannot yet figure out the problem.

I'm working with Keil uVision 5.31.0.0

¿Any ideas please?

Thank you

This topic has been closed for replies.
Best answer by DOwts.1

I already figured out the problem, Boot0 was not properly connected to ground.

1 reply

DOwts.1
DOwts.1AuthorBest answer
Associate
September 8, 2020

I already figured out the problem, Boot0 was not properly connected to ground.