Program CH32V003 with WCH-LinkE using MounRiver Studio on Windows 11
This video show steps to install MounRiver Studio on Windows 11, include USB
driver.
Create and build project in MounRiver Studio.
And download
program to
nanoCH32V003
with
WCH-LinkE.
CH32V003 WCH-LinkE
---------------------
3V3 3V3
DIO SWDIO
GND GND
Download, install and run MounStudio for Windows
http://www.mounriver.com/download.
It will update USB driver automatically.
WCH-LinkE can be used to program RISV-V and ARM. To program CH32V003, it has to be set to WCH-LinkRV mode.
If it's error of:
It will update USB driver automatically.
WCH-LinkE can be used to program RISV-V and ARM. To program CH32V003, it has to be set to WCH-LinkRV mode.
To query and set Target Mode between WCH-LinkRV and WCH-DAPLink:
Click on Download button on top menu bar > Configuration, follow the steps in the video.
- In WCH-LinkRV mode (for RISC-V)
Click on Download button on top menu bar > Configuration, follow the steps in the video.
- In WCH-LinkRV mode (for RISC-V)
BLUE LED is off
- In WCH-DAPLink mode (for ARM)
BLUE LED is on
BLUE LED is on
Read-Protect currently enabled. Click "Disable Read-Protect" button in "Download Configuration" then retry.
> Flash > Configuration or
Download button > Configuration
Click on the un-lock button
Disable Read-Protect
Then download again.
Then download again.
Test with GPIO_Toggle example
visit
https://www.wch.cn/downloads/CH32V003EVT_ZIP.html
to download CH32V003EVT.ZIP.
Load the GPIO_Toggle example to MounRiver Studio.
Load the GPIO_Toggle example to MounRiver Studio.
Edit GPIO_Toggle/User/main.c, change Delay_Ms(250) to other value to check
the result.
(as shown in the video.
next:
~ CH32V003 UART example
(as shown in the video.
next:
~ CH32V003 UART example
Comments
Post a Comment