STM32MP1 support available in SW4STM32

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world.
And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4; you can download a short video showcasing this on the ac6-tools website (registration required).

System Workbench for STM32

SWO ITM printf() output using ST-LINK utility while debugging

you can ask openocd to save itm trace to a file but you may not be abble to view trace live
it seam using a named pipe as the file is not working under window
what is a way to work aorund it openocd/debug and get race frol usb and provdie it live to the file (pipe)

semi-hosting printf can do but not ideal and very slow (semi host config required to have debuger conected to work)