cancel
Showing results for 
Search instead for 
Did you mean: 

ST-LINK - Target no device found.

Saranya_2003
Associate

i am plugin the ST-link cable it shows COM6 in the devices but while debugging it is showing the below error

 

Target no device found

 

Error in initializing ST-LINK device.

Reason: No device found on target.

 

3 REPLIES 3
Andrew Neil
Evangelist III

@Saranya_2003 wrote:

Target no device found


So the ST-Link is working fine, but it can't find any target device to connect to.

Please give details of your target (what chip, what board, etc), and how you have connected it to your ST-Link.

What ST-Link are you using?

Please see the posting tips:

https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/ta-p/575228

 

Rim LANDOLSI
ST Employee

Hello @Saranya_2003 ,

 

Could you please try these points:

  1. Check that STLinkServer is installed or install it from this site.
  2. When you plug the board to the PC, It should enumerate as a STLink debug probe in device manager.
  3. Upgrade STLink firmware.
  4. Check the wiring cable and find one you know for sure is a data cable.

Thanks,

Rim

Your hardware is not working.

Focus on your hardware, how it's powered, how it's connected, etc.

What board(s) and MCU are you talking about.

Lacking detail of what its attached too.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..