SWD2USBC Sample Target
alvarop·swd2usbc·sample-target/sample-target.kicad_pcb
About the SWD2USBC Sample Target PCB
SWD2USBC Sample Target is an open source RP2040/RP2350 PCB design by alvarop, published on GitHub under the CC0-1.0 license. It is a 4-layer board measuring 51.8 × 20 mm, with 47 components from 19 distinct parts.
Its main chip is the RP2040, from the RP2040/RP2350 family. Other key parts include the MIC5504-3.3YM5-TR, W25Q128JVS, LM358QT, SN74AHC1G08DBVR and TMUX1511PWR. By type, the board carries 20 capacitors, 12 resistors, 7 ICs, 3 diodes, 2 connectors and 2 switches.
It belongs with the usb & debug tools designs in this gallery.
From the project
Have you ever wanted to debug your device over USB-C? Sometimes there's not enough room for a JTAG/SWD connector, or even Tag-Connect pads!
Have you ever wanted to debug your device over USB-C? Sometimes there's not enough room for a JTAG/SWD connector, or even Tag-Connect pads!
For history and all of the details, check out my detailed write up here.
Full featured adapter with Debug Accessory Mode support. Includes an ATTiny microcontroller to set the correct pull-up resistors on CC1/CC2 to provide accurate charge current to the target. Has a USB-C plug so no extra USB-C cable required

Main components on the SWD2USBC Sample Target
SWD2USBC Sample Target bill of materials (BOM)
47 components, 19 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | MIC5504-3.3YM5-TR MIC5504-3.3YM5 | SOT-23-5 | U1 |
| 1 | W25Q128JVS | SOIC-8_5.23x5.23mm_P1.27mm | U2 |
| 1 | RP2040 | QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mm | U3 |
| 1 | LM358QT LM358_DFN | DFN-8-1EP_2x2mm_P0.5mm_EP1.05x1.75mm | U4 |
| 1 | SN74AHC1G08DBVR | SOT95P280X145-5N | U5 |
| 2 | TMUX1511PWR | SOP65P640X120-14N | U6, U7 |
| 1 | ABM8-272-T3 | Crystal_SMD_3225-4Pin_3.2x2.5mm | Y1 |
| 1 | UT11113-11602-7H USB_C_Receptacle | UT11113-11602-7H | J1 |
| 1 | Conn_01x03 | PinHeader_1x03_P2.54mm_Vertical | J2 |
| 2 | SKRKAEE020 SW_Push | SW-SMD_L3.9-W3.0-P4.45 | SW1, SW2 |
| 3 | LED | LED_0603_1608Metric | D1, D2, D3 |
| 4 | 1uF | C_0402_1005Metric | C1, C2, C8, C10 |
| 14 | CL05B104KB54PNC 0.1uF | C_0402_1005Metric | C3, C4, C7, C9, C11, C12, C13, C14 +6 |
| 2 | 15p | C_0402_1005Metric | C5, C6 |
| 3 | 5.1k | R_0402_1005Metric | R1, R2, R11 |
| 5 | 1k | R_0402_1005Metric | R3, R6, R7, R8, R12 |
| 2 | 27 | R_0402_1005Metric | R4, R5 |
| 1 | 240k | R_0402_1005Metric | R9 |
| 1 | 10k | R_0402_1005Metric | R10 |
SWD2USBC Sample Target design files
The KiCad project lives in the alvarop/swd2usbc repository on GitHub; these links point at the commit this page was built from.
SWD2USBC Sample Target: common questions
What microcontroller does the SWD2USBC Sample Target use?
The SWD2USBC Sample Target is built around the RP2040, from the RP2040/RP2350 family.
How big is the SWD2USBC Sample Target PCB?
The SWD2USBC Sample Target measures 51.8 × 20 mm, has 4 copper layers and is 1.6 mm thick.
How many components are on the SWD2USBC Sample Target?
47 components, from 19 distinct parts. The full bill of materials is listed on this page.
Where can I download the SWD2USBC Sample Target design files?
From the alvarop/swd2usbc repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the SWD2USBC Sample Target design in my own project?
Yes, under the terms of its CC0-1.0 license, which alvarop chose for the repository.
Can I test firmware for the SWD2USBC Sample Target without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug RP2040/RP2350 firmware against it before you order a PCB.
More boards in swd2usbc
Similar boards
RP2040/RP2350
Open Book Abridged Edition
joeycastillo
85 × 115 mm29 parts2LCC-BY-SA-4.08.1kRP2040/RP2350
Corne
foostan
277.2 × 107.5 mm164 parts2LCC-BY-4.07.7kRP2040/RP2350
Corne
foostan
277.2 × 107.5 mm164 parts2LCC-BY-4.07.7kRP2040/RP2350
LogicAnalyzer
gusmanb
57 × 55.2 mm6 parts2LGPL-3.05.0kRP2040/RP2350
Jitx design
gusmanb
55.5 × 65 mm26 parts4LGPL-3.05.0kRP2040/RP2350
Pro V2
kata0510
290.1 × 130 mm270 parts2LMIT2.3k