Skip to main content
gcaif
Associate II
Solved

using stm32cubeide to debug stm32f767,it can use swv to trace a variable?

this is the swv setting. but I click resume button,the swv data trace timeline graph don`t respone.

0693W000005AgBfQAK.png

This topic has been closed for replies.
Cartu38 OpenDev
Cartu38 OpenDevBest answer
Graduate II

Here is my SWV usage on a F7 board. Sounds working like a charm.

Common pitfall is bad core clock frequency setting.

Then maybe you're trying to track an event which is too fast ? Please note SWO clock is not running same speed than core clock ...

0693W000005AiWzQAK.jpg0693W000005AiX4QAK.jpg

3 replies

Cartu38 OpenDev
Cartu38 OpenDevBest answer
Graduate II

Here is my SWV usage on a F7 board. Sounds working like a charm.

Common pitfall is bad core clock frequency setting.

Then maybe you're trying to track an event which is too fast ? Please note SWO clock is not running same speed than core clock ...

0693W000005AiWzQAK.jpg0693W000005AiX4QAK.jpg

gcaif
gcaifAuthor
Associate II

OK.thank you

Cartu38 OpenDev
Graduate II

Maybe see https://www.youtube.com/watch?v=4wT9NhlcWP4 first of five videos addressing advanced Debug especially SWV stuff.

Tag as answered please. Will help community.​