ESP32-s3-Zero mini PlatformIO support

Hello,
I’ve got a ESP32-s3 super mini (e.g. TZT ESP32-S3-Zero Mini Development Board WiFi Bluetooth Ultrakleine Größe ESP32 C3 S3 ESP 32 - AliExpress 502

When I’ve got the board the Led was blinking blue… so it seems somebody has managed to get a SW running on it.
Whatever I’ve tried so far I was not able to properly flash the board with my own SW (very simple test). It seems to be impossible to find the proper PlatformIO setup:
[env:esp32-s3-devkitm-1]

platform = espressif32
board = esp32-s3-devkitm-1
framework = arduino

I’ve tried several different board configs but it seems nothing worked. I always end up in a reset loop similar like this

ELF file SHA256: 94cdc20bc154997c
E (116) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
E (125) esp_core_dump_elf: Elf write init failed!
E (129) esp_core_dump_common: Core dump write failed with error=-1
Rebooting…
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x2b (SPI_FAST_FLASH_BOOT)
Saved PC:0x40376851
SPIWP:0xee
mode:DIO, clock div:1

load:0x3fce3818,len:0x508
load:0x403c9700,len:0x4
load:0x403c9704,len:0xad0
load:0x403cc700,len:0x29e4
entry 0x403c9880
E (86) spi_flash: Detected size(4096k) smaller than the size in the binary image header(8192k). Probe failed.

assert failed: do_core_init startup.c:350 (flash_ret == ESP_OK)

Backtrace: 0x4037623e:0x3fceb170 0x4037ab81:0x3fceb190 0x4037fee1:0x3fceb1b0 0x420094c2:0x3fceb2e0 0x40376543:0x3fceb310 0x403cd852:0x3fceb340 0x403cdafe:0x3fceb380 0x403c98d5:0x3fceb4b0 0x40045c01:0x3fceb570 0x40043ab6:0x3fceb6f0 0x40034c45:0x3fceb710

Is there a platformio board config that should fit to this tiny board.
The Information I’v got from the esptool is
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE, Embedded Flash 4MB (XMC), Embedded PSRAM 2MB (AP_3v3)
Crystal is 40MHz

thanks a lot
Bernhard

1 Like

Hello,
thanks for your fast reply. I’ve found your other post ESP32-S3-Zero does not work on PlatformIO - Development Platforms - PlatformIO Community that could solve my problem too.
Would be good to have this json config available for those board.
Thanks a lot…
Bernhard

1 Like

As long as there is no official board variant available it is better to configure the used MCU via platformio.ini.

See my repository for most of the available S3 variants: