Skip to main content
mdiro
Associate III
January 10, 2023
Solved

SWV doesn't display the right information

  • January 10, 2023
  • 1 reply
  • 835 views

Hi!! To test how the SWV data trace timeline graph works, I have a simple application where I increment by 1 a variable called count. Very basic. In debug mode, I see count increasing correctly in the live expressions window.

while(1){
count++;
HAL_Delay(250);
}

This is not the case for the SWV window where the variable value are completely wrong.

0693W00000Y7pzUQAR.pngWhere can the problem be? Thank you!

    This topic has been closed for replies.
    Best answer by mdiro

    Solved: core clock was unintentionally set to a wrong frequency.

    1 reply

    mdiro
    mdiroAuthorBest answer
    Associate III
    January 10, 2023

    Solved: core clock was unintentionally set to a wrong frequency.