An open API service indexing awesome lists of open source software.

https://github.com/74th/ch32v003-uart-programmer


https://github.com/74th/ch32v003-uart-programmer

Last synced: 5 months ago
JSON representation

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
```