cancel
Showing results for 
Search instead for 
Did you mean: 

No ST-link detected - problem when HP thunderbolt 3 dock station is connected

rutrap
Associate II

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:

 

thundebolt3dockjpg.jpg

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?

1 ACCEPTED SOLUTION

Accepted Solutions

@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:

https://community.st.com/t5/stm32-mcus-products/question-can-i-disable-the-nucleo-onboard-stlink-mass-storage/m-p/464705

 

View solution in original post

14 REPLIES 14
AScha.3
Chief III

Hi,

Can you connect direct to Zbook USB?

St-link not working with some hubs or docking station.

 

If you feel a post has answered your question, please click "Accept as Solution".
Andrew Neil
Evangelist III

Does the ST-Link appear in Device Manager?

AndrewNeil_0-1709548292139.png

 

If it's not there, then the PC can't see it - so it's never going to be detected!

#CheckDeviceManager #STLink

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.


@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?

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.
Zrzut ekranu 2024-03-04 115848.png

Pavel A.
Evangelist III

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?


@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?

The MSC functionality can disabled as part of the ST-Link firmware update method, through STM32 Cube Programmer.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
rutrap
Associate II

My device manager looks like this:

menadzerurzadzen.png