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

1 ACCEPTED SOLUTION

Accepted Solutions

I found my problem. It cause by the st link v2 device from china so it's not enough function.

Now Im trying to solve it follow that https://engenhariaegambiarras.wordpress.com/2017/06/25/using-swd-and-swv-with-stm32-ucontrollers-printf-and-logic-analyzer-into-debbug-mode/

View solution in original post

24 REPLIES 24
Markus GIRDLAND
ST Employee

Is the variable "LED_State" a global variable?

Do you get any SWV data in any other view?

Yes, LED_State is a global variable.

But I can not see any data in SWV graph..... :(

NBinh
Associate II

Yes, I have the same problem when used SWV graph. Have anybody solve this problem?

No, I haven't...:(

If I solve this problem, I will commet.

If you solve this problem, please let me know.

Of course. I'm still trying

I found my problem. It cause by the st link v2 device from china so it's not enough function.

Now Im trying to solve it follow that https://engenhariaegambiarras.wordpress.com/2017/06/25/using-swd-and-swv-with-stm32-ucontrollers-printf-and-logic-analyzer-into-debbug-mode/

thank you:)

xpress_embedo
Associate III

Hello All,

I am new to this forum and wanted to start with ST devices and that's why I purchased STM32F769 Discovery Board.

I started from the basics, and as a first task I tried to blink the on-boards LED's, which works fine.

But when I tried to use the SWV Trace Timeline feature to plot the graph, it's not working.

I watched the official video and based on that I tried to perform these steps.

https://www.youtube.com/watch?v=eumKLXNlM0U

I configured everything as per the video.

In Debug Configuration --> SWV is Enabled, Live Configuration is also Enabled.

Apart from this, I don't see anything in SWV Trace Logs, and SWV Data Trace.

I am attaching the compressed zip folder of my project.

Thanks in advance for your help.

TMaia.1
Associate II

I'm facing the same issue. Does anyone got it working?