cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to show SWO trace from cli with ST-LINK_CLI or some other tool?

MVull
Associate

I'm using ST-LINK_CLI to flash my STM32F427 and I'd like to start SWO tracing after flashing. Is there a (Windows) command line tool which can do this? Currently running Win7, ST-LINK CLI v3.4.0.0 and ST Link  FW: V2J33S7

2 REPLIES 2
David SIORPAES
ST Employee

Hello,

J-Link commander should be able to do this but you'd need of course to use a J-Link probe. Note however that you can turn most onboard ST-Links into J-Link (and revert them back) as described here: st-link-on-board

As an alternative, you could use openocd and this tool: https://github.com/robertlong13/SWO-Parser

There's also a pretty interesting and full-featured open source tool for SWO tracing named Orbuculum but unfortunately it runs on Linux and OSX only.

Hi.

STLink utility supports trace view with fixed freq 2MHz.

PB3 pin must be connected to SWO pin of STinkV2.(plus all the others for SWD)

0690X000008BOBXQA4.jpg