Skip to content

Tinnci/nander-rs

Repository files navigation

nander-rs

🦀 Modern SPI NAND/NOR Flash programmer written in Rust

Crates.io Documentation License

A complete rewrite of SNANDer in Rust, designed for maximum portability and reliability.

✨ Features

  • Pure Rust USB - No libusb DLL required
  • Cross-platform - Windows, Linux, macOS
  • Single binary - No runtime dependencies
  • Memory safe - Rust's ownership system
  • GUI & CLI - Graphical and command-line interfaces
  • High Speed - Support for 60MHz SPI (CH347)
  • Batch Mode - Automate workflows with simple scripts

📦 Installation

cargo install nander-rs

🚀 Quick Start

# Test programmer connection
nander diagnostic

# Run automated batch operation (Erase -> Write -> Verify)
nander batch --template flash-update --firmware firmware.bin

# Detect flash chip
nander info

# Read flash
nander read -o backup.bin

# Launch GUI
nander gui

nander-rs GUI

📖 Documentation

English 中文
Quick Start 快速入门
CLI Reference 命令行参考
Troubleshooting 故障排除

👉 Full Documentation / 完整文档

🛠 Supported Hardware

Programmers

  • CH341A - USB SPI programmer (Standard)
  • CH347 - High-speed USB SPI programmer (up to 60MHz)

Flash Types

  • SPI NAND - With OOB and bad block management
  • SPI NOR - Standard JEDEC SPI NOR
  • I2C EEPROM - 24Cxx series
  • SPI EEPROM - 25xxx series
  • Microwire EEPROM - 93Cxx series

⚠️ Windows Users

If you see a driver error, you need to install WinUSB driver using Zadig.

See: Windows Driver Fix

📄 License

Licensed under either of:

Note: This is a clean-room implementation. While inspired by SNANDer's functionality, nander-rs contains no GPL-licensed code.

🙏 Acknowledgments

  • SNANDer by McMCC - Original C implementation
  • The Rust embedded community

About

A modern, high-performance, and cross-platform NAND/NOR/EEPROM flash programmer tool written in Rust. Supports CH341A, CH347, FTDI and more.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

 
 
 

Contributors

No contributors