I’ve tried virtually every combination of board, variant, framework, and board_build.flash_mode:dio, flashing from esptool and from web.esphome.io, and I always get a boot loop. Also tried a second board from the same batch.
If I use arduino framework, it just reboots over and over:
[17:41:59]ESP-ROM:esp32s3-20210327
[17:41:59]Build:Mar 27 2021
[17:41:59]rst:0x10 (RTCWDT_RTC_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
[17:41:59]SPIWP:0xee
[17:41:59]mode:QIO, clock div:1
[17:41:59]load:0x3c090020,len:0x19b54
[17:41:59]ets_loader.c 78
If I use the esp-idf framework it complains about SHA-256 comparison failed, attempts to boot, and fails.
[18:38:05]entry 0x40375dc0
[18:38:05]ESP-ROM:esp32s3-20210327
[18:38:05]Build:Mar 27 2021
[18:38:05]rst:0x10 (RTCWDT_RTC_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
[18:38:05]SPIWP:0xee
[18:38:05]mode:DIO, clock div:1
[18:38:05]load:0x3c0a0020,len:0x2723c
[18:38:05]load:0x3fc98c00,len:0x47a4
[18:38:05]load:0x40374000,len:0x4608
[18:38:05]load:0x42000020,len:0x9c848
[18:38:05]load:0x40378608,len:0x10538
[18:38:05]SHA-256 comparison failed:
[18:38:05]Calculated: a3a9ff4c5297a1b1067a9030766520f72a20f1d43d65b1db56377f6c9883d6bb
[18:38:05]Expected: 59727802250b332dc5db4031537c007f74d1fa36b6567e7daa7ccbf2654969a5
[18:38:05]Attempting to boot anyway...
ESP32-S3-WROOM 38-pin board is:
Detecting chip type... ESP32-S3
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE, Embedded PSRAM 2MB (AP_3v3)
**Espressif ESP32-S3FH4R2 - WiFi+BLE chip**
* QFN56.
* SRAM memory:
* PSRAM memory: 2 MB.
* FLASH memory: 4 MB.
I run esphome clean before each esphome compile on ESPHome 2025.6.2:
root@6efffbd03674:/config# esphome compile soil.yaml
INFO ESPHome 2025.6.2
INFO Reading configuration soil.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing soil (board: adafruit_feather_esp32s3; framework: espidf; platform: https://github.com/pioarduino/platform-espressif32/releases/download/53.03.13/platform-espressif32.zip)
--------------------------------------------------------------------------------------------------------------------------
HARDWARE: ESP32S3 240MHz, 320KB RAM, 4MB Flash
- framework-espidf @ 3.50302.0 (5.3.2)
- tool-cmake @ 3.30.2
- tool-esptoolpy @ 4.8.6
- tool-mklittlefs @ 3.2.0
- tool-ninja @ 1.10.2
- tool-riscv32-esp-elf-gdb @ 14.2.0+20240403
- tool-xtensa-esp-elf-gdb @ 14.2.0+20240403
- toolchain-esp32ulp @ 2.35.0-20220830
- toolchain-riscv32-esp @ 13.2.0+20240530
- toolchain-xtensa-esp-elf @ 13.2.0+20240530
I’ve tried board esp32-s3-devkitc-1 esp32devkit, esp32s3box, adafruit_feather_esp32s3. I’ve also tried defining the flash size in platformio_options, or not, and again with and without the dio flash_mode:
esphome:
name: soil
platformio_options:
board_build.flash_mode: dio
board_build.f_flash: 40000000L
board_build.flash_size: 4MB
Basically, it seems like it’s flashing incorrectly, but I really don’t know.
I’ve had no problems with esp8266 boards, but this is my first ESP32-S3 batch.
Thanks in advance for any pointers. Been going in circles.