Skip to content

Releases: jnk0le/openocd-wch

MRS 1.80

28 Jan 12:33
Compare
Choose a tag to compare

Works with WCH-LinkE @v2.11 firmware.
It may be necessary to update the adapter firmware, use the WCH-LinkUtility to update the firmware. (attached one is trying to instal "CH345" driver instead of wlinke, you need to install driver manually before launching)

First, you need to install proprietary drivers (WCHLinkDrv_WHQL_S.exe in WCH-LinkUtility package) to be able to use it with wchlink. zadig trick doesn't work. (use the liberated builds for that)

-f "interface/wlink.cfg" -f "target/wch-riscv.cfg"

MRS 1.80 liberated

28 Jan 13:44
Compare
Choose a tag to compare

Works with WCH-LinkE @v2.11 firmware.
It may be necessary to update the adapter firmware, use the WCH-LinkUtility to update the firmware. (attached one is trying to instal "CH345" driver instead of wlinke, you need to extract and install WCHLinkDrv_WHQL_S.exe driver manually before launching)

First you need to use e.g. zadig to install WinUSB on "WCH-Link (interface 0)"

You cannot use the proprietary and WinUSB (libusb) drivers at the same time. (proprietry one is capable of installing on top of WinUSB, WCH tools are trying to install it automatically)

Recommended way of changing drivers is to uninstall previous driver first and then install new one:
device manager -> select WCH-Link(RV) ->properties -> driver -> uninstall device -> select box to "remove software for this device"
then unplug adepter and plug in again.

-f "interface/wlink.cfg" -f "target/wch-riscv.cfg"

ch347 (aka ch342 aka ch345 aka ch341) based adapters (HS jtag) still require DLL driver due to missing header file treideme#1 (GPL violation of course)

MRS 1.60 + rtt build

27 Sep 22:43
822273d
Compare
Choose a tag to compare

With additional rtt patch (should work on ch32v307). All further releases contain this patch.

works with WCH-LinkE @v2.7 firmware

First, you need to install proprietary drivers (WCHLinkDrv_WHQL_S.exe that I have extracted from wchlink-utility, or just run wchlink-utility for auto install) to be able to use it with wchlink. zadig trick doesn't work.

-f "interface/wlink.cfg" -f "target/wch-riscv.cfg"

Unlike in stm32, ch32 seems to continue execution after debug session was terminated.

MRS 1.60 build

29 Apr 19:03
3f905c8
Compare
Choose a tag to compare

works with WCH-LinkE @v2.7 firmware

First, you need to install proprietary drivers (WCHLinkDrv_WHQL_S.exe that I have extracted from wchlink-utility, or just run wchlink-utility for auto install) to be able to use it with wchlink. zadig trick doesn't work.

-f "interface/wlink.cfg" -f "target/wch-riscv.cfg"

Unlike in stm32, ch32 seems to continue execution after debug session was terminated.