cancel
Showing results for 
Search instead for 
Did you mean: 

st link v2 red led is on

osman2
Associate II

Hello
The LED on the top link is red. Is it a problem with the connection or the driver? I can't figure it out. Can you help me?

14 REPLIES 14

@osman2 wrote:

Do I need to give 3.3v from pin1 of the cn3 socket?


Again, see the User Manual - it tells you what connections you need to make between the ST-Link and your Target:

AndrewNeil_3-1730980463806.png

 

CN3 pin 1 (and pin 2) connects to the power supply (VCC) in the Target - it is an input to the ST-Link.

The voltage reported in the Log is what the ST-Link measures at this input.

osman2
Associate II

Dear Andrew

Thank you in advance for your answer.

I have an electronic board I have an electronic board I have a cpu using stm32f103

according to the connection in the socket in the following picture I am connecting to the cn3 socket according to the photo I am connecting 1=1--2=3---3=9---4=7--- 5=20

I can't find where I went wrong.

 

 

a1.JPG

Again, look at the User  Manual:

AndrewNeil_0-1730987997980.png

 

Plus you need a GND connection - any one will do.

 

 

Since you are only using 2 pins for debug (plus NRST), you must be using SWD.

It would be more helpful to label your schematic with the SWD names (rather than JTAG names):

  • JTCK = SWCLK
  • JTMS = SWDIO

AndrewNeil_2-1730981200676.png

 

with ST-Link pin numbers:

AndrewNeil_1-1731147456336.png