ole00 / chprog

Yet another CH55x programmer with v1 and v2 bootloader detection and support.
15 stars 3 forks source link

chprog

Here is yet another CH55x programmer with v1 and v2 bootloader detection and support.

This one combines code from other projects:

Supported are Write, Verify and Reset for all supported bootloader versions: 1.0, 2.3.1, 2.4.0, 2.5.0

Tested on:

Usage is quite simple:

sudo ./chprog firmware.bin

Make sure your device is connected to USB port on your PC. The bootloader has to be activated by pressing the booloader button (or by shorting the bootloader pins/pads) on your dev board during power-on.

Win64 port Chprog can also also be compiled as a command line tool for Windows 64 bit system. A precompiled binary is in the 'releases' directory.

IMPORTANT: On Windows you need to install a Libusb driver:

macOS port Chprog can be used on macOS. You need to manually install libusb driver. The simplest way is using brew, and the build_macos.shexpect libusb to be installed by brew.

brew install libusb