Skip to main content
Visitor II
April 9, 2022
Solved

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

  • April 9, 2022
  • 3 replies
  • 1949 views

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.

    This topic has been closed for replies.
    Best answer by Nicolas P.

    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.

    3 replies

    Technical Moderator
    April 14, 2022

    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

    YKMINAuthor
    Visitor II
    April 22, 2022

    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.

    ST Employee
    April 26, 2022

    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.