CH32Vxx : WCH_LINKW in riscv mode

Edit: There is a much simpler way. Press the Key Button will connecting the USB-C , it will switch between ARM & RISCV


I recently bought the WeAct WCHLINK-W, a small dap style debugger 

(both USB & BT)

 


At first it is configured in Arm/SWD mode and is being listed as 

1a86:8012 QinHeng Electronics by lsusb.

On linux, the simpler way to switch it to RiscV mode is to download mountriver community 
Then go to Flash->Configuration

Click Query on the "Target Mode" line.
It should be detected as WCH DapLink
Switch it to "WCH Link RV", click apply , wait 2 seconds and done!

The id of the device has changed and now lsusb should report
1a86:8010 QinHeng Electronics

Comments

Popular posts from this blog

Component tester with STM32 : Part 1 ADC, Resistor

Fixing the INA3221

INA3221, weird wiring