2019-11-26 10:42 AM
It looks like the CubeIDE debugger (GDB server) has issues with SWO output.
When I enable SWO output in debug config and actually print something, only first few lines appear in the SWV ITM data window.
Then one of following occurs:
When the same firmware runs freely without debugger, I can connect ST-LINK utility and see the SWO output. It is as expected and can run for long time without exceptions.
After the ST-LINK utility I again try to debug with Cube IDE but now it does not let to enable the SWO trace. It says "SWO trace already running on another core".
But there's no another core, it is a H750.
The board is STM32H750 with external ST-LINKv2.
May be related to this issue.