Debugging, Logging, and Monitoring via SWO Trace (STM32 ITM & DWT) - Phil's Lab #173
May 4, 2026•Channel
AI Analysis
Data from YouTube Data API v3•Updated Just now
Video Overview
Video Details
Published2 months ago
Duration23:09
Video IDrdmJgQW5JrQ
Languageen
CategoryScience & Technology
PrivacyPublic
Made for KidsNo
Video TypeRegular Video
Performance Metrics
Views7.8K
Likes343
Comments18
Engagement Rate4.63%
Likes per 100 views4.40
Comments per 1K views2.31
Description
Printf, variable monitoring, debugging, and more using the serial wire trace output (SWO).
Limited-time: $2 for 6-layer PCBs up to 100×100 mm - grab your $33 coupon now: https://jlcpcb.com/events/6-layer-pcb?from=PhilsLab (Ad)
OSHWLab Stars 2026: https://oshwlab.com/activities/stars2026
Altium Develop: http://altium.com/yt/philslab (Ad)
[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: https://www.phils-lab.net/courses
Patreon: https://www.patreon.com/phils94
[LINKS]
SWO Basics: https://black-magic.org/usage/swo.html
[TIMESTAMPS]
00:00 Intro
01:46 JLCPCB (Ad)
03:21 Altium Develop (Ad)
04:26 SWO & HW Overview
07:31 CubeIDE Set-Up
09:03 ITM Port & SendChar
12:12 printf via ITM
13:14 Enabling SWV
16:04 Multiple ITM Ports
18:34 DWT Comparator Variable Monitor
22:44 Outro