/wm_tool_rs

Rust implementation of wm_tool

Primary LanguageRust

Rust implementation of wm_tool

Why? RIIR (Rewrite it in Rust) is awesome!

Jokes aside, the original C implementation is kinda messy. And it's the byproduct of making a usable firmware for the W806 since I need to verify if the firmware flashing process is correct.

Usage

wm_tool_rs --port COM8 --image-path "C:\Users\cross\Desktop\code\wm806-cmake\build\demo.fls"

Only plan to support RTS(Request To Send) for resetting for now. See more on 联盛德 HLK-W806 (三): 免按键自动下载和复位 and 联盛德 HLK-W806 (七): 兼容开发板 LuatOS Air103

TODO

  • Firmware Download
  • AT reset/Manual reset
  • Firmware Patching
  • Firmware Encryption
  • Firmware Signing
  • Firmware Compression

I'm currently not using the Encryption, Signing, and Compression features. Try to keep it simple and clean.