Skip to main content
Ted Jackson
Senior
April 17, 2021
Question

Help understanding mysterious lapses in printf() output via SWV Port 0 as shown in SWV ITM Data Console

0693W000008zqcuQAA.pngNotice how entire printf lines disappear and how occasionally just portions of printf lines disappear.

This topic has been closed for replies.

5 replies

Tesla DeLorean
Guru
April 17, 2021

There are buffering issues within the pod

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Ted Jackson
Senior
April 18, 2021

Even if I include fflush(stdiot); immediately after the printf, the problem is the same.

Pavel A.
April 18, 2021

Well there are many layers that can cause this. From the ST-LINK firmware up to the host ST-LINK or OpenOCD server, to the CubeIDE (Eclipse) debugger client.

Has anybody seen these glitches with true J-Link adapters?

--pa