cancel
Showing results for 
Search instead for 
Did you mean: 

How to use trace tools from example [N6 USBPD_SNK]

Brenden_PLUS
Associate II

* board - STM32N6570-DK

*  using STM Cube 1.19.0

* Example - USBPD_SNK

 

In the example USBPD_SNK it tell you to view the traces like this. 

Run CubeMx Monitor and open trace tools

 

I'm guessing this is something inside of STM32Cube ide.  Not STM32CubeMonitoring app

https://www.st.com/en/development-tools/stm32cubemonitor.html

 

So i started the trace's like i normally would in STM32CubeIde but it doesn't seem to show anything in the trace output when i run the application.

StartTrace.png

 

They say to use STM32CubeMonitor but when i connect both ends to my computer i don't see any com's to select.  

 

Currently i'm not entirely sure how to enable the traces, so any help would be greatly appreciate.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Brenden_PLUS
Associate II

The library there using is

https://github.com/STMicroelectronics/stm32-util-usbpd-tracer-emb/tree/main

Problem

* I needed the SWV Trace Log window

* PC Sampling enabled

TraceLogWorking.png

Thanks for the info

View solution in original post

2 REPLIES 2
Souhaib MAZHOUD
ST Employee

Hello @Brenden_PLUS 

Can you take a look at this tutorial STM32CubeIDE - SWV trace

It might be helpful.

BR, Souhaib

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.

Brenden_PLUS
Associate II

The library there using is

https://github.com/STMicroelectronics/stm32-util-usbpd-tracer-emb/tree/main

Problem

* I needed the SWV Trace Log window

* PC Sampling enabled

TraceLogWorking.png

Thanks for the info