Repository navigation
Flashing Guide
Complete guide on every available method to flash the ESP32-R3X firmware onto the Espressif ESP32-S3 hardware platform.
| Method | Target Audience | Tools Required | Difficulty | Time |
|---|---|---|---|---|
| Method 1: Built-in GUI Flasher | Beginners & End Users | Python + flash_r3x.py
|
⭐ (Easiest) | 30s |
| Method 2: 1-Command Merged Binary | Fast Flashing / Terminal Users | esptool.py |
⭐⭐ | 20s |
| Method 3: Multi-Binary Split Flashing | Developers & Advanced | esptool.py |
⭐⭐ | 25s |
| Method 4: Espressif Flash Download Tool | Windows Standalone GUI | Bundled ZIP (No Python) | ⭐⭐ | 1m |
| Method 5: Chrome/Edge Web Browser Flasher | Zero Install / Chromebook / Mac | WebUSB Browser | ⭐ | 45s |
| Method 6: Arduino IDE 2.x | Firmware Modders & Coders | Arduino IDE 2.x | ⭐⭐⭐ | 3m |
| Method 7: arduino-cli Command Line | CI/CD & Headless Builds | arduino-cli.exe |
⭐⭐⭐ | 1m |
| Method 8: MicroSD On-Device Update | Flashing without a Computer | FAT32 MicroSD card | ⭐ | 15s |
On any ESP32-S3 board, if flashing fails to connect (A fatal error occurred: Failed to connect to ESP32-S3: No serial data received.):
-
Hold down the
BOOT(GPIO 0) button. -
Press and release the
RESET/ENbutton while still holdingBOOT. -
Release the
BOOTbutton. - The ESP32-S3 ROM bootloader will lock into download mode (
waiting for download), allowing any flashing utility to connect immediately.
ESP32-R3X includes a standalone, dedicated graphical flasher in the repository.
- Connect your ESP32-S3 via USB-C.
- Navigate to
tools/esp32-r3x-flasher/. - Double-click
ESP32-R3X-Flasher.bat(or open a terminal and runpython flash_r3x.py). - In the window:
- Select your board: ESP32-S3 (v2)
- Select your active COM Port (e.g.,
COM9). - Baud Rate:
921600(recommended) or115200.
- Click Flash ESP32-R3X.
- The utility automatically writes the bundled binaries, verifies the MD5 hash, and hard-resets the board into the firmware.
The fastest terminal method. Flashes the entire 4MB memory map (bootloader, partitions, app) in a single pass.
- Ensure Python and
esptoolare installed (pip install esptool). - Open PowerShell or Command Prompt in the repository root.
- Run:
(Replace
python -m esptool --chip esp32s3 -p COM9 -b 921600 write_flash 0x0000 "Pre-compiled Bin/ESP32-R3X-v1.0-merged.bin"COM9with your actual device port). - Once verification completes (
Hash of data verified), the device will reset and boot into ESP32-R3X.
Recommended if you are developing and only wish to update the application partition without wiping calibration preferences or partition tables.
Run:
python -m esptool --chip esp32s3 -p COM9 -b 921600 --before default_reset --after hard_reset write_flash \
0x0000 "Pre-compiled Bin/bootloader.bin" \
0x8000 "Pre-compiled Bin/partitions.bin" \
0xe000 "Pre-compiled Bin/boot_app0.bin" \
0x10000 "Pre-compiled Bin/ESP32-R3X-v1.0-app.bin"To flash only the application code without touching the bootloader:
python -m esptool --chip esp32s3 -p COM9 -b 921600 write_flash 0x10000 "Pre-compiled Bin/ESP32-R3X-v1.0-app.bin"Espressif's official Windows graphical flashing tool is bundled in tools/flash_download_tool_3.9.5.zip.
- Extract
tools/flash_download_tool_3.9.5.zipand runflash_download_tool_3.9.5.exe. - Choose:
-
ChipType:
ESP32-S3 -
WorkMode:
develop -
LoadMode:
USBorUART
-
ChipType:
- Configure the file offsets:
- Check Box 1: Browse to
Pre-compiled Bin/ESP32-R3X-v1.0-merged.bin@0x0000
- Check Box 1: Browse to
- Set Hardware Parameters:
-
SPI SPEED:
80MHz -
SPI MODE:
QIO
-
SPI SPEED:
- Select your COM Port and Baud rate (
921600). - Click START. Progress will reach 100% and show
FINISH.
Zero-installation flashing directly from Google Chrome, Microsoft Edge, or Opera using WebSerial / WebUSB.
- Open ESP Web Tool or Adafruit WebSerial ESPTool.
- Connect your ESP32-S3 via USB-C.
- Click Connect and pick your device's USB JTAG/serial port from the browser prompt.
- Set offset to
0x0and choosePre-compiled Bin/ESP32-R3X-v1.0-merged.bin. - Click Program / Flash. Wait for the web console to complete and reset the board.
- Install Arduino IDE 2.3+.
- In File -> Preferences, add the ESP32 Board URL:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json - Install esp32 by Espressif Systems (version
3.0.xor2.0.10). -
Copy Libraries:
- Copy every folder inside repository
Libraries/directly into your userDocuments/Arduino/libraries/. - Verify that line 96 in
libraries/TFT_eSPI/User_Setup_Select.henables:#include <User_Setups/Setup70b_ESP32_S3_ILI9341.h>
- Copy every folder inside repository
- Configure Board Settings under Tools:
-
Board:
ESP32S3 Dev Module -
USB CDC On Boot:
Enabled -
CPU Frequency:
240MHz (WiFi) -
Flash Frequency:
80MHz -
Flash Mode:
QIO 80MHz -
Flash Size:
4MB (32Mb)(or 16MB if using N16R8) -
Partition Scheme:
Huge APP (3MB No OTA/1MB SPIFFS) -
PSRAM:
Disabled(or OPI PSRAM if hardware has it) -
Upload Speed:
921600
-
Board:
- Open
ESP32-R3X/ESP32-R3X.ino. - Click Upload (
Ctrl + U).
For terminal-first workflows, headless Linux build servers, or scripting.
- Open PowerShell in the repository root.
- Compile:
.\arduino-cli.exe compile --fqbn esp32:esp32:esp32s3:CDCOnBoot=cdc,FlashSize=4M,PartitionScheme=huge_app --libraries Libraries ESP32-R3X/ESP32-R3X.ino --output-dir ESP32-R3X/build
- Upload to target board:
.\arduino-cli.exe upload -p COM9 --fqbn esp32:esp32:esp32s3:CDCOnBoot=cdc,FlashSize=4M,PartitionScheme=huge_app --input-dir ESP32-R3X/build
Flash firmware updates on the go in the field without any computer or cable.
- Format a MicroSD card to FAT32.
- Rename
Pre-compiled Bin/ESP32-R3X-v2-v1.7.3.bintoupdate.bin. - Copy
update.binto the root of the MicroSD card (SD:/update.bin). - Insert the card into the ESP32-R3X slot.
- Power on the device and navigate to
Tools->Update Firmware(NAV 6 1 0). - The on-device flasher reads
update.bin, writes it to the app partition via ESP32Update.h, validates the checksum, and reboots into the new firmware.
Created for ESP32-R3X by Little-Sufi.