Skip to the content
2 layers37.3 × 63.9 mmZero r2 mini w5500, the printed circuit board in 3D

Zero r2 mini w5500

mean00/swindle22

A custom version of the blackMagic probe with rust in it

Size
37.3 × 63.9 mm
Copper layers
2
Thickness
1.6 mm
Parts
53
Nets
69
Pads
206
Tracks, vias
323, 49
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
4 Mar 2022
Updated
25 Oct 2026

Overview

Zero r2 mini w5500 is an open-source printed circuit board by mean00, from the mean00/swindle repository on GitHub. It is a 2-layer board of 37.3 × 63.9 mm with 53 parts on 69 nets, routed with 323 tracks and 49 vias.

It is built around the RP2040-ZERO, W5500 and DMG2302U, with the HH-1M1608-121JT and J1B1211CCD among its other parts. Its parts include 19 capacitors, 18 resistors, 3 connectors, 2 ICs and 1 transistor. It belongs with the sensors and measurement and interfaces and adapters boards and the RP2040 boards of this library.

Main components

5

README

README.md
Swindle Debug Probe

🔧 SWINDLE — ARM / RISC-V Debug Probe

Turn any cheap dev board into a full-featured debug probe.

TL;DR — Got an RP2040 board lying around? You've got a debug probe.
Swindle is a multi-platform debug probe for embedded devices, supporting SWD (ARM Cortex-M) and RVSWD (RISC-V CH32V2xx/CH32V3xx). It's powered by the incredible Black Magic Probe engine with a custom Rust-based GDB interface.

✨ Features

CategoryDetails
🧠 EngineBuilt on top of the proven Black Magic Probe firmware engine
🦀 GDB InterfaceWritten in Rust — modern, safe, and maintainable
🔌 ProtocolsSWD (ARM) + RVSWD (RISC-V) — no JTAG
🎯 BreakpointsInfinite breakpoints in RAM (ARM/RV32) + soft flash breakpoints for targets without HW breakpoints (some WCH chips)
📡 RTOS SupportFreeRTOS awareness and SEGGER RTT out of the box — no configuration needed
💾 DFU UpdateFirmware updates over USB DFU — no programmer required
📺 RTT ChannelDedicated USB Tx only RTT channel (RP2xxx & CH32V3xx)
🌐 NetworkingExperimental networked version based on CH32V307 or RP2040+W5500 (DHCP + port 2000/20001)
🔋 Low CostRP2040-Zero boards are dirt cheap!
🔧 Voltage TranslationOptional custom PCB with voltage level translators

🧩 Supported Hardware

Probe Hosts (runs Swindle)

You need ≥256 KB flash and ≥48 KB RAM.

PlatformStatusNotes
RP2040 (e.g. RP2040-Zero)✅ StableThe most affordable option
RP2350 (e.g. RP2350-Zero)🧪 Experimental
GD32F303CCT6 (48/64-pin)✅ Stable
CH32V30xxx✅ StableRISC-V based host
Custom PCB🧩 OptionalWith voltage translators, mosfet on reset, ws2812

Debug Targets

ArchitectureProtocolDevice Families
ARM Cortex-MSWDRP2040, RP2350, STM32, GD32, and many ARM Cortex-M with SWD
RISC-VRVSWDWCH CH32V2xx, CH32V3xx

🚀 Getting Started

1. Flash the firmware

Pick the pre-built firmware for your board or build from source.

Flashing via DFU (RP2040): Hold BOOTSEL, plug in USB, then copy the .uf2 file.

2. Connect to your target

text
Probe SWDIO  →  Target SWDIO
Probe SWCLK  →  Target SWCLK
Probe GND    →  Target GND
Probe NRST   →  Target NRST   (optional, recommended)
Probe TX     →  Target Uart TX    (optional)

'see wiki for exact pinout'

3. Start debugging

bash
# Connect with GDB
gdb-multiarch -ex "target extended-remote /dev/ttyACM0" -ex "mon swdp_scan" -ex "attach 1" your_firmware.elf

Or use any GDB frontend (VS Code, CLion, etc.) — just point it to the serial port.


🔨 Building

This project uses CMake with presets for each target platform.

There is a devpod/docker build environment included.

Prerequisites

  • CMake ≥ 3.21
  • ARM GCC toolchain (arm-none-eabi-gcc) or LLVM/Clang
  • RISC-V toolchain (for CH32V targets)
  • Rust toolchain (for the GDB interface)

Configure & Build

bash
# Configure for your target
cmake --preset rp2040          # RP2040-Zero
cmake --preset rp2350          # RP2350-Zero
cmake --preset gd32f303_48     # GD32F303 48-pin
cmake --preset gd32f303_64     # GD32F303 64-pin
cmake --preset ch32v307        # CH32V307 (networked)

