Skip to main content
Associate
September 2, 2024
Solved

STM32L010K4TE x ST-Link-V2

I'm trying to use st-link v2 to program an STM32L010K4, but the stm32cube programmer doesn't identify this microcontroller (Error: No STM32 target found). The st-link is working, because I can program another STM32 without any problems. I appreciate your opinions.

This topic has been closed for replies.
Associate
September 19, 2024

After several attempts, I discovered the solution: I just had to connect VDD to VDDA... it was a "guess", but works.

3 replies

Tesla DeLorean
Guru
September 2, 2024

Perhaps the part on your board isn't viable?

Make sure you have it powered, and the ST-LINK's VTarget voltage is on Pin 1 of the 20-pin header, and the STM32 Cube Programmer correctly reports this voltage.

For CM0(+) devices keep the connection speeds relatively low, ie no more than a couple of MHz

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Associate
September 3, 2024

I am very grateful for your attention, however, I have already made these checks. Some information: I used a j-link that had tested an STM32F103 (which worked perfectly) and the stm32L010k4 is not identified. In my circuit I verified that NRST is always equal to 0 (is the mcu reset??), I placed a 4k7 resistor for pull up, but pin 4 remained at 0. ST#@CUBEPROGRAMMER DISPLAYS THE FOLLOWING ERROR MESSAGE: Database cant be found ...STM32_Prog_DB_0xfffxml.

fernandobelissimoAuthorBest answer
Associate
September 19, 2024

After several attempts, I discovered the solution: I just had to connect VDD to VDDA... it was a "guess", but works.