2024-09-02 12:07 PM - last edited on 2024-09-02 01:26 PM by Tesla DeLorean
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.
Solved! Go to Solution.
2024-09-19 11:06 AM
After several attempts, I discovered the solution: I just had to connect VDD to VDDA... it was a "guess", but works.
2024-09-02 01:28 PM
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
2024-09-03 10:40 AM
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.
2024-09-19 11:06 AM
After several attempts, I discovered the solution: I just had to connect VDD to VDDA... it was a "guess", but works.