Flash custom firmware
Flash a published release or your own ESP32 .bin files from the browser, with the right offsets for each file.
Use this page to install a specific firmware release, or firmware you built yourself, on an ESP32 board. To install the current release for a supported device, Flash firmware is simpler.
Flashing replaces the firmware on the board. Firmware that does not point at Assistant Core cannot connect to your assistant; see Configure the OTA URL.
Before you start
- The same browser, USB cable, and driver as for flashing firmware.
Published releases
Select a board to see every published release, then click Flash on a version or Download to save the file.
Flash your own files
Upload a merged firmware file (.bin) and flash at address 0x0.
Target chip
- Choose Quick Flash or Advanced (see below).
- Under Target chip, select the chip of your board (most supported devices use
ESP32-S3). - Drop your
.binfiles, check the offsets, and click Flash to Device. - Click Connect Device, choose the serial port, then click Flash Firmware.
Quick Flash
For one merged image that contains everything. It is written at 0x0. To create one with ESP-IDF:
idf.py merge-bin -o merged.binAdvanced
For separate files from idf.py build. The tool fills in the offset from the file name; check every value against your partition table. For Xiaozhi firmware on ESP32-S3 with the default 16 MB layout (partitions/v2/16m.csv):
| File | Offset |
|---|---|
bootloader.bin | 0x0 |
partition-table.bin | 0x8000 |
ota_data_initial.bin | 0xD000 |
App image (for example xiaozhi.bin) | 0x20000 |
generated_assets.bin (assets) | 0x800000 |
The tool does not recognize the assets file by name, so set 0x800000 for it yourself. On ESP32 and ESP32-S2 the bootloader goes at 0x1000 instead of 0x0. Other partition tables use other offsets; idf.py build prints the exact flash command with every offset.
Troubleshooting
Last updated on