Page 1 of 1

ESP32-S3R8 - flashing problem

Posted: Mon Dec 23, 2024 3:38 pm
by jblazeg
Hello,

I try to flash my board with PlatformIO either with a serial adapter (CP2102) or directly with USB. I get this:
CURRENT: upload_protocol = esptool
Looking for upload port...
Using manually specified: /dev/cu.usbserial-210
Uploading .pio/build/esp32-s3-devkitm-1/firmware.bin
esptool.py v4.5.1
Serial port /dev/cu.usbserial-210
Connecting....
Chip is ESP32-S3 (revision v0.2)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 64:e8:33:48:ec:ec
Enabling default SPI flash mode...
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00003fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x0004ffff...
Erasing flash...
Compressed 15104 bytes to 10430...

A fatal error occurred: Serial data stream stopped: Possible serial noise or corruption.
It's exactly the same problem with BOTH methods.

The trace shows the last messages, after this, communication stops. I tried various upload speeds from 19200 - did not help.
GPIO0/3/45/46 are floating if that makes a difference. Enable pin is pulled high with 10K

When I connect to serial I get steady messages:
invalid header: 0xffffffff
Edit: could it be a problem, that there is no FLASH available - only PSRAM?

Any other data I ned to add which could be helpful?

Cheers
JB

Re: ESP32-S3R8 - flashing problem

Posted: Tue Dec 24, 2024 11:47 pm
by Sprite
Yeah, if you use a bare chip, don't have flash external to the chip, and use a chip model that doesn't have in-package flash, you'll get that.

Re: ESP32-S3R8 - flashing problem

Posted: Thu Oct 02, 2025 4:44 pm
by jdaviddiaz11
I have exactly the same problem, I use the ESP32-32E N4 board. were you able to solve?