In this post I will talk about SWV. How to set up SWV function and how to use printf and logic analyzer.
This week a friend send me a video[1] where a guy uses printf directly inside uVision debugger without VPC or UART. This is called SWV(serial wire viwer), a real-time trace technology that uses SWD(serial wire debug) port and the SWO(serial wire output) pin. Serial Wire Viewer provides advanced system analysis and real-time tracing without the need to halt the processor to extract certain types of debug information. You can read more in [2][3]. Besides the printf, what caught my attention was the logic analyzer built in the SWV debugger[4].