# Build
cmake --build --preset rp2040

Note: Some presets have variants with inverted NRST (*_inv), with WS2812 RGB led. See CMakePresets.json for the full list.

PresetDescription
rp2040RP2040-Zero (USB)
rp2040_invRP2040-Zero with inverted NRST
rp2350RP2350-Zero (USB, experimental)
gd32f303_48GD32F303 48-pin (USB)
gd32f303_64GD32F303 64-pin (USB)
gd32f303_48_inv_ws2812GD32F303 48-pin (USB) +WS2812 +inv RST
gd32f303_64_inv_ws2812GD32F303 64-pin (USB) +WS2812 +inv RST
ch32v307CH32V30x (USB)
ch32v307_inv_ws2812CH32V30x (USB) +ws2812 + inv RST
ch32v307_netCH32V307 (Ethernet, experimental)
rp2040_zero_w5500rp2040+w5500 (Ethernet, experimental)

📘 Documentation

Full documentation is available on the Swindle Wiki — covering:

  • 🔧 Hardware setup and wiring guides
  • 🖥️ GDB integration and troubleshooting
  • ⚙️ Advanced configuration
  • 🧪 RTOS-aware debugging
  • 🌐 Networked probe setup

🏗️ Project Architecture

text
swindle/                    # Debug probe wrapper
├── rs/                     # Rust GDB interface (rs_swindle / rsbmp)
│   ├── rs_swindle/         # Core GDB logic
│   └── rs_swindle_wrapper/ # C → Rust bridge
└── swindle/                # C++ Black Magic Probe engine + wrapper

esprit/                     # C++ / Rust SDK framework (HAL + RTOS + MCU drivers)

assets/                     # Images and media
cmake/                      # Project-level CMake utilities

🖼️ Gallery

Small probe, big targetRP2040 + CH32V
RP2040-Zero debugging RP2040RP2040 debugging CH32V
:------------------------::--------------:


🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.


📄 License

This project is built on the Black Magic Probe engine, licensed under GPL-3.0.

Parts

53
QtyValueFootprintReferences
90.1uFCapacitor_SMD:C_0603_1608MetricC15, C16, C18, C19, C21, C22, C23, C56, C63
43.3RResistor_SMD:R_0603_1608MetricR51, R52, R53, R54
449.9RResistor_SMD:R_0603_1608MetricR27, R28, R49, R50
31uFCapacitor_SMD:C_0603_1608MetricC17, C20, C24
34.7KResistor_SMD:R_0603_1608MetricR14, R56, R58
218pFCapacitor_SMD:C_0603_1608MetricC66, C67
2470RResistor_SMD:R_0603_1608MetricR32, R47
26.8nFCapacitor_SMD:C_0603_1608MetricC54, C55
110R/1%Resistor_SMD:R_0603_1608MetricR48
112.4K/1%Resistor_SMD:R_0603_1608MetricR55
11MResistor_SMD:R_0603_1608MetricR57
11kResistor_SMD:R_0603_1608MetricR1
11nF/2kVCapacitor_SMD:C_0603_1608MetricC35
122nFCapacitor_SMD:C_0603_1608MetricC53
125MHzCrystal:Crystal_SMD_TXC_7M-4Pin_3.2x2.5mmY4
1330Resistor_SMD:R_0603_1608MetricR2
14.7uFCapacitor_SMD:C_0603_1608MetricC62
1DMG2302UPackage_TO_SOT_SMD:SOT-23Q1
1Debug portConnector_JST:JST_XH_B5B-XH-A_1x05_P2.50mm_VerticalJ5
1G***kibuzzard-67D71CE3kibuzzard-67D71CE3
1G***kibuzzard-6A66F7EEkibuzzard-6A66F7EE
1G***kibuzzard-67D71D3Akibuzzard-67D71D3A
1G***kibuzzard-67D71D53kibuzzard-67D71D53
1G***kibuzzard-67D71D2Akibuzzard-67D71D2A
1HH-1M1608-121JTInductor_SMD:L_0603_1608MetricL1
1J1B1211CCDConnector_RJ:RJ45_Hanrun_HR911105A_HorizontalP4
1RP2040 DebugConnector_PinHeader_1.27mm:PinHeader_1x05_P1.27mm_VerticalJ3
1RP2040-ZeroRP2040 Carrier:RP2040 ZeroU1
1W5500w5500:48LQFP_W5500_WIZU5

The 50 most common of 53 parts.

More from mean00/swindle

