Loading...
 
Skip to main content

System Workbench for STM32


How to output SWO trace?

Tunisia

Hello Nevets,

Thank you for the tip 😀

I have tried this using an STM32F429I-DISC1 (after soldering the SB9).
My program print status a message every 1 second (visualized using ST-Link Utility > Printf via SWO Viewer)

but even after adding the tpiu config nothing apprears
tpiu config external uart off 180000000 1800000
# cpu frequency is 180MHz and the adapter speed is 1.8MHz

Any Idea ?

Update:
I have added (itm port 0 on) before the tpiu config, and modified the tpiu config as following:
tpiu config internal swo.log uart off 180000000 1800000
=> Now I have some output in swo.log file
But I cannot display the SWO data in eclipse.