Flash with Web Tools
This chapter covers how to flash your device with a pre-built binary.
-
Connect the device with a USB-C cable.
-
Download a
.binfrom the GitHub release that matches your PCB revision:- If this is the first time you are flashing Crimpdeq firmware to your device, download
crimpdeq-merged.bin. - If you are updating firmware on a device that is already flashed, download
crimpdeq.bin.
- If this is the first time you are flashing Crimpdeq firmware to your device, download
-
Choose a web flasher. Use either:
- esp.huhn.me
- See this blog post for extra details.
- Adafruit ESPTool
- esp.huhn.me
-
Click
Connectand select the serial port for your ESP board.- In Adafruit ESPTool, the port often appears as
USB/JTAG serial debug unit....
- In Adafruit ESPTool, the port often appears as
-
Click
Eraseonly if this is the first time you are flashing this device.⚠️ Note: Erasing the device also erases stored calibration values. Skip this if the device was already programmed and calibrated.
-
Upload your
.bin:- If you are using
crimpdeq-merged.bin-> address0x0 - If you are using
crimpdeq.bin-> address0x10000
- If you are using
-
Click
Program.
If the Flasher Cannot Connect
If the serial port does not appear, or the flasher cannot connect to it:
- Make sure the device is awake. A sleeping device (status LED off) does not show its serial port. On PCB V3 and V4, turn the switch off and reconnect the USB-C cable: with the switch off, connecting USB restarts the device.
- If it still does not connect, put the ESP32-C3 into download mode. PCB V4 has
EN,GND, andBOOTpads for this on its bottom side, under the ESP32-C3 module (see the pad layout), so take the board out of the case first. Either:- Hold
BOOTtoGNDand briefly connectENtoGND. The pads are 1.5 mm apart, so tweezers can bridge neighboring pads. - With the switch off and USB disconnected, hold
BOOTtoGNDwhile connecting the USB-C cable.
- Hold
- Flash the firmware as described above, then disconnect and reconnect USB with the switch off, or briefly connect
ENtoGND, to start it.