Open the tools folder, install SDCC and WCHISPTool.
Unzip buildtools.zip, add buildtools/bin to $PATH.
** Make sure to have installed the tools above. **
Install of Git for Windows and VSCode is recommended.
Install xcode for build tools, then download the OSX version of SDCC compiler.
Use this ISPtool Opensource CH55x ISPtool to program the flash. Find the binary release, then download the correct version for OSX.
Get the compiler:
apt-get install sdcc
Use this ISPtool Opensource CH55x ISPtool to program the flash. Find the binary release, then download the correct version for Linux.
cd software/ch554_sdcc_lib/examples/tinybar_v2/
make
The tinybar_v2.hex should be generated after a successful compilation, just download it into Tinybar use WCHISPTool (Windows) or librech551 (Linux or Mac OSX).
- Turn off the tinybar.
- Press down the red button and insert the USB plug.
- Flash the tinybar.
Never delete the code for entering bootloader, or you should connect D+ to Vcc for bootloader entering.
GPLv3