wlink icon indicating copy to clipboard operation
wlink copied to clipboard

Feature Request: Upgrade WCH-Link firmware

Open andelf opened this issue 1 year ago • 4 comments

esp. for macOS users.

andelf avatar Nov 23 '23 16:11 andelf

hi Can you add show virsion of firmware in wchlink?

sass20 avatar Feb 18 '24 12:02 sass20

It's already displayed in basic logging:

16:26:11 [INFO] Connected to WCH-Link v2.11(v31) (WCH-LinkE-CH32V305)

v31 is used by official tools. v2.11 is the original version. => 0x020a

andelf avatar Feb 19 '24 04:02 andelf

I connect wch-linkE only, wutout targer cpu and run wlink.exe -v

wlink.exe -v 19:51:13 [INFO] Found WCH-LinkRV, Bus 001 Device 005: ID 1a86:8010 No command given, use --help for help. hint: use wlink status to get started.

if I run command wlink.exe status it is have this output wlink.exe status Error: USB error: Entity not found

Caused by: Entity not found What is options need place for show [INFO] Connected to

i start wlink.exe on WIN10 OS thank you

sass20 avatar Feb 19 '24 19:02 sass20

A new "list" subcommand is added recently.

andelf avatar Feb 20 '24 09:02 andelf

I have the first WCH-Link, the one based on CH549. I want to flash a CH32V003, which is currently not supported.

So I tried upgrading the WCH-Link firmware, using the file WCH-LinkUtility/Firmware_Link/FIRMWARE_CH549.bin from the WCH Link Utility zip file with the J1 switch and wchisp. Now it is no longer showing up on USB. There are also the following files:

FIRMWARE_CH32V203.bin  FIRMWARE_CH549.bin      WCH-DAPLink_APP_IAP.bin   WCH-LinkE-APP-IAP.bin
FIRMWARE_CH32V208.bin  FIRMWARE_DAP_CH549.bin  WCH-Link_APP_IAP_ARM.bin  WCH-LinkW-APP-IAP.bin
FIRMWARE_CH32V305.bin  firmware_version.txt    WCH-Link_APP_IAP_RV.bin   wchlink.wcfg

Do you have any idea? Would I need to flash one of those *_APP_* files to another location?

EDIT: I flashed the WCH-Link_APP_IAP_RV.bin and now the programmer shows up as 1a86:8010 QinHeng Electronics WCH-Link again. :relieved:

orangecms avatar Nov 03 '24 23:11 orangecms