2020-03-24 07:47 PM
Dear,
I expected to connect my PC to a STLink-V3 debugger (either on nucleo G4 board or a standalone one) via a USB isolator but failed.
While, I can connect to the nucleo directly without isolator, I also can connect the nucleo board with a STLink V2 on board
Beside, the PC can recognize the STLink V3 correctly, which means the device can be found in the 'Device Manager', but the ST-Link Utility just cannot talk to it, which says 'communicaiton error'
I'm wondering what's wrong, anyone can help?
Many thanks
Solved! Go to Solution.
2020-03-25 02:37 AM
Hello,
I confirm that the STLINK-V3 implements commands only on the High Speed USB interface, and not on the Full Speed one. Which will explain the issue, if the isolator is not supporting the USB HS. It is not currently planned to degrade/duplicate the STLINK-V3 interface in Full Speed.
2020-03-24 08:11 PM
Did you try to reduce the SWD frequency? Likely just a poor isolator.
2020-03-24 08:29 PM
Hi TDK,
When isolator is used, the Utility cannot identify the STLink V3 correctly, so no setting can be performed:
Here is the snapshot without isolator for comparison:
I also feel that it is because of the speed of the isolator, then I'm wondering what's the requirement to the isolator? how fast should it be? what kind of standard should it comply to?
2020-03-24 11:46 PM
USB isolator is most likely FS (12Mbit/s) whereas STlink V3 is HS capable of 480Mbit/s. It appears that the FS portion of the STLink FW is implemented only formally, not providing any real functionality just minimal descriptors.
JW
PS
@Amel NASRI , could please somebody comment on this?
2020-03-25 02:37 AM
Hello,
I confirm that the STLINK-V3 implements commands only on the High Speed USB interface, and not on the Full Speed one. Which will explain the issue, if the isolator is not supporting the USB HS. It is not currently planned to degrade/duplicate the STLINK-V3 interface in Full Speed.
2020-03-25 02:53 AM
Got it! Many thanks!
2020-05-04 02:18 AM
So ST sells USB products violating the USB spec then?
2020-05-04 02:27 AM
The FS USB descriptors are provided, the USB spec is respected. But there are no proprietary commands implemented behind. The ST-Link debug interface is a proprietary one.
2020-05-04 02:29 AM
Well technically maybe yes, practically if it just does not work in 12 MBit Mode and there is no obvious reason why it shouldn't I call it broken :)