Using SWV (SWO) on STM32 with OpenOCD – the Easy Way

Debug printf via STM32 SWO can be very valuable in tracking application flow and debugging applications that have to run in the long term. If you search online for “STM32 SWV”, you can find many tutorials for STM32CubeIDE, but they are not applicable when you are using CLion (or not using IDE at all). This article proposes a quick and simple way to enable SWO output with barebone OpenOCD, without any dependencies.

继续阅读“Using SWV (SWO) on STM32 with OpenOCD – the Easy Way”
WordPress Appliance - Powered by TurnKey Linux