SWD2USBC Sample Target (Basic)
alvarop·swd2usbc·sample-target-basic/sample-target-basic.kicad_pcb
About the SWD2USBC Sample Target (Basic) PCB
SWD2USBC Sample Target (Basic) is an open source RP2040/RP2350 PCB design by alvarop, published on GitHub under the CC0-1.0 license. It is a 2-layer board measuring 43 × 20 mm, with 36 components from 14 distinct parts.
Its main chip is the RP2040, from the RP2040/RP2350 family. Other key parts include the MIC5504-3.3YM5-TR and W25Q128JVS. By type, the board carries 17 capacitors, 9 resistors, 3 ICs, 2 connectors, 2 switches and 2 diodes.
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 (Basic)
SWD2USBC Sample Target (Basic) bill of materials (BOM)
36 components, 14 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 | 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 |
| 2 | LED | LED_0603_1608Metric | D1, D2 |
| 4 | 1uF | C_0402_1005Metric | C1, C2, C8, C10 |
| 11 | CL05B104KB54PNC 0.1uF | C_0402_1005Metric | C3, C4, C7, C9, C11, C12, C13, C14 +3 |
| 2 | 15p | C_0402_1005Metric | C5, C6 |
| 4 | 5.1k | R_0402_1005Metric | R1, R2, R7, R8 |
| 3 | 1k | R_0402_1005Metric | R3, R6, R9 |
| 2 | 27 | R_0402_1005Metric | R4, R5 |
SWD2USBC Sample Target (Basic) 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 (Basic): common questions
What microcontroller does the SWD2USBC Sample Target (Basic) use?
The SWD2USBC Sample Target (Basic) is built around the RP2040, from the RP2040/RP2350 family.
How big is the SWD2USBC Sample Target (Basic) PCB?
The SWD2USBC Sample Target (Basic) measures 43 × 20 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the SWD2USBC Sample Target (Basic)?
36 components, from 14 distinct parts. The full bill of materials is listed on this page.
Where can I download the SWD2USBC Sample Target (Basic) 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 (Basic) 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 (Basic) 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