cancel
Showing results for 
Search instead for 
Did you mean: 

How to use a STM32G071B-DISCO Kit in SPY mode.

YKMIN
Associate II

I have a STM32G071B-DISCO Kit. This device have a two USB C port. One is plug type and receptacle type. I'd like know how to use spy mode between SRC and SINK. I did connect this to SRC device and SINK device and connect micro-b port to STM32CubeMonitorUCPD.

But STM32CubeMonitorUCPD does not recognize the VCOM port.

1 ACCEPTED SOLUTION

Accepted Solutions
Nicolas P.
ST Employee

Hello @YKMIN​ 

The behavior you describe is normal. You are in spy mode : the board will not be detected in the main panel, but you can still use the trace for debugging.

It is described in the user manual, page 22 (chapter 5.2.4)

Have a look at our wiki.

See also link.

View solution in original post

3 REPLIES 3
Richard.Chvr
ST Employee

H @YKMIN​ i,

 

We suspect an issue around STLink Driver. We recommend you to install the latest STLink Drivers that you will find here : https://www.st.com/en/development-tools/stsw-link009.html

 

Please let me know if issue is corrected after driver installation

 

Thanks

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.
YKMIN
Associate II

Dear Richard Chvr

The result is same.

STM32CubeMonitor does not detect COM port but Device Manager is detect COM port in Control Panel of PC.

I installed that driver and reboot my PC.

LCD of STM32G071B-DISCO Kit just display Voltage and Current.

Nicolas P.
ST Employee

Hello @YKMIN​ 

The behavior you describe is normal. You are in spy mode : the board will not be detected in the main panel, but you can still use the trace for debugging.

It is described in the user manual, page 22 (chapter 5.2.4)

Have a look at our wiki.

See also link.