Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Firmware & Flashing

The Crimpdeq firmware is written in async Rust (no_std) using esp-hal and a small set of supporting crates.

This section explains how to flash the firmware to your device and, optionally, how the code is organized.

Choose the Firmware for Your PCB

Each PCB revision needs its own firmware. Use the latest firmware release for your PCB:

PCB revisionFirmware
V1v0.4.0
V2v2.x
V3v3.x
V4v4.x
Prototypev0.4.0

⚠️ Note: Firmware for a different revision does not work with your PCB. For example, V3 uses an ADS1220 ADC instead of the HX711 used by V1 and V2, and V4 moves the ADS1220 data-ready signal and the battery gauge pins.

Choose a Flashing Method

There are two supported ways to flash the firmware:

1. Web Tools

  • No local setup required
  • Fastest way to install the latest release
  • Best if you do not plan to modify the firmware

See Flashing with Web Tools

2. Local Setup

  • Requires installing Rust and probe-rs
  • Lets you build from source and modify the code
  • Better for development and debugging

See Flashing with Local Setup

Firmware Internals

If you want to understand or modify the firmware, see the Firmware Details chapter.

If you only want a working device, you can flash the firmware and continue to Calibration.