cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging error while trying to program STM32l031k6u6 microcontroller

adithya123
Visitor

I am using an ST-link / V2 as the debugger and the microcontroller I am using is STM32l031k6u6. I am trying to debug and download a program into the microcontroller but I am facing this error. I have tried to debug and download using IAR embedded workbench as well but to no avail. 

I would be obliged if anyone can help me out. I did connect the VDD, GND, NRST, SWCLK, SWDIO pins correctly.Screenshot 2025-08-07 192619.png

 

 

Screenshot 2025-08-07 192121.pngScreenshot 2025-08-07 192221.png 

Screenshot 2025-08-07 191051.png

2 REPLIES 2
Immr_Vr_HW
Associate

How did you connect the STM with ST-LINK?

TDK
Super User

TDK_0-1754595771885.png

The board needs powered. 0.67 V is not enough.

The programmer typically doesn't provide power, but it is available on pin 19 if the voltage is acceptable. Pins 1+2 are inputs to the programmer.

If you feel a post has answered your question, please click "Accept as Solution".