SWV not working

Discuss how to use the features of Atollic TrueSTUDIO, including the editor, assembler, C/C++ compiler, linker, debugger, static code analysis and team collaboration tools.

Moderators: Markus Girdland, Mattias Norlander

BelAriane
Posts: 2
Joined: Thu Jun 13, 2019 5:11 pm

SWV not working

Postby BelAriane » Fri Jun 14, 2019 6:07 am

I am trying to use the SWV in atollic. I get no output on the SWV console, SWV Data Trace and SWV Statistical Profiling.
I read the white paper, tried some of the tips in the forum to no avail.

I have board with a STM32F427 with pin PA14, PA13 and PB3 connected to the ST-Link V2 programmer.
Atollic settings:
SWV Enable
Core Clock 168Mhz
SWO Clock 2000Khz
Port number 61235
Wait for sync packet on and off.

SWV settings: enabled prescaler 1 and enabled Port 0.

in the code i use ITM_SendChar('a'). Do i need to set the debug registers too?

BelAriane
Posts: 2
Joined: Thu Jun 13, 2019 5:11 pm

Re: SWV not working

Postby BelAriane » Wed Jun 19, 2019 7:46 am

Is anybody here?

Markus Girdland
Posts: 149
Joined: Thu May 11, 2017 11:27 am

Re: SWV not working

Postby Markus Girdland » Tue Jun 25, 2019 8:36 am

On page 305 in the user guide there are some common problems encountered with SWV tracing:
http://gotland.atollic.com/resources/ma ... _Guide.pdf
Perhaps some of those will give some tips of what you could need to double check.

Also make sure everything is properly connected.

This forum is not as active as it once was, I'm more active in the ST community forum.


Return to “Atollic TrueSTUDIO tool discussions”

Who is online

Users browsing this forum: No registered users and 3 guests