TrueSTUDIO SWV console frequently drops printf logs
Hi everyone,
I recently read a lot of articles on the subject of SWD, SWO, and using SWV for debugging purposes. I configured my TrueSTUDIO project as stated by the article[1][2], however I have the following problem:
When I send strings over SWD by re-implementing "_write" over printf[2], the SWV Viewer console sometimes corrupts the message, and sometimes fails to receive it.
However, when I use the ST-LINK Utility to read the SWV output, I notice that everything is transmitted perfectly, with no glitch characters, and no dropped strings.
Unfortunately I am not sure as to what could be misconfigured, or the problem. I've attached some pictures to show the pertinent information (the test code, SWV log, and so on).
I have checked that the frequency is set correctly (64MHz).
Other information:
Device: Nucleo-64 F103RB
TrueSTUDIO: Version 9.2.0
ST-Link utility: V4.2.0.0
Firmware version: V2.J33.M25 STM32 Debug+Mass storage
Images: