Show HN: Ratchet – safe SPI flash writes (polling, erase-verify) in Rust
Category: devtools
Tags: spi-flash, hardware-debug, rust, ch341a, ch347, bios-recovery, mcp-server
Score: 7.3/10 (Innovation: 7, Technical: 8, Documentation: 7, Utility: 7)
Ratchet is a Rust-based hardware debug and flash-programming toolkit for CH341A/CH347 USB programmers, focusing on safe SPI flash writes with polling and erase-verify. It innovatively combines SPI programming, multi-protocol support (I2C, JTAG, UART, etc.), and a built-in MCP server for AI agents into a single self-contained binary, replacing multiple existing tools. Its emphasis on safe, hardened operations and extensive unit testing makes it interesting for low-level firmware development and recovery.
Target audience: embedded developers, firmware engineers, hardware hackers, devops
Repository: https://github.com/jackulau/ratchet · Rust · MIT · 4 stars
View on Hacker News