Skip to main content
Explorer II
April 27, 2025
Solved

Error in initializing ST-LINK device in all boards

  • April 27, 2025
  • 2 replies
  • 1519 views

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

    This topic has been closed for replies.
    Best answer by AScha.3

    ...

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

     

    +

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

    2 replies

    Super User
    April 27, 2025

    Is it genuine STM or V2 "stick" ?

    Connect with CubeProgrammer and show, what its telling.

     

    Explorer II
    April 27, 2025

    AdoringLamb_1-1745763390684.png

    its a genuine stlink v2 

    Super User
    April 27, 2025

    Ooo.. target : 0,52V - that cannot work !

    power your target to 3v3 and try again. (or you forgot to connect the vcc sense to st-link ?)

    Explorer II
    April 27, 2025

    thats weird cause its 3.3 v in the input

    AdoringLamb_3-1745764551239.png