STLINK-V3MINIE not detected in debug mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-31 1:50 AM
Hello,
Maybe you can help me, I am not able to start debug session with STLINK-V3MINIE.
Context is: Windows 10 64bit, Intel(R) Core(TM) i5-9400
STMCubeIDE V1.17.0
Tried with 2 different STLINK-V3MINIE
the STLINK-V3MINIE is seen and updated correctly to V3J15M7 using STLinkUpgrade 3.15.7 tool
When trying to open a debug session, I get the message "No ST-LINK detected! Please connect ST-LINK and restart the debug session"
I tried >20 times, connecting on different USB ports, different USB cables, 2 different STLINK-V3MINIE. I tried to switch OFF the firewall.
When I use my old STLINK-V3MINI it is working fine
When I use a Nucleo board, it is working fine
Any idea what I should do? Thanks
Solved! Go to Solution.
- Labels:
-
ST-Link
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-31 8:57 AM
The lucky fact is that I have older STLINK-V3 (nucleo and other), and I can reproduce all your messages and console logs with these older hardware.
But with the new MINIE, it failing. USB cable is perfet, I tried 3 different tested cables.
I will stop searching, put my new few STLINK-V3MINIE aside for later and try to buy old hardware instead.
Thank you for trying to help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-31 2:05 AM
@vaucher_b wrote:I get the message "No ST-LINK detected! Please connect ST-LINK and restart the debug session"
So can Windows itself see the ST-Link? ie, does it appear in Device Manager:
Note the PS there specifically for ST-Link V3
@vaucher_b wrote:updated correctly to V3J15M7 using STLinkUpgrade 3.15.7 tool
Maybe it's stuck in update mode?
What happens if you try again with the updater?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-31 2:50 AM
Thanks for your quick reply
In Device manager, it appears as "ST-Link Debug"- driver date 01.04.2021, version 2.2.0.0
and "Virtual COM Port"
It seems there is no error there.
The update process seems working correctly, I can update again, and I see "Upgrade Successful."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-31 4:08 AM
Did you see the note specific to ST-Link V3?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-31 4:46 AM
Yes. I think this is not the root cause, because the computer is old (Intel(R) Core(TM) i5-9400) and it is working fine with older STLink such as Nucleo and the old STLINK-V3MINI.
When I open the menu "Run>Debug Configurations" from STM32CubeIDE , tab "Debugger", I can read the debugger S/N (result is 002E00193133510737363734).
I tried with and without USB hub, USB2 and USB3 ports on computer, it's always the same, in device manager it shows the items, in update tool it shows the STLINK-V3MINIE, but debug session always stop with the message "No ST-LINK detected! Please connect ST-LINK and restart the debug session".
Can you explain why the old STLINK-V3 are performing well, but the new STLINK-V3MINIE fail? Is there an important hardware/software difference other than the USB-C socket on the STLINK-V3MINIE and micro-USB on older types?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-31 5:07 AM
If it can read the serial number, then CubeIDE can see the ST-Link.
Are you sure you didn't have something else already using the ST-Link (eg, CubeProgrammer) ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-31 5:23 AM
Yes sure, only Only STM32CubeIDE is open. I checked task manager too, restart computer too. Is it useful to try re-installing CUBE-IDE?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-31 5:36 AM
So the ST-Link is being seen correctly by the IDE, but as soon as you start the debug session, it disconnects...
Could it be that the device you are debugging is setting its pins in such a way that you have a bus contention with the debug probe (that could cause a voltage drop on the miniE so it resets) ? How is the connection between the ST-Link MINIE and the device under test ? Is it the same as with the old ST-Link MINI ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-31 5:51 AM
What does your program do? Does it enter low-power modes or reassign the SWD pins?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-31 6:01 AM
Hello Kraal, the issue occurs earlyer, the ST-Link MINIE appears unconnected while trying th start a debug session, but it correctly connected and recognized for other actions (enumeration in device manager, S/N reading, upgrade it's firmware)
