Skip to the content
4 layers66.2 × 30.9 mmUni dap, the printed circuit board in 3D

UniDAP hardware repo

Size
66.2 × 30.9 mm
Copper layers
4
Thickness
2.03 mm
Parts
149
Nets
134
Pads
523
Tracks, vias
1,087, 187
Pours
9
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
5 Sep 2026
Updated
5 Sep 2026

Overview

Uni dap is an open-source printed circuit board by Reutronix, from the Reutronix/uni-dap-v3 repository on GitHub. It is a 4-layer board of 66.2 × 30.9 mm with 149 parts on 134 nets, routed with 1,087 tracks and 187 vias.

It is built around the CH347F, SN6505ADBV and TPS62A02ADRL, with the ADUM4160BRW, TXB0102DCU and USBLC6-2P6 among its other parts. Its parts include 54 capacitors, 50 resistors, 16 diodes, 10 ICs and 4 connectors. It belongs with the interfaces and adapters boards and the STM32 boards of this library.

Main components

11

README

README.md

UniDAP

Galvanically isolated CMSIS-DAP debug probe with USB-to-I²C/SPI/GPIO bridging.

UniDAP is an open hardware debug/programming probe. It combines a full USB-isolated CMSIS-DAP probe (SWD + UART) with a USB-to-I²C/SPI/GPIO bridge, so a single USB-C cable gives you target programming, a serial console, general-purpose bus access, and isolated power — all on the far side of a galvanic isolation barrier.

UniDAP


Features

  • Full galvanic isolation between the host USB and the target — data and power.
  • CMSIS-DAP / DAPLink probe on an STM32F103 (SWD + virtual UART).
  • USB-to-I²C/SPI/GPIO bridge via a WCH CH347F, exposed on the same output header.
  • Isolated power rails to the target: 5 V, 3.3 V, and a software-gated power output.
  • Two SWD interfaces: a 2.54 mm 24-position fan-out header and a standard 1.27 mm 10-pin ARM Cortex Debug box header.
  • Optional UART level shifter referenced to the target supply.
  • Self-programmable: the on-board STM32 can be flashed for the first time over the CH347, with no external tools.

Architecture

A single USB-C connection is isolated for both data and power, then fanned out on the isolated side to the STM32 (DAPLink) and the CH347 through a 2-port USB hub.

mermaid
flowchart TB
    subgraph HOST["Host side (non-isolated)"]
        USBC["USB-C"]
    end

    subgraph BARRIER["Isolation barrier"]
        ADUM["ADuM4160<br/>USB isolator<br/>+ current limit / reverse-current protection"]
        SN["SN6505ADBV + transformer<br/>isolated 5 V supply"]
    end

    subgraph ISO["Isolated side"]
        HUB["CY7C65634<br/>2-port USB hub"]
        STM["STM32F103<br/>DAPLink (SWD + UART)"]
        CH["CH347F<br/>USB → I²C / SPI / GPIO"]
        H20["24-pin 2.54 mm<br/>output header"]
        H10["10-pin 1.27 mm<br/>Cortex Debug"]
    end

    USBC --> ADUM --> HUB
    USBC --> SN
    SN -. isolated 5 V .-> ISO
    HUB --> STM
    HUB --> CH
    STM -->|SWD + UART| H20
    STM -->|SWD| H10
    CH -->|I²C / SPI / GPIO| H20

Key components

FunctionPart
Main MCU / debug probeSTM32F103 (running DAPLink)
USB → I²C / SPI / GPIO bridgeWCH CH347F
USB isolatorAnalog Devices ADuM4160
Isolated 5 V supplyTI SN6505ADBV push-pull transformer driver + transformer
USB hub (isolated side)Cypress CY7C65634 (2-port)
Gated power outputideal-diode switch, GPIO-controlled
UART level shifter (optional)U502 (target-referenced)

Connectors & pinouts

24-pin 2.54 mm output header

The main fan-out header carries the SWD programming signals from the STM32, the DAPLink UART, the CH347 I²C/SPI/GPIO lines, and the isolated power rails (5 V, 3.3 V, and the gated VOUT). It uses an odd/even footprint: odd pins on one row, even pins on the other, with pin 1 and pin 2 side by side. Refer to on-board bottom side silkscreen.

UniDAP 24-pin output header pinout

PinSignalGroupPinSignalGroup
1GNDGround25VPower
33.3VPower4VOUTGated power
5GPIO5GPIO6GNDGround
7GNDGround8SCLI²C
9GPIO1GPIO10SDAI²C
11SPI_SCKSPI12GPIO2GPIO
13SPI_CSSPI14GNDGround
15SPI_MISOSPI16UART_TXUART
17SPI_MOSISPI18UART_RXUART
19GPIO3GPIO20GNDGround
21GNDGround22SWCLKSWD
23RESETSWD24SWDIOSWD

Note: VOUT (pin 4) is the gated power output. In the standard configuration it is switched by CH347 GPIO1 (pin 9) through the on-board ideal diode — see Configuration. RESET (pin 23) is the target reset line.

10-pin 1.27 mm Cortex Debug header

Standard ARM Cortex Debug connector pinout — compatible with common SWD adapters and cables.

PinSignalPinSignal
1VTREF2SWDIO / TMS
3GND4SWCLK / TCK
5GND6SWO / TDO
7KEY (n/c)8NC / TDI
9GNDDetect10nRESET

STM32 SWD programming pads (SMD)

Bottom pads

Bare SMD pads are provided to program the STM32 over SWD directly (solder wires). Used mainly to recover a blank part or one without a USB bootloader. See First-time STM32 programming.


Configuration (jumpers & DNP options)

UniDAP ships in a standard configuration; several jumpers/footprints let you reconfigure it.

RefDefaultFunction
R501PopulatedRoutes CH347 GPIO1 to the ideal-diode gate, so GPIO1 controls the gated power output (standard config).
R502UnpopulatedAlternate route for CH347 GPIO1 to the main output header as a plain GPIO. Populate R502 and remove R501 to expose GPIO1 on the header instead of driving the gated output.
U502UnpopulatedOptional UART level shifter, supplied from the target voltage.
R505 / R507PopulatedDirect (unshifted) connection of the DAPLink UART to the output header. Remove R505/R507 and populate U502 to route the UART through the level shifter.

Gated power output: by default the isolated power to the target passes through an ideal-diode switch enabled by CH347 GPIO1, so power to the target can be switched under software control.

Level-shifted UART: in the standard configuration the DAPLink UART goes straight to the output header. Populating U502 (and removing R505/R507) shifts the UART to the target's logic level, referenced to the target supply.


Firmware

The probe runs DAPLink (main branch).

  • Board ID: 0080
  • Provides: CMSIS-DAP (SWD) + a virtual UART bridge.

First-time STM32 programming

The STM32 can be programmed for the first time (or recovered when no USB bootloader is present) two ways:

  1. Over the CH347 (no external tools). The CH347 UART0 is wired to the STM32 UART, and the STM32 BOOT0 pin is driven by CH347 GPIO0. Asserting BOOT0 enters the STM32F103 system bootloader, and the firmware is flashed over UART. Use STM32CubeProgrammer to download the image.
  2. Over SWD. Solder wires to the SWD SMD pads and flash with any CMSIS-DAP/ST-Link adapter.

Acknowledgements

  • DAPLink by Arm — the CMSIS-DAP firmware UniDAP is based on.
  • WCH (CH347), Analog Devices (ADuM4160), TI (SN6505), Cypress/Infineon (CY7C65634).

Parts

149
QtyValueFootprintReferences
27100nFReutronix_capacitors_SMD:C_0402C302, C305, C307, C309, C311, C312, C313, C314, C323, C325, C326, C327, C328, C330, C331, C332 +11
1310kReutronix_resistor_SMD:R_0402R303, R310, R311, R312, R313, R322, R323, R409, R415, R416, R418, R419, R420
120RReutronix_resistor_SMD:R_0402R308, R317, R402, R414, R417, R501, R502, R503, R504, R505, R506, R507
12ESD5V0B03-1006Reutronix_diodes_SMD:DFN1006-2_SMD0402D402, D403, D404, D405, D406, D407, D501, D502, D503, D504, D505, D506
910uFReutronix_capacitors_SMD:C_0603C303, C304, C306, C308, C310, C320, C324, C401, C501
722RReutronix_resistor_SMD:R_0402R318, R319, R320, R321, R410, R411, R412
41.5kReutronix_resistor_SMD:R_0402R401, R403, R404, R413
418pFReutronix_capacitors_SMD:C_0402C407, C408, C411, C412
44.7uFReutronix_capacitors_SMD:C_0402C315, C316, C322, C329
3100kReutronix_resistor_SMD:R_0402R301, R304, R314
34.7kReutronix_resistor_SMD:R_0402R324, R407, R408
3TAC_SW_4P_6mmReutronix_Switches:TS_6x6mmSW401, SW402, SW403
210pFReutronix_capacitors_SMD:C_0402C318, C319
2120R@100MHzInductor_SMD:L_0805_2012MetricL302, L303
21uFReutronix_capacitors_SMD:C_0402C321, C406
222pFReutronix_capacitors_SMD:C_0402C333, C334
233RReutronix_resistor_SMD:R_0402R405, R406
25.1kReutronix_resistor_SMD:R_0402R306, R307
28MHzCrystal:Crystal_SMD_2520-4Pin_2.5x2.0mmY302, Y402
29pFReutronix_capacitors_SMD:C_0402C409, C410
2DMG3415UFY4QReutronix_packages_DFN_QFN:DMG3415UFY4Q-7Q501, Q502
2MBR1020VLDiode_SMD:D_SOD-123FD302, D303
1100pFReutronix_capacitors_SMD:C_0402C317
110MReutronix_resistor_SMD:R_0402R309
110nFReutronix_capacitors_SMD:C_0402C301
112MHzCrystal:Crystal_SMD_2520-4Pin_2.5x2.0mmY301
12.2uHInductor_SMD:L_1008_2520MetricL301
132.768kHzCrystal:Crystal_SMD_3215-2Pin_3.2x1.5mmY401
1453kReutronix_resistor_SMD:R_0402R302
147.5kReutronix_resistor_SMD:R_0402R316
1649RReutronix_resistor_SMD:R_0402R315
1750315240Reutronix_magnetics:750315240TR301
1ADUM4160Package_SO:SOIC-16W_7.5x10.3mm_P1.27mmU306
1CH347FPackage_DFN_QFN:QFN-28-1EP_4x4mm_P0.4mm_EP2.3x2.3mmU307
1CY7C65634Package_DFN_QFN:QFN-28-1EP_5x5mm_P0.5mm_EP3.35x3.35mmU304
1Conn_02x12_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x12_P2.54mm_VerticalJ502
1Conn_ARM_JTAG_SWD_10Reutronix_connectors:SAMTEC_FTSH-105-XX-X-DVJ501
1LED_GREENReutronix_diodes_SMD:LED_0402D401
1LED_REDReutronix_diodes_SMD:LED_0402D301
1PCBNBT_PCB_stackup:4layer_ENIG_GREEN_JLC7628PCB101
1PRGReutronix_connectors:PROG_HEADER_SMDJ401
1SN6505ADBVPackage_TO_SOT_SMD:SOT-23-6U305
1SS8550Package_TO_SOT_SMD:SOT-323_SC-70Q401
1STM32F103CBTxPackage_QFP:LQFP-48_7x7mm_P0.5mmU401
1TPS62A02APackage_TO_SOT_SMD:SOT-563U302
1TXB0102DCUPackage_SO:VSSOP-8_2.3x2mm_P0.5mmU502
1USBLC6-2P6Package_TO_SOT_SMD:SOT-666U303
1USB_C_Receptacle_USB2.0_16PINConnector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalJ301
1XC8111AA018R-GReutronix_packages_USP:USP-6B06U501
1ТРАР22811AW5Package_TO_SOT_SMD:SOT-23-5U301

