cancel
Showing results for 
Search instead for 
Did you mean: 

Why do I get this error when I try to connect STM32CubeProgrammer via ST-LINK to STEVAL-PTOOL2V1

ADani.2
Associate III

Why do I get this error when I try to connect STM32CubeProgrammer via ST-LINK to STEVAL-PTOOL2V1

15:22:48 : STM32CubeProgrammer API v2.5.0

15:22:50 : ST-LINK SN : 56FF66065182525038381287

15:22:50 : ST-LINK FW : V2J37S7

15:22:50 : Board : --

15:22:50 : Voltage : 0.61V

15:22:50 : Error: No STM32 target found!

9 REPLIES 9
TDK
Guru

> 15:22:50 : Voltage : 0.61V

Doesn't seem like your board is powered. This value should be closer to 3.3V.

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

Hello,

How do I connect ST-LINK to STEVAL-PTOOL2V1. I tried to connect J10 with the 20 pin flat cable I got with ST-LINK, but it failed.

Thank you,

ADani.2
Associate III

Hello,

How do I connect ST-LINK to STEVAL-PTOOL2V1. I tried to connect J10 with the 20 pin flat cable I got with ST-LINK, but it failed.

Thank you

TDK
Guru

Did you power the board via J4/J5?

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

I connected 24V power supply to J4 J5, I used DVM to measure 12V on C38, and 3.3V on C40.

Thank you,

I'm not sure then. The message indicates the debugger does not see the 3.3V it should see on the chip, which would explain why it can't see it. Maybe probe the relevant pins on J10 to ensure the 3.3V is there.
I would assume the pinout for J10 is compatible with the pinout on any official ST-Link 20-pin connector, but you may want to check for compatibility there as well if you're otherwise stuck.
If you feel a post has answered your question, please click "Accept as Solution".

OK, Solved.

YKim.6
Associate

ADani.2

How did you fixed?

I am using STEVAL-PTOOL1V1 got a same error.

21:44:02:994 : STLinkUSBDriver.dll loaded

21:44:12:978 : STLinkUSBDriver.dll loaded

21:44:12:982 : STLinkUSBDriver.dll loaded

21:44:12:983 : ST-LINK SN : 51FF70066684565235480387

21:44:12:984 : ST-LINK FW : V2J37S7

21:44:12:987 : Board    : --

21:44:12:987 : Voltage   : 1.55V

21:44:12:991 : Error: No STM32 target found!

I powered the board by J1 and J2. Used 20 pin ribbon header connect the board to ST-LINK V2.

The voltage is less than 1. So I connected 1,3,5,7,9 pins to ST-Link. Still the STM32 target is not found.

Hello,

I looked into schematics, and J10 has 20 pins as my ST-LINK V2. But not the same pinout.

I connected J10/1 to ST-LINK/15 J10/3 TO ST-LINK V2/7, J10/5 TO ST-LINK V2/4, J10/7 to ST-LINK V2/9, J10/9 to ST-LINK V2/1 .