STM32H7 real-time data tracing via SWD not working

OP #5497573
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

A question of your own? This thread is over 8 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.