Skip to main content
Associate II
October 23, 2023
Question

the windows computer recognized the st-link v2 as universal serial bus instead virtual port

Hi.

After firmware upgrade for st-link v2, windows computer recognized the st-link as universal serial bus instead of virtual com port. whenever i try to program to MCU, there is error like a "No target device found".

How can I solve it?

Below image is the device manager to be recognized as Universal serial bus. there is no PORT.

 

ST-Link V2.PNG

 

Thank advance.

BR

 

This topic has been closed for replies.

21 replies

kevin1971Author
Associate II
October 26, 2023

Hi

Error message is as below if i used the stm32cubeprogrammer.

 

09:10:59 : UR connection mode is defined with the HWrst reset mode
09:10:59 : ST-LINK SN : 51FF6D066684504828451087
09:10:59 : ST-LINK FW : V2J42S7
09:10:59 : Board : --
09:10:59 : Voltage : 3.25V
09:10:59 : Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication

 

Thank you in advance

Kevin

kevin1971Author
Associate II
October 26, 2023

Hi

Below is image for ST-Link for nRST and SWCLK when i tried to connect with MCU using STM32Cubeprogrammer.

2 blue channel is nRST, 1 yello channel is SWCLK.

osc.PNG

 

Thank you.

Best Regards,

 

 

kevin1971Author
Associate II
October 26, 2023

Blue 2 channel and yellow 1 channel are little bit malfunction to measure the voltage.

Thank you.

BR

kevin1971Author
Associate II
October 26, 2023

Hi

Below is SWDIO, SWCLK waveform when I tried to connect with MCU using STM32CubeProgrammer.

 

osc-1.PNG

 

Thank you.

BR

 

 

Tesla DeLorean
Guru
October 26, 2023

Is there some issue with the grounding here?

Your diagram here has GND and SWDIO switched. Is the wiring harness correct?

https://community.st.com/t5/stm32-mcus-boards-and-hardware/the-windows-computer-recognized-the-st-link-v2-as-universal/m-p/601176/highlight/true#M15431

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
kevin1971Author
Associate II
October 26, 2023

Hi Tesla,

 

In first picture, The oscillator is liitle bit malfunction to measure the voltage as you indicated.

However, second picture is good to measure swdio, and swclk waveform.

 

Thank you.

BR

Tesla DeLorean
Guru
October 26, 2023

Has this ST-LINK successful connected with any MCU ?

The connectivity and functionality of this MCU looks to be non-functional. Can you connect via the System Loader with BOOT0 High? Say, getting the UART protocol to respond to interaction? Has the device been set into a read protect mode? Disabling th SWD?

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