cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE-- how to use SWV data trace timeline graph

J.Park
Associate II

Hello, now I'm using F429IDiscovey and STM32CubeIDE to grahp via SWV.

I refre to this official video(URL: https://www.youtube.com/watch?v=eumKLXNlM0U)

In the STM32CubeIDE, I configured same like video.

(Please see the attached file named 'SWV_Config' and 'Debug Config')

After configuration, I can run debug mode normally.

Also I can check variable(LED_state) that get value 1 and 0 per 500ms as I coded.

But I cannot any graph on the SWV Data Trace Timeline Graph...

(Please see the attached file named 'LED_State=0' and 'LED_State=1')

Do I miss something? How can I fix?

Thank you in advance

24 REPLIES 24
AScha.3
Chief III

cool !

+

my new stlink V3 (mods) running now with SWV !

statistic profiling :

0693W00000Y7A48QAF.png+ Happy New Year !

If you feel a post has answered your question, please click "Accept as Solution".
DMolo
Senior

0693W00000Y7A5BQAV.png 

Bit more investigation and it seems there is a Cube Monitor tool now that is available, and works just fine. Guessing ST gave up bugfixing SW viewer on CubeIDE.

Just as an information: I found out that this G0-MCU does not support SWV.

ATale.2
Associate

[SOLVED] Hi, if someone is facing the same issue probably you need to make sure that the clock frequency set in debug configuration is the same as your HCLK. For me it was 72 MHZ. See figures.0693W00000Y8ZHiQAN.png0693W00000Y8ZHYQA3.png

FShah.1
Associate III

Hi,

I am trying to use the SWV Timeline Graph, but I am unable to run it for more than 4 to 6 seconds. Could you please provide some advice on this? I am attaching all the screenshots. I am using I2S communication to interface MEMS mics SPH0645LM4H.

I have a custom board with an STM32F446RE and an ST debugger model STLINK-V3SET.

Thank you.

MCU --- Debugger

Gnd --- Vcc

Clk -- Clk

Gnd -- Gnd

SWDIO -- SWDIO

NRST -- NRST

SWO---SWO

I tried same code on Nucleo-F446 an

FShah1_6-1715896024052.png

 

d SWV Timeline Graph works continuously. Kindly check the screen shots and let me know if you see any issue.

Thank you,

FS

 

FShah1_2-1715895971321.pngFShah1_3-1715896001566.pngFShah1_4-1715896010855.pngFShah1_5-1715896017050.png