STM32H7 real-time data tracing via SWD not working

OP #5497573
Rate this post
useful
not useful
Hello community,

I'm desperately trying to get my new Nucleo H743ZI real time data 
tracing work. No success since 3 days.

Flashing and asynchron debug (Start/Pause/Watch variables on pausing) 
work. BUT the real-time data tracing using SWD with onboard STLINK 
debugger doesn't work -whether software tracing (printf) nor hardware 
tracing (watch variables with SWV). I simply get no data transmitted 
from MCU when program is running...Please see screenshots with configs 
and explanations.

Toolchain: CubeMX->Atollic 
TrueStudio->USB->STLink->MCU->SWD->STLink->USB->Atollic TrueStudio 
(Windows 10).

What I tried:

-Many official tutorials  Data sheets  Application notes including:
-http://blog.atollic.com/cortex-m-debugging-real-time-variable-watch-using-swv/swo
-http://blog.atollic.com/cortex-m-debugging-introduction-to-serial-wire-viewer-swv-event-and-data-tracing
-http://blog.atollic.com/cortex-m-debugging-printf-redirection-to-a-debugger-console-using-swv/itm-part-1
-printf() function redirected as described in many manuals
-Reading SWIO Pin PB3 with oscilloscope (No edges detected)
-Reading STLINK Jumpers with oscilloscope (Edges detected)
-Other IDEs SW4STM32 (No success)
-Serial wire viewer of STLINK (nothing shown)
-Tried debugger and builder / optimization settings. (Still no success)

See screenshots for detailed description and the configurations.

Please help me finding the cause of this issue. I appreciate every hint 
and suggestion.

Thank you very much

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now