cancel
Showing results for 
Search instead for 
Did you mean: 

How to connect ST-Link/V2

Ken Inoue
Associate III
Posted on July 02, 2017 at 10:59

Thank you for your patronage. 

I'm Japanese. 

I connected ST-Link / V2 as shown below.  

0690X00000603rrQAA.jpg0690X00000607KqQAI.png

 However, an error was displayed as shown in the figure below. I translate this into English. 

�Fatal error : ST-Link: Failed to identify the target MCU. Please check the selected hardware and interface. Session aborted.''

0690X00000607V7QAI.png

#st-link/v2
20 REPLIES 20
Posted on July 02, 2017 at 17:32

Thank you for your advice. My target MCU supplied voltage is 3.3V. Your advice has been of great help.

Posted on July 02, 2017 at 17:45

Read again user manual chapter #4 of UM1075

Table 4. Than under table you could see.

'1. The power supply from the application board is connected to the ST-LINK/V2 debugging and programming

board to ensure signal compatibility between both boards.' How do you think, what does it mean?

________________

Attachments :

Screenshot_20170702-182712.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HyZk&d=%2Fa%2F0X0000000b9k%2FPbXNtU6llVjk7GmT.k7WSDUF34YXjvfFmzGP8sq3a4U&asPdf=false
Posted on July 02, 2017 at 17:54

Usually the 3.3v source on the nucleo is coming from the on board usb st link v2... Please make sure the target mcu has proper supply source. 1.5v is not an operating voltage.

Posted on July 03, 2017 at 05:44

Hi Inoue-san,

Try this.

ST-LINK VDD (Pin 19) -> Nulcleo 3V3 (SB2 OFF) or JP6(IDD)-VDD side (See UM1724)

STK-LINK VAPP (Pin 1,2) -> same as above.

NOTE: ST-LINK VDD is provided via 10 ohm.

VDD provides 3.3V from the ST-LINK side.

VAPP is monitor the target VDD.

Posted on July 03, 2017 at 12:13

Thank you for your reply. Your reply was helpful. But the problem is not solved.

I followed your advice as shown in the figure below.

0690X00000607LyQAI.png

But the same error appeared. 

0690X00000607N1QAI.png

I found the following description in UM 1724.

0690X00000607MSQAY.png

So I changed the figure below. 

But the same error appeared. 

0690X00000607JFQAY.png
Posted on July 03, 2017 at 12:18

Sorry for late reply. It is difficult for me. I'll think about it.

Posted on July 03, 2017 at 12:23

Sorry for late reply. 

I made sure the m

y target MCU supplied voltage is 3.3V.

Posted on July 03, 2017 at 14:11

Hi Inoue-san,

You should connect both VDD and VAPP to 3V3.

Ken Inoue
Associate III
Posted on July 04, 2017 at 04:48

Thanks to everyone, I was able to solve this problem. Thank you very much.

Posted on July 04, 2017 at 04:48

Thanks a million!

External ST-Link does works!

I'm very happy