cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L010K4TE x ST-Link-V2

fernandobelissimo
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

3 REPLIES 3

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
Up vote any posts that you find helpful, it shows what's working..
fernandobelissimo
Associate II

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.

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