cancel
Showing results for 
Search instead for 
Did you mean: 

Error in initializing ST-LINK device in all boards

AdoringLamb
Visitor

i have been using stlink v2 for a while now, but today it wouldn't connect with any of my stm32 boards the error mesage that apears is 

STMicroelectronics ST-LINK GDB server. Version 7.9.0

Copyright (c) 2024, STMicroelectronics. All rights reserved.

 

Starting server with the following options:

Persistent Mode : Disabled

Logging Level : 1

Listen Port Number : 61234

Status Refresh Delay : 15s

Verbose Mode : Disabled

SWD Debug : Enabled

InitWhile : Enabled

 

Target no device found

 

Error in initializing ST-LINK device.

Reason: No device found on target.

 

i have no clue what it could be, i tried in two different pcs with stm32 cube ide in the 1.17 and 1.18 version, i have tried updating the stlink software in the cube ide , in the programmer and in the st link utility, nothing is really working, the boards are fine cause i can connect them to the st programmer using usb.

Need help, Thanks

21 REPLIES 21

my two genuine stlinks are giving me 0.5 v and my non genuine stlink is giving me 3.14  v , but with my non genuine stlink this mesage apears when charging the code

AdoringLamb_3-1745771368879.png

 

AdoringLamb_0-1745771279564.pngAdoringLamb_1-1745771309404.png

AdoringLamb_2-1745771323229.png

 

 

The "stick" V2 having 3v3 always, because it can give power out on 3v3 pin.

The original V2 needs power from target and shows it...so tried other cable also ?

Because if 3v3 at target, wired to st-link 3v3 "sense" input, but it shows just 0,5V here - no real working wired connection exists.

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

i have tried with 3 diferent cables between stmboard and stlink, and also tries diferent cables between stlink to computer, also whe powering the stmboards the pwr led turns on so indeed theres more than 0.5v coming in

 

So your sure, to give 3v3 to st-link - but it shows 0,5V ?  And same wiring was working before?

Then open one of the "0,5v" candidates and check - maybe you see something "suspect" .

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

yeo im sure,

AdoringLamb_0-1745774916610.png

that resistor is a little bit like to dark, but both give me 10 ohms , the blue one is the Chinese one

So you grilled them just "a little bit" - or killed them "a little bit" . :)

What it shows on CubeProgrammer, if you only wire pin19 to pin 1 or 2 ?

AScha3_0-1745776059141.png

 

 

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

jajaj nop they are just fine i take anotherone of my friend and measure it and its the same resistor with the same value, now i have no clue what can be, im thinking in buying stlink v3...

 

...

>What it shows on CubeProgrammer, if you only wire pin19 to pin 1 or 2 ?

 

+

What you connected, when used last time ? 5V ?

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

AdoringLamb_0-1745776506457.png

AdoringLamb_1-1745776526772.png

to pin one 3.3

 

its workingggg

i conected pin 19 to3.3, and 3.3 stlink to a 3,3 v in stbord