cancel
Showing results for 
Search instead for 
Did you mean: 

P-NUCLEO_USB002 serial debug output

HWong.2
Associate

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? 

1 ACCEPTED SOLUTION

Accepted Solutions
NBALL
ST Employee

​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

View solution in original post

1 REPLY 1
NBALL
ST Employee

​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