Similar boards

  • 4 layers68 × 45 mmInterface DAC, the printed circuit board in 3D

    Interface DAC

    nonameCCC/PHASE-1

    A compact modularized audio DAC & Headphone Amplifier.

    146 partsGPL-3.0
  • 4 layers170.2 × 170.2 mmNvme Carrier all M2, the printed circuit board in 3D

    Nvme Carrier all M2

    El-Luhb/nvme-Carrier-for-LattePanda-Mu

    nvme Carrier PCB for the LattePanda Mu compute module

    400 parts12MIT
  • 4 layers160 × 90 mmMotherboard v3C, the printed circuit board in 3D

    Motherboard v3C

    Astronuat21/4DS

    An unnofficial succesor to the Nintendo 3DS.

    373 parts5AGPL-3.0
  • 2 layersHandbell, the printed circuit board in 3D

    Handbell

    dcuccia/digital-handbell

    A software and hardware project to create a digital handbell using microcontrollers and speakers and gesture recognition

    95 partsMIT
  • 2 layers101.2 × 199.1 mmApollo, the printed circuit board in 3D

    Apollo

    Professor-plum/SAINTCON-BADGE-2026

    Electronic badge for SAINTCON2026

    80 parts5MIT
  • 2 layers158.1 × 124.5 mmUsb1, the printed circuit board in 3D

    Usb1

    neuroidss/FreeEEG32-beta

    as FreeEEG32 plus alpha1.5 test passed, FreeEEG32 project changed to beta version

    213 parts166AGPL-3.0
  • 4 layers69.8 × 69.8 mmFreeEEG32, the printed circuit board in 3D

    FreeEEG32

    neuroidss/FreeEEG32-alpha1.0

    ALPHA1.0 TEST FAILED, USE NEW VERSION INSTEAD FreeEEG32 alpha1.0 32 channels mobile electroencephalography under GNU AGPL 24 bits, 4kSPS ADCs 4x AD7770 MCU STM32F427ZI WIFI ESP-12F (ESP8266) USB CP2102N Accel & hyro…

    217 parts39AGPL-3.0

Questions

How big is the Uni dap PCB?

It measures 66.2 × 30.9 mm and has 4 copper layers, 2.03 mm thick.

What parts does the Uni dap use?

149 parts, built around the CH347F, SN6505ADBV, TPS62A02ADRL and ADUM4160BRW. 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 Uni dap KiCad files?

From the Reutronix/uni-dap-v3 repository on GitHub, at the commit this page was made from: the board is uni-dap.kicad_pcb and its schematic dap-link.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Uni dap design in my own project?

Its repository states no licence, so its author keeps all rights: ask Reutronix before reusing the design.