Open-source firmware (and tooling) for the SayoDevice 3x3F keypad
Files
README.md

sayo-open #

Open-source firmware (and tooling) for the SayoDevice 3x3F keypad — replacing the proprietary osu!-oriented firmware with something simple, flexible and open.

Status #

Phase 1 (investigation + tooling) in progress. See docs/01-findings.md.

Hardware summary: WCH CH57x MCU (RISC-V + BLE), no screen, VID 0x8089 / PID 0x0004. The official firmware is encrypted at rest and decrypted on the chip → a custom firmware requires an SWD flash via WCH-LinkE, not just the USB bootloader.

Configuring the keypad (no reflash, on the stock firmware) #

Graphical interface (recommended):

sayo ui            # opens the WebHID configurator in Chrome/Edge

Or from the command line: see tools/sayo-cli/ (sayo info, sayo dump, sayo set, sayo led wave, …).

Layout #

firmware/stock/   official images downloaded (safety net + RE base)
docs/             investigation notes, protocol, LED effects, decisions
tools/sayo-cli/   CLI + Python lib (o2 protocol, config-as-code)
webui/            WebHID graphical interface (a single standalone index.html)

Safety / reversibility #

  • Always keep the official images (firmware/stock/) so you can restore.
  • Do NOT erase the factory bootloader while you still can: it is the recovery path (menu Device → Factory recovery → Jump to bootloader).
  • Before any destructive SWD flash: dump the full flash (if not read-protected) for a complete backup.

License #

To be decided (MIT / Apache-2.0 under consideration).