@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
@alvaro Yeah, that depends on the device's design. The one that prompted me to make this board uses TPS65982 which handles muxing autonomously, so that would work; but with something like FUSB302 - not really.
@dos nice! Thanks for sharing :D
Would that work if the target is unresponsive though? Or would a separate PD controller handle that?