Skip to main content
gcaif
Associate II
November 7, 2020
Solved

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

  • November 7, 2020
  • 3 replies
  • 1782 views

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.
Best answer by Cartu38 OpenDev

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
November 8, 2020

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
November 9, 2020

OK.thank you

Cartu38 OpenDev
Graduate II
November 9, 2020

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.​