2021-04-16 06:54 PM
Notice how entire printf lines disappear and how occasionally just portions of printf lines disappear.
2021-04-17 06:49 AM
There are buffering issues within the pod
2021-04-17 05:22 PM
Even if I include fflush(stdiot); immediately after the printf, the problem is the same.
2021-04-18 06:04 AM
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
2021-04-18 07:03 AM
Presuming this is an ST-LINK?
Does fflush() have any plumbing?
You could try the SWV screen of STM32 Cube Programmer or ST-Link Utilities and see if that is more robust
As @Pavel A. notes there are a lot of moving parts here, a J-Link Ultra+ might work significantly better but we're in a whole different league there.
2021-04-18 03:13 PM
It's an ST-LINK.