2023-10-23 03:40 AM
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.
Thank advance.
BR
2023-10-23 04:11 AM
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
2023-10-23 04:15 AM
Hi.
Below is the image which I have used.
2023-10-23 04:23 AM
try with stm32CubeProgrammer . (st-link utility is outdated.)
2023-10-23 04:26 AM
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
2023-10-23 04:27 AM
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
2023-10-23 04:38 AM
Hi
Below is the upgrade using CubeProgrammer after install it.
However,
If i tried to program with connect, below is error message which i got.
Thank advance
BR
2023-10-23 05:25 AM
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 !
2023-10-23 05:36 AM
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
2023-10-23 04:19 PM
Powre is up with 3.07V. however, no stm32 target found as below image.
My SWIO, SWCLK, VDD, RST as below schematic.
VDD : 1
SWIO : 7
SWCLK : 9
RESET : 15
GND : 4
Thanks in advance.
Regards