Skip to main content
Visitor II
October 23, 2023
Question

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

  • October 23, 2023
  • 14 replies
  • 6828 views

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.

    14 replies

    Technical Moderator
    October 23, 2023

    Welcome @kevin1971, to the community!

    Which software and settings did you use for the firmware upgrade?
    Can you please also upload a photo of your ST-LINK/V2 here?

    Regards
    /Peter

    kevin1971Author
    Visitor II
    October 23, 2023

    Hi.

    Below is the image which I have used.

    st-link.PNG

    utility.PNG

    Super User
    October 23, 2023

    try with stm32CubeProgrammer . (st-link utility is outdated.)

    kevin1971Author
    Visitor II
    October 23, 2023

    Hi.

    I tried to program in the cubeISE using above st-link v2, the error message is "no target device found".

    In this regard, if i use the stm32CubeProgrammer, will it work to program?

     

    Thank you.

    BR

     

    Technical Moderator
    October 23, 2023

    You have used the ST-LINK utility, which is long out of date and on NRND (Not Recommended for New Designs). The firmware is also outdated and should be updated with STM32CubeProg.

    Regards
    /Peter

    kevin1971Author
    Visitor II
    October 23, 2023

    Hi

     

    Below is the upgrade using CubeProgrammer after install it.

    upgrade.PNG

     

    However,

    If i tried to program with connect, below is error message which i got.

     

    connect.PNG

     

    Thank advance

    BR

     

    Super User
    October 23, 2023

    so st-link working now. ok.

    but target shows 0 V only - now power on target ! (or you didnt connect VDD ( 3,3V )to st-link .

    connect 3,3 V to target !

    Graduate II
    October 23, 2023

    Show how this is connected to your target. Needs VCC, GND, SWDIO, SWCLK minimum.

    This type of ST-LINK/V2 does NOT provide a COM Port / VCP

    kevin1971Author
    Visitor II
    October 23, 2023

    Powre is up with 3.07V. however, no stm32 target found as below image.

    power.PNG

    My SWIO, SWCLK, VDD, RST as below schematic. 

    VDD : 1

    SWIO : 7

    SWCLK : 9

    RESET : 15

    GND : 4

    ST.PNG

     

     

     

     

     

    Thanks in advance.

    Regards

     

    Graduate II
    October 23, 2023

    Ok, but the diode suggests that you expect the ST-LINK to power the 3.3V whereas the expectations for the buffers is that your target powers them. Check the voltage you see on pin 1/2 of the 20-pin header

    kevin1971Author
    Visitor II
    October 23, 2023

    Hi Tesla,

    You mean that the target board should provide the power 3.3V to the st-link VDD pin 1/2 of the 20-pin header.

    or,Is 3.07V little bit low voltage for flashing?

     

    Thanks

    Regards,

    kevin1971Author
    Visitor II
    October 24, 2023

    Hi 

    After measuring the voltage of 1/2 of 20-pin header with tester,  the value of voltage is 3.13V.

    Thank you.

    Regards,

    kevin1971Author
    Visitor II
    October 25, 2023

    Hi,

    MCU is STM32L072CZ.

    Boot0 is to wired with GND. Now Voltage is 3.25V for VDD : 3.25V, SWDIO, SWCLK, nRST, RST.

    Even if I tried to connect with My MCU Board which housed STM32L072CZ, it didn't connect with them.

    Please help me.

     

    thank you in advance.

    Kevin