12
  • 2 layers49.8 × 33.3 mmSwindle ch32 revJ, the printed circuit board in 3D

    Swindle ch32 revJ

    mean00/swindle

    A custom version of the blackMagic probe with rust in it

    65 parts22
  • 2 layers49.2 × 31.7 mmGd32f303 revG, the printed circuit board in 3D

    Gd32f303 revG

    mean00/swindle

    A custom version of the blackMagic probe with rust in it

    61 parts22
  • 2 layers38.3 × 34 mmSwindle ch32 revJ mini, the printed circuit board in 3D

    Swindle ch32 revJ mini

    mean00/swindle

    A custom version of the blackMagic probe with rust in it

    57 parts22
  • 2 layers39.3 × 30.1 mmGd32f303 revG mini, the printed circuit board in 3D

    Gd32f303 revG mini

    mean00/swindle

    A custom version of the blackMagic probe with rust in it

    56 parts22
  • 2 layers39.6 × 35.3 mmSwindle ch32 revJshort, the printed circuit board in 3D

    Swindle ch32 revJshort

    mean00/swindle

    A custom version of the blackMagic probe with rust in it

    54 parts22
  • 2 layers51 × 33.3 mmLnBMP ch32 revF 5pins, the printed circuit board in 3D

    LnBMP ch32 revF 5pins

    mean00/swindle

    A custom version of the blackMagic probe with rust in it

    53 parts22
  • 2 layers51 × 33.3 mmLnBMP ch32revE, the printed circuit board in 3D

    LnBMP ch32revE

    mean00/swindle

    A custom version of the blackMagic probe with rust in it

    52 parts22
  • 2 layers52.6 × 33 mmLnBMP stm32, the printed circuit board in 3D

    LnBMP stm32

    mean00/swindle

    A custom version of the blackMagic probe with rust in it

    50 parts22
  • 2 layers51 × 33.3 mmLnBMP ch32revC, the printed circuit board in 3D

    LnBMP ch32revC

    mean00/swindle

    A custom version of the blackMagic probe with rust in it

    42 parts22
  • 2 layers52.6 × 33 mmLnBMP stm32, the printed circuit board in 3D

    LnBMP stm32

    mean00/swindle

    A custom version of the blackMagic probe with rust in it

    33 parts22
  • 2 layers41.8 × 30.2 mmZero r1, the printed circuit board in 3D

    Zero r1

    mean00/swindle

    A custom version of the blackMagic probe with rust in it

    31 parts22
  • 2 layers41.8 × 30.2 mmZero r2, the printed circuit board in 3D

    Zero r2

    mean00/swindle

    A custom version of the blackMagic probe with rust in it

    29 parts22

Similar boards

  • 2 layers119.4 × 96.5 mmGizmo, the printed circuit board in 3D

    Gizmo

    gizmo-platform/hardware

    143 parts5CERN-OHL-P-2.0
  • 4 layers280 × 80 mmIteration3, the printed circuit board in 3D

    Iteration3

    Arjit40/Underwater-ROBOT-PCB-with-stm32h473vit6-and-ethernet-W5500-IC--iteration-3

    165 parts
  • 4 layers50 × 21.4 mmEthernet, the printed circuit board in 3D

    Ethernet

    sneakylizard123-4/Ethernet_module

    A small SPI Ethernet breakout for the W5500.

    35 parts
  • 4 layers62 × 67 mmAdapter, the printed circuit board in 3D

    Adapter

    tridentsx/tmc-gateway

    TinyGo firmware for an RP2350-based USB/PoE-LAN instrument gateway: bridges USBTMC/USB488 and HiSLIP to GPIB

    92 parts
  • 6 layers100.2 × 100.1 mmPeripheral board v1a, the printed circuit board in 3D

    Peripheral board v1a

    BroncoSpace-Lab/scales-hardware

    Hardware design files for the Spacecraft Compartmentalized Autonomous Learning and Edge Computing System (SCALES)

    220 parts6
  • 4 layers150.1 × 72 mmArduino mega io protection, the printed circuit board in 3D

    Arduino mega io protection

    davisjp1822/Quince_2560i

    Digital Input Protection Board with Ethernet for the Arduino Mega 2560

    191 partsGPL-3.0
  • 4 layers102 × 86 mm2102 dio 0808 main, the printed circuit board in 3D

    2102 dio 0808 main

    hamayanShowa-ele/kicad_share

    kicad share data.

    233 parts
  • 2 layers80 × 75 mmEnvironment sensor, the printed circuit board in 3D

    Environment sensor

    SeanDS/environment-sensor

    Ethernet-enabled dust particle, temperature and humidity sensor module

    110 parts

Questions

How big is the Zero r2 mini w5500 PCB?

It measures 37.3 × 63.9 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Zero r2 mini w5500 use?

53 parts, built around the RP2040-ZERO, W5500, DMG2302U and HH-1M1608-121JT. 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 Zero r2 mini w5500 KiCad files?

From the mean00/swindle repository on GitHub, at the commit this page was made from: the board is kicad/rp2040_zero/rev2_w5500/zero_r2_mini_w5500.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Zero r2 mini w5500 design in my own project?

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