Advanced Flashing Options
Fine-tune your flashing process with advanced configuration options.
Baud Rate
The baud rate controls the speed of data transfer between your computer and device.
| Baud Rate | Best For |
|---|---|
| 115200 | Most reliable, slower |
| 230400 | Good balance |
| 460800 | Fast, ESP32 recommended |
| 921600 | Fastest, may cause errors |
If flashing fails, try reducing the baud rate. USB hubs and long cables can cause issues at higher speeds.
Flash Offset
The flash offset determines where in memory the firmware is written.
| Offset | Content |
|---|---|
| 0x0000 | Bootloader (ESP8266) |
| 0x1000 | Bootloader (ESP32) |
| 0x8000 | Partition table |
| 0x10000 | Application firmware |
Erase Options
- • Erase before flash: Clears only the regions being written
- • Erase all flash: Complete factory reset, erases WiFi credentials and settings
Erasing all flash will delete WiFi credentials, saved configurations, and any data stored on the device.
CLI Equivalent
ESP32 flash command
esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 460800 write_flash -z 0x10000 firmware.bin