Skip to the content
PCBKitNew board
2 layers21.6 × 33.4 mmWCH Link, the printed circuit board in 3D

a cheap CMSIS-DAP debugger by an WCH chip named CH549F

Size
21.6 × 33.4 mm
Copper layers
2
Thickness
1.6 mm
Parts
23
Nets
19
Pads
90
Tracks, vias
155, 32
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
7 Feb 2021
Updated
7 Feb 2021

Overview

WCH Link is an open-source printed circuit board by kaidegit, from the kaidegit/CMSIS-DAPbyWCH repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 21.6 × 33.4 mm with 23 parts on 19 nets, routed with 155 tracks and 32 vias.

It is built around the AMS1117-3.3. Its parts include 7 capacitors, 6 resistors, 2 ICs, 2 diodes and 2 connectors. It belongs with the interfaces and adapters boards and the 8051 (CH55x, STC, AT89) boards of this library.

Main components

1

README

README.md

Maybe it is the cheapest cmsis-dap debugger.

Official description

Official schematic and mannual

Hardward

The main MCU is CH549F, which has a lot of advantages.

  • cheap. The MCU is a 8051 core, and the price is less than 5RMB. It is cheaper than CH32F103 to make a CMSIS-DAP debugger.
  • easy to soldering. The MCU is an SOP-16 package.
  • can also be small. The CH549 also have a QFN28 package.
  • can debug both ARM and RISC-V core MCU. (The target MCU should support SWD)

Firmware

The firmware is extract from MounRiver Studio.

Screenshot

MDK-ARM MDK-ARM openocd openocd size size

How to Flash

  • short connect the 1.27mm pin hole
  • plug in the type-c connector
  • open the WCHISPTool.(The installer is in "tools" folder)
  • choose the 8-bit CH54X series, set the MCU model to CH549, set the download way to USB, select the erase the DataFlash, choose the right USB device and the user program file(use WCHLINK_V1.2.bin)
  • click the flash button.
  • if all goes well, you will see the success count adding one. You can plug off and plug in the DIY WCH-Link. If the 2 LEDs are all on, plug off it and short connect the TX and GND and plug in.

How to Use

  • When using MDK-ARM, it can be use as a normal CMSIS-DAP debugger. However, when using openocd to drive the WCH-Link, you should define the vid and pid by using the code

    cmsis_dap_vid_pid 0x1a86 0x8011

    In command line, the code should be before "-c" parameter. while in .cfg file, it should be added as above picture.

for more information, check the documents in "documents" folder.

Parts

23
QtyValueFootprintReferences
5104Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolderC1, C2, C4, C5, C6
2106Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolderC3, C7
21KResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR5, R6
25K1Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR3, R4
2LEDDiode_SMD:D_0603_1608Metric_Pad1.05x0.95mm_HandSolderD1, D2
11MResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR2
14K7Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U2
1CH549NPackage_SO:SOP-16_3.9x9.9mm_P1.27mmU1
1DOWNLOADConnector_PinHeader_1.27mm:PinHeader_1x02_P1.27mm_HorizontalJ2
1FuseFuse:Fuse_0805_2012Metric_Pad1.15x1.40mm_HandSolderF1
1USB_C_Receptacle_USB2.0Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J1

The 20 most common of 23 parts.

Questions

How big is the WCH Link PCB?

It measures 21.6 × 33.4 mm and has 2 copper layers, 1.6 mm thick.

What parts does the WCH Link use?

23 parts, built around the AMS1117-3.3. 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 WCH Link KiCad files?

From the kaidegit/CMSIS-DAPbyWCH repository on GitHub, at the commit this page was made from: the board is hardware/WCH_Linkv0.1/WCH_Link.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the WCH Link design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 2 layers290.1 × 130 mmPro V2, the printed circuit board in 3D

    Pro V2

    kata0510/Lily58

    6×4+4keys column-staggered split keyboard.

    312 parts2.3k
  • 2 layers26.2 × 45.5 mmPL18 multiprotocol, the printed circuit board in 3D

    PL18 multiprotocol

    pascallanger/DIY-Multiprotocol-TX-Module

    Multiprotocol TX Module (or MULTI-Module) is a 2.4GHz transmitter module which controls many different receivers and models.

    24 parts1.9kGPL-3.0
  • 4 layers99 × 53.3 mmPSLab, the printed circuit board in 3D

    PSLab

    fossasia/pslab-hardware

    PSLab Hardware Design and Schematics https://pslab.io

    199 parts1.7kApache-2.0
  • 4 layers85 × 56 mmPslab mini, the printed circuit board in 3D

    Pslab mini

    fossasia/pslab-mini-hardware

    PSLab Mini Hardware https://pslab.io

    182 parts1.2kApache-2.0
  • 4 layers100 × 54 mm32Bit shift register, the printed circuit board in 3D

    32Bit shift register

    MaltWhiskey/Mega-Cube

    16x16x16 PL9823 Cube with Teensy 4.0 and FlexIO driver

    64 parts766
  • 2 layers44.2 × 29.3 mmI2c tiny usb, the printed circuit board in 3D

    I2c tiny usb

    harbaum/I2C-Tiny-USB

    Cheap and simple I²C to USB interface

    27 parts454
  • 2 layers78 × 60 mmIce viz, the printed circuit board in 3D

    Ice viz

    muni-works/vcad

    BRep CAD kernel in Rust/WASM

    44 parts442Apache-2.0
  • 2 layers59.1 × 99.9 mmCheap FOCer 2 60mm, the printed circuit board in 3D

    Cheap FOCer 2 60mm

    shamansystems/Cheap-FOCer-2

    Low-Cost Motor Controller based on the VESC 6

    193 parts407