Note This tool may not be ready for production use. This fork is an LLM-asssisted port to Zig 0.16.
- 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)
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 v300x020a.
- 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
- CH32V003
- CH32V103
- CH32V203/CH32V208
- CH32V307
- CH569/CH565
- CH573/CH571
- CH583/CH582/CH581
- CH585/CH584
- CH592/CH591
- CH643
- CH641
- CH32X035/CH32X033
- CH32L103
- CH32H417
- docs/references.md
- WCH's openocd fork: https://github.com/treideme/openocd-hacks
This project is licensed under the MIT or Apache-2.0 license, at your option.