Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
W

wlink

> 编程语言
Open source

An open source WCH-Link library/command line tool written in Rust.

325 stars0 likes3 views
WebsiteGitHub

About

An open source WCH-Link library/command line tool written in Rust.

wlink - WCH-Link(RV) command line tool

Crates.io Crates.io docs.rs GitHub release

Note This tool is still in development and not ready for production use.

Feature Support

  • Flash firmware, support Intel HEX, ELF and raw binary format
  • Erase chip
  • Halt, resume, reset support
  • Read chip info
  • Read chip memory(flash)
  • Read/write chip register - very handy for debugging
  • Code-Protect & Code-Unprotect for supported chips
  • Enable or Disable 3.3V, 5V output
  • SDI print support, requires 2.10+ firmware
  • Serial port watching for a smooth development experience
  • Windows native driver support, no need to install libusb manually (requires x86 build)

Tested On

Probes

Current firmware version: 2.15 (aka. v35).

NOTE: If you are using newer chips like CH32V317 or CH585, be sure to use the latest firmware.

NOTE: The firmware version is not the same as the version shown by WCH's toolchain. Because WCH calculates the version number by major * 10 + minor, so the firmware version 2.10 is actually v30 0x020a.

  • WCH-Link CH549 - the first version, reflash required when switching mode
  • WCH-LinkE CH32V305 - the recommended debug probe
  • WCH-LinkW CH32V208 - wireless version
  • WCH-Link? CH32V203

MCU

Note A common misunderstanding is that the CH32V2 and CH32V3 series has fewer flash! No it's not. The CH32V203 series has 224K available flash. The CH32V208 and CH32V30x series has 480K available flash. The number in the datasheet is the "zero-wait-state" flash size, which is not the same as the "available" flash size.

  • CH32V003
  • CH32V103
  • CH32V203/CH32V208
  • CH32V307
  • CH569/CH565
  • CH573/CH571
  • CH583/CH582/CH581
  • CH585/CH584
  • CH592/CH591
  • CH643
  • CH32V317 - I don't have this chip, help wanted
  • CH641
  • CH32X035/CH32X033
  • CH32L103
  • CH32H417
  • CH8571 - No other source about this chip, help wanted
  • ... (Feel free to open an issue if you have tested on other chips)

Install

cargo install --git https://github.com/ch32-rs/wlink or download a binary from the Nightly Release page.

Note On Linux, you should install libudev and libusb development lib first. Like sudo apt install libudev-dev libusb-1.0-0-dev on Ubuntu.

Arch Linux

Arch Linux users can install wlink-git via the AUR.

bash
yay -Syu wlink

Usage

Note For help of wire connection for specific chips, please refer to docs subdirectory.

…

References

  • docs/references.md
  • WCH's openocd fork:

License

This project is licensed under the MIT or Apache-2.0 license, at your option.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustch32vdebugrisc-vwch

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言