Skip to main content
HWong.2
Visitor II
October 15, 2020
Solved

P-NUCLEO_USB002 serial debug output

  • October 15, 2020
  • 1 reply
  • 791 views

I am currently working on a P-NUCLEO_USB002 board to develop a PD solution. It seems the serial debug output is playing up. I set the USB_CLI already but it just give me some garbage data. I double checked the baudrate and it seems ok. Is anyone has any experience on this dev board who can help me with this? 

This topic has been closed for replies.
Best answer by NBALL

​Hello

If you are using our stsw-stusb010 package, no need to set USB_CLI to get the trace for debug.

You need to use STM32CubeMonUCPD software (https://my.st.com/content/my_st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-performance-and-debuggers/stm32cubemonucpd.license=1602869482445.product=STM32CMonUCPDWin.version=1.1.1.html)

After opening it, in right bottom corner, click on 'traces', then select port com on the top: USB PD transaction should appear.

Nathalie

1 reply

NBALL
NBALLBest answer
ST Employee
October 16, 2020

​Hello

If you are using our stsw-stusb010 package, no need to set USB_CLI to get the trace for debug.

You need to use STM32CubeMonUCPD software (https://my.st.com/content/my_st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-performance-and-debuggers/stm32cubemonucpd.license=1602869482445.product=STM32CMonUCPDWin.version=1.1.1.html)

After opening it, in right bottom corner, click on 'traces', then select port com on the top: USB PD transaction should appear.

Nathalie