cancel
Showing results for 
Search instead for 
Did you mean: 

how to use debug trace (_TRACE) ?

TSaku.2135
Associate II

I found CMACRO "_TRACE" in USBPD project in STM32CubeExpansion_USBPD_F0_V2.1.0.

I think I can enable usbpd debug trace feature using _TRACE. However, I can not find way check debug trace in my environment. I am using KEIL MDK ARM. Please advise.

1 ACCEPTED SOLUTION

Accepted Solutions
Yohann M.
ST Employee

I advice you to have a look to following documents 'UM2552' (and §3.6.4)

In the projects we deliver, this switch "_TRACE" willl allow to see communications between 2 boards.

Trace is done through USART pins connected to ST link. You should use Cubemonitor-UCPD and use the functionality described in the following image:

0690X00000ApRTRQA3.png

You should see logs like this:

0690X00000ArpntQAB.png

View solution in original post

2 REPLIES 2
Yohann M.
ST Employee

I advice you to have a look to following documents 'UM2552' (and §3.6.4)

In the projects we deliver, this switch "_TRACE" willl allow to see communications between 2 boards.

Trace is done through USART pins connected to ST link. You should use Cubemonitor-UCPD and use the functionality described in the following image:

0690X00000ApRTRQA3.png

You should see logs like this:

0690X00000ArpntQAB.png

TSaku.2135
Associate II

Thank you. I will try that the tool.