Have you ever wanted to debug your microcontroller over USB-C?
(I’m talking JTAG/SWD, not just USB!) If you already have a USB-C connector, there’s no need to have an additional connector to program!
This started as a twitter thread years ago, but I've cleaned it up, and added tons of new information. Let me know what you think!
@alvaro One more spec-compliant option that may be worth mentioning that doesn't require an on-board plug as DAM does is PD Alternate Mode - at least in case you already do PD on the target, otherwise it may be overkill 😁
I made an STM32G0-based board to trigger custom alt-modes with power and USB passthrough some time ago; instead of JTAG it breaks UART out, but the principle is the same: https://gitlab.com/dos1/debubo