百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
W

wlink

> 编程语言
开源

一个使用 Rust 编写的 WCH-Link 库/命令行工具。

325 stars0 点赞3 次浏览
访问官网GitHub

工具介绍

一个使用 Rust 编写的 WCH-Link 库/命令行工具。

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 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustch32vdebugrisc-vwch

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

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