

WCH Link
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
1README
README.mdMaybe it is the cheapest cmsis-dap debugger.
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
openocd
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 0x8011In 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| Qty | Value | Footprint | References |
|---|---|---|---|
| 5 | 104 | Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder | C1, C2, C4, C5, C6 |
| 2 | 106 | Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder | C3, C7 |
| 2 | 1K | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R5, R6 |
| 2 | 5K1 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R3, R4 |
| 2 | LED | Diode_SMD:D_0603_1608Metric_Pad1.05x0.95mm_HandSolder | D1, D2 |
| 1 | 1M | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R2 |
| 1 | 4K7 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R1 |
| 1 | AMS1117-3.3 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U2 |
| 1 | CH549N | Package_SO:SOP-16_3.9x9.9mm_P1.27mm | U1 |
| 1 | DOWNLOAD | Connector_PinHeader_1.27mm:PinHeader_1x02_P1.27mm_Horizontal | J2 |
| 1 | Fuse | Fuse:Fuse_0805_2012Metric_Pad1.15x1.40mm_HandSolder | F1 |
| 1 | USB_C_Receptacle_USB2.0 | Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J1 |
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 mm

- 2 layers26.2 × 45.5 mm

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 mm

PSLab
fossasia/pslab-hardware
PSLab Hardware Design and Schematics https://pslab.io
199 parts1.7kApache-2.0 - 4 layers85 × 56 mm

- 4 layers100 × 54 mm

32Bit shift register
MaltWhiskey/Mega-Cube
16x16x16 PL9823 Cube with Teensy 4.0 and FlexIO driver
64 parts766 - 2 layers44.2 × 29.3 mm

- 2 layers78 × 60 mm

- 2 layers59.1 × 99.9 mm

Cheap FOCer 2 60mm
shamansystems/Cheap-FOCer-2
Low-Cost Motor Controller based on the VESC 6
193 parts407