Skip to content

VladimirDuan/Tinybar-V2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tinybar V2

Enviroment

Configure the toolchain: Windows

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.

Configure the toolchain: Mac OSX

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.

Configure the toolchain: Linux (Ubuntu)

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.

Compiling and flashing

Compiling:

cd software/ch554_sdcc_lib/examples/tinybar_v2/
make

Flashing:

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).

  1. Turn off the tinybar.
  2. Press down the red button and insert the USB plug.
  3. Flash the tinybar.

Never delete the code for entering bootloader, or you should connect D+ to Vcc for bootloader entering.

License

GPLv3

References

About

A CH551 based POV magic bar ;)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published