2022-05-17 02:39 AM
I have st-link v2 with Firmware version V2J39S7.
I have been trying to debug through STM32 cube ide but it says " NO ST-LINK DETECTED".
I have also tried via Cube programmer and updated the stlink but still of no use. Have done the boot thing too.Could anyone say whats possibly going wrong.
2022-05-17 02:43 AM
Try to think where you last saw it ...
2022-05-17 03:06 AM
Is it connected to the Host computer?
Does the Status LED light correctly on the ST-Link?
What computer is it - Windows? Mac? Linux? a VM? other ... ?
Does the PC detect it; eg, on Windows:
2022-05-17 03:08 AM
hello, i am using windows and it is being detected under Universal serial like you mentioned in your picture
2022-05-17 03:09 AM
It seems to be looking for an ST-Link with the Serial Number 'U':
That's not a valid serial number - check your debug configuration!
2022-05-17 03:21 AM
See below - check your ST-Link Serial Number in the debug configuration ...
2022-05-17 03:25 AM
i have tried with the SN number of ST link and everytime it shows me this:
2022-05-17 03:33 AM
It's telling you that the ST-Link is stuck in Upgrade mode:
ie, it started doing an upgrade, but it failed.
What happens if you hit 'Open in update mode' again?
This is probably best done in the Cube Programmer - rather than trying to do it from the IDE while it's trying to start a debug session ...
BTW, the IDE Serial Number ("SN", or "S/N") setting is here:
just uncheck the box if you don't need to specify a particular ST-Link.
2022-05-17 04:08 AM
i have tried with Cube programmer as well and in the Cube ide, if I "open in update mode"
I have tried every possible combinations from past week but could not get down to a solution.
2022-05-17 05:57 AM
Hi @Ax111_ ,
Several hints are provided in the article How to solve debugger connection issues?
Keep us informed. If problem is resolved, please precise which hint helped you.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.