https://github.com/74th/ch32v003-uart-programmer
https://github.com/74th/ch32v003-uart-programmer
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/74th/ch32v003-uart-programmer
- Owner: 74th
- Created: 2023-03-19T06:13:27.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-19T13:32:48.000Z (about 3 years ago)
- Last Synced: 2025-10-10T11:54:19.387Z (8 months ago)
- Language: Go
- Size: 60.5 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CH32V003 UART Programmer
This tool need USART IAP Boot-loader.
https://github.com/openwch/ch32v003/tree/main/EVT/EXAM/USART_IAP
## How to use
Follow this document to flash the USART IAP boot-loader using WCH-LinkE hardware and WCH-LinkUtility software.
https://github.com/openwch/ch32v003/blob/main/CH32V003_IAP_Use_Introduction.pdf
When this bootloader is powered up with PC0 high (it may not function satisfactorily with NRST), it is in a state waiting to be written on the UART.
Execute the following commands to flash via UART. Then reset PC0 to GND or floating and it will boot with firmware.
```
ch32v0-uprog --baud 460800 --device /dev/ttyUSB0 firmware.bin
```
## download and install
https://github.com/74th/ch32v003-uart-programmer/releases
```
go install github.com/74th/ch32v003-uart-programmer/cmd/ch32v0-uprog@latest
```