MCU-Flash-Tools
MCU-Flash-Tools copied to clipboard
rvprog: WHC-LinkE returns code 2 (Unsupported programmer)
I tried to flash firmware to game console, but the rvprog returns an error code:
Searching for WCH-Link in RISC-V mode ...
ERROR: Unsupported programmer (code: 2)!
The programmer is from a different vendor (icbbuy.com), but uses the same USB ID:
Bus 003 Device 078: ID 1a86:8010 QinHeng Electronics WCH-Link
Should I just add the code manually or is there something else I need to consider before updating the rvprog code?
Looks like it's using CH32V307, but is compatible with LinkE:
https://github.com/cnlohr/ch32v003fun/blob/master/minichlink/pgm-wch-linke.c#L332C9-L334
The programmer came with 10x CH32V003 chips included.
Try now. If you installed the tool via pip, you need to reinstall or update it.
Works, thanks!