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)