

Swd adapter
Compact passive SWD adapter connecting ARM20 debuggers to TC2030 and 10-pin Cortex SWD cables. Features a 26 × 32 mm PCB, rounded corners, grounded M3 mounting holes, and pin labels. Includes KiCad 10 source files, 3D previews, Gerbers, drill files, and assembly instructions.
- Size
- 26 × 32 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 5
- Nets
- 14
- Pads
- 38
- Tracks, vias
- 73, 1
- Pours
- 4
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 9 Sep 2026
- Updated
- 9 Sep 2026
Overview
Swd adapter is an open-source printed circuit board by vsreality, from the vsreality/swd-adapter repository on GitHub. It is a 2-layer board of 26 × 32 mm with 5 parts on 14 nets, routed with 73 tracks and 1 via.
It belongs with the interfaces and adapters boards of this library.
README
README.mdSWD Adapter
A passive adapter connecting an ARM20 debugger to a Tag-Connect TC2030 cable or a 10-pin Cortex SWD cable.

Open the project
Open swd-adapter.kicad_pro in KiCad 10 or newer. The schematic and fully routed PCB are included. A rendered schematic preview is available without opening KiCad.
Specifications
- 26 × 32 mm, two-layer PCB with 2 mm radius corners.
- 1.6 mm FR-4, 1 oz copper, solder mask and silkscreen on both faces.
- Two 3.2 mm plated M3 mounting holes, 24 mm apart.
- Exposed 6.4 mm grounded mounting pads on both faces; metal hardware contacts circuit ground.
- Ground pours on both layers; 0.2 mm tracks and one 0.3 mm drill signal via.
- Port names, orientation brackets and direct pin labels; M3 labels on the back.
Headers and pinout
| Reference | Board label | Header |
|---|---|---|
| J1 | ARM20 | 2×10, 2.54 mm, unshrouded through-hole |
| J2 | TC2030 | 2×3, 2.54 mm, unshrouded through-hole |
| J3 | SWD10 | 2×5, 1.27 mm, surface-mount |
| Signal | ARM20 | TC2030 | SWD10 |
|---|---|---|---|
| VTREF | 1 | 1 | 1 |
| SWDIO / DIO | 7 | 2 | 2 |
| SWCLK / CLK | 9 | 4 | 4 |
| SWO | 13 | 6 | 6 |
| nRESET / RST | 15 | 3 | 10 |
| GND | Even pins 4–20 | 5 | 3, 5, 9 |
The back silkscreen labels every ARM20 signal pin:

ARM20 pins 2, 3, 5, 11, 17 and 19 are unused. SWD10 pin 7 is the key position; pin 8 is unused. This is an SWD adapter, not a full JTAG adapter. GND words are omitted from silkscreen; electrical ground connections remain present.
TC2030 accepts the ordinary IDC end of a TC2030-IDC or TC2030-IDC-NL cable, not its pogo-pin end.
Assembly and use
- Fit the headers in assembly.csv. Confirm the selected SMD header's mechanical drawing matches the PCB footprint.
- Remove or omit SWD10 pin 7 for a cable socket with a blocked key position. Its unconnected PCB pad remains; the generic 3D model may still show the pin.
- Align cable pin 1 with the board marking. PIN 1 = STRIPE refers to the colored ribbon-cable edge, usually red. Brackets indicate the cable key side; bare headers have no physical locks.
- Connect one debugger and one target at a time, using either target output.
- Power the target externally. VTREF senses target voltage; this adapter supplies no target power or level shifting.
Mounting-hole centers are 22 mm from the left edge and 4 mm from the top and bottom edges. Each has a 7 mm track/via keepout for hardware. Plated barrels connect the exposed ground pads on both faces, so extra mounting-hole vias are unnecessary.
Production files
- Fabrication ZIP — upload for bare PCB manufacture.
- Full production package — source snapshots, fabrication files, checks, assembly list and SHA-256 manifest.
- Production notes — ordering and assembly details.
- Unpacked Gerbers and drills.
Exports include both copper layers, masks, silkscreens, board outline and matching metric Excellon drills. The NPTH file is intentionally empty because the mounting holes are plated. Assembly is manual.
Validation
The production export was checked with KiCad 10:
- Zero ERC violations.
- Zero unconnected items and zero schematic parity issues.
- Three library-copy mismatch warnings for the header footprints retained from KiCad 9; no other DRC violations were reported.
See release check reports for details and ignored check categories. Manufacturing uses the footprints saved in the board. Physical cable housing fit and operation have not yet been tested on a prototype.
Repository contents
| Path | Contents |
|---|---|
swd-adapter.kicad_* | Current KiCad project, schematic and PCB |
manufacturing/ | Fabrication exports |
production/ | Dated release and ordering archives |
preview/ | Front and back board renders, and a schematic preview |
routing/ | Historical router exchange files and synchronization script |
*.py | Historical construction/editing scripts |
The saved KiCad files are authoritative. Do not replay the historical scripts or router session over the finished board. generate.py refuses to overwrite an existing PCB.
.gitignore excludes KiCad local state, locks, backups, logs and downloaded routing tools. Production archives and previews are intentionally tracked. .gitattributes preserves exact file bytes, including fabrication exports.
References
Parts
5| Qty | Value | Footprint | References |
|---|---|---|---|
| 2 | MountingHole_Pad | MountingHole:MountingHole_3.2mm_M3_Pad | H1, H2 |
| 1 | ARM20 / ST-LINK | Connector_PinHeader_2.54mm:PinHeader_2x10_P2.54mm_Vertical | J1 |
| 1 | Cortex SWD SMD | Connector_PinHeader_1.27mm:PinHeader_2x05_P1.27mm_Vertical_SMD | J3 |
| 1 | TC2030 cable | Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Vertical | J2 |
Questions
How big is the Swd adapter PCB?
It measures 26 × 32 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Swd adapter use?
5 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Swd adapter KiCad files?
From the vsreality/swd-adapter repository on GitHub, at the commit this page was made from: the board is production/v0.1-2026-09-08/source/swd-adapter.kicad_pcb and its schematic production/v0.1-2026-09-08/source/swd-adapter.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Swd adapter design in my own project?
Its repository states no licence, so its author keeps all rights: ask vsreality before reusing the design.
Similar boards
- 2 layers98 × 27 mm

- 2 layers21 × 33 mm

24g2usb pico2w
joypad-ai/joypad-os
Universal controller firmware for building adapters, dongles, and custom controllers.
5 parts1.7kApache-2.0 - 2 layers53.2 × 59.6 mm

A10 OLinuXino Lime Rev B SHIELD TEMPLATE
OLIMEX/OLINUXINO
OLINUXINO is Open Source / Open Hardware, low cost from EUR 24 Linux Industrial grade Single Board Computer capable to operate -25+85C
5 parts1.5k - 2 layers30 × 11 mm

Main control board servo tester
jamro/tiny-engineer
A small desktop robot that brings an AI coding assistant to life, physically acting out when it reads files, thinks, writes code, and finishes work.
5 parts1.1k - 2 layers78.8 × 35.3 mm

KiCadTest
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!
5 parts915 - 2 layers50 × 23 mm

- 2 layers43.2 × 28.5 mm

- 2 layers20.3 × 15.2 mm

L0 light sensor
Luos-io/luos_engine
Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.
5 parts546MIT