Debugotron - SWD Sample Target
alvarop·debugotron·hw/sample_target/sample_target.kicad_pcb
About the Debugotron - SWD Sample Target PCB
Debugotron - SWD Sample Target is an open source STM32 PCB design by alvarop, published on GitHub under the BSD-3-Clause license. It is a 2-layer board measuring 39.7 × 14 mm, with 30 components from 15 distinct parts.
Its main chip is the STM32L412C8T6, from the STM32 family. Other key parts include the SN74AHC1G08DBVRG4, MIC5504-3.3YM5-TR, TMUX1511PWR and LM358QT. By type, the board carries 11 resistors, 9 capacitors, 5 ICs, 2 switches, 2 diodes and 1 connector.
It belongs with the usb & debug tools and power & battery designs in this gallery.
From the project
Debugotron is a collection of debugging/automation tools I've wanted in the past but didn't have access to. Currently, the tools include:
Debugotron is a collection of debugging/automation tools I've wanted in the past but didn't have access to. Currently, the tools include:
Have you ever wanted to debug your device over USB-C? Sometimes there's not enough room for a JTAG/SWD connector, or even TAGConnect pads! The USB-C specification has a Debug Accessory Mode feature that allows for this. I have a Twitter thread with additional details. Here's an unrolled version for easier reading.

Main components on the Debugotron - SWD Sample Target
Debugotron - SWD Sample Target bill of materials (BOM)
30 components, 15 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | SN74AHC1G08DBVRG4 | SOT95P280X145-5N | U1 |
| 1 | MIC5504-3.3YM5-TR MIC5504-3.3YM5 | SOT-23-5 | U2 |
| 1 | TMUX1511PWR | SOP65P640X120-14N | U3 |
| 1 | STM32L412C8T6 | STM32L412C8T6 | U4 |
| 1 | LM358QT LM358_DFN | DFN-8-1EP_2x2mm_P0.5mm_EP1.05x1.75mm | U5 |
| 1 | USB4056-03-A USB_C_Receptacle | GCT_USB4056-03-A_REVA_MOD | J1 |
| 2 | PTS820J25MSMTRLFS BTN | PTS820J25MSMTRLFS | SW1, SW2 |
| 2 | LED | LED_0603_1608Metric | D1, D2 |
| 2 | 1uF | C_0402_1005Metric | C1, C2 |
| 6 | 0.1uF | C_0402_1005Metric | C3, C4, C5, C6, C7, C8 |
| 1 | 4.7uF | C_0402_1005Metric | C9 |
| 5 | 5.1k | R_0402_1005Metric | R1, R2, R7, R8, R9 |
| 4 | 0 | R_0402_1005Metric | R3, R4, R5, R6 |
| 1 | 240k | R_0402_1005Metric | R10 |
| 1 | 10k | R_0402_1005Metric | R11 |
Debugotron - SWD Sample Target design files
The KiCad project lives in the alvarop/debugotron repository on GitHub; these links point at the commit this page was built from.
Debugotron - SWD Sample Target: common questions
What microcontroller does the Debugotron - SWD Sample Target use?
The Debugotron - SWD Sample Target is built around the STM32L412C8T6, from the STM32 family.
How big is the Debugotron - SWD Sample Target PCB?
The Debugotron - SWD Sample Target measures 39.7 × 14 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Debugotron - SWD Sample Target?
30 components, from 15 distinct parts. The full bill of materials is listed on this page.
Where can I download the Debugotron - SWD Sample Target design files?
From the alvarop/debugotron repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the Debugotron - SWD Sample Target design in my own project?
Yes, under the terms of its BSD-3-Clause license, which alvarop chose for the repository.
Can I test firmware for the Debugotron - SWD Sample Target without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.
More boards in debugotron
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
AxxSolder
AxxAxx
39 × 82.5 mm122 parts2LGPL-3.01.7kSTM32
AIOC
skuep
21 × 31.5 mm47 parts2LMIT1.4kSTM32
Ferris
pierrechevalier83
208.8 × 86.8 mm102 parts2LSHL-2.11.3kSTM32
176 pin board
rusefi
61.8 × 73.2 mm76 parts2LGPL-3.01.2kSTM32
Brain board STM32F407
rusefi
61.8 × 73.2 mm69 parts2LGPL-3.01.2k