2024-03-04 01:29 AM
Hello, I know what the problem is but I can't solve it.
Hardware: HP Zbook G3 Workstation + HP Thunderbolt 3 dock station like thi one:
When I am connected to the station, an error occurs: No ST-link detected! Please connect ST-LINK and restart debug session. Without the docking station it works normally. The problem is the HP docking station and probably something with the ports. Has anyone encountered a similar problem and know how to solve it?
Solved! Go to Solution.
2024-03-05 02:10 AM
@rutrap wrote:
@Pavel A. wrote:Is the "virtual disk drive" function enabled on the ST-Link?
Where can I find this option in CUBE IDE?
When connecting the nucleo board via the USB port, a file explorer starts with a folder with some content, is that what it's about?
I don't think it's in the IDE but, as @Tesla DeLorean said, it is in the ST-Link firmware updater - see:
2024-03-04 02:05 AM
Hi,
Can you connect direct to Zbook USB?
St-link not working with some hubs or docking station.
2024-03-04 02:31 AM - edited 2024-04-04 12:48 AM
Does the ST-Link appear in Device Manager?
If it's not there, then the PC can't see it - so it's never going to be detected!
#CheckDeviceManager #STLink
2024-03-04 02:53 AM
It doesn't matter whether I connect it to the USB ports directly on the laptop or via the dock. If the dock is connected, it does not detect the board.
2024-03-04 02:57 AM
@rutrap wrote:it does not detect the board.
What do you mean by "it" ?
Again, does the ST-Link appear in the Device Manager?
If the PC itself isn't seeing the ST-Link (ie, it doesn't appear in the Device Manager), then no app will be able to see it.
Do you get any errors (from Windows) about "unrecognised device" or similar when you plug the ST-Link in?
2024-03-04 03:00 AM
Yes, the device manager detects st-link, but I don't know if it is visible in the universal serial bus as debug. I'll check it tomorrow at work. CubeIDE itself sees the board and reads the serial number correctly.
2024-03-04 08:57 AM - edited 2024-03-04 08:59 AM
Any software that can mess with USB devices installed there? Anything like "endpoint security", "device control" and so on? Is the "virtual disk drive" function enabled on the ST-Link?
2024-03-04 02:27 PM
@Pavel A. wrote:Any software that can mess with USB devices installed there? Anything like "endpoint security", "device control" and so on? Is the "virtual disk drive" function enabled on the ST-Link?
Probably not, unless it's the laptop's built-in fingerprint scanner.
Everything works properly when the docking station is not connected. There is no information about missing or non-working drivers in the device manager.
@Pavel A. wrote:Is the "virtual disk drive" function enabled on the ST-Link?
Where can I find this option in CUBE IDE?
When connecting the nucleo board via the USB port, a file explorer starts with a folder with some content, is that what it's about?
2024-03-04 02:30 PM
The MSC functionality can disabled as part of the ST-Link firmware update method, through STM32 Cube Programmer.
2024-03-05 01:13 AM
My device manager looks like this: