Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Advanced debugging – introducing SWO | STM32 Tutorial #17

4.1K views on YouTube

In this video we will dive more into debugging by looking at the SWO (Serial Wire Output) and using that to print debug information and to do profiling.

As usual, please do like, subscribe and comment down below.

Introducing our new STM32 Programmer & Debugger supporting SWO: https://www.youtube.com/watch?v=TyyegjeK8TA

Example code can be found on Github here: https://github.com/STM32World/stm32fun
STM32World Wiki here: https://stm32world.com/wiki
DIY ST-Link device: https://stm32world.com/wiki/DIY_STM32_Programmer_(ST-Link/V2-1)
Project Files: https://github.com/STM32World/stm32fun

#STM32 #GettingStarted #Tutorial #STM32CubeMX #STM32CubeIDE #Debug #STLink #SWO #SWD

00:00 Intro and recap
00:40 ST-Link Devices
05:24 Enabling SWO pin on target MCU
07:07 Redirecting printf to SWO
10:20 Using and showing the SWO
13:20 Enabling application profiling!