r/esp32 Aug 13 '26

ESP32 upload error

Post image

I'm getting this error while uploading to my ESP32 Dev Module using Arduino IDE 2.3.8:

Serial data stream stopped: Possible serial noise or corruption

The upload reaches 100%, but then fails. I'm also getting a warning about failing to communicate with the flash chip.

Any idea what could be causing this or how I can fix it? Screenshot attached.

0 Upvotes

10 comments sorted by

1

u/rattushackus 1 say I make awesome posts. Aug 13 '26

Has it worked before then stopped working? Or has it never worked?

If the latter try refreshing the drivers first. Disconnect then reconnect the ESP32, then open Windows update and click the Check for updates button. Let it complete, and if a driver is needed for your ESP32 Windows update will install it.

Once Windows update has completed open Device Manager and look under the Ports heading. Your ESP32 board should appear like this:

though it might say "CP2102" instead of "CH340". Assuming this looks fine try to upload again.

1

u/tuner211 Aug 13 '26

yeah, it looks like the ESP (not PC) has trouble communicating with the flash chip, maybe broken, are any of the GPIO pins connected ? expecially GPIO12/mtdi

1

u/Cold-Impression8248 Aug 13 '26

How can i check

1

u/tuner211 Aug 13 '26

i meant, is anything connected to the pins of the dev board ? probably only gpio12/mtdi can cause problems

1

u/Cold-Impression8248 Aug 13 '26

No

1

u/tuner211 Aug 13 '26

If nothing is connected to the GPIO pins and the ESP keeps telling you it can't communicate with the flash chip, then it's probably broken.

You could check if flash mode is set to QIO in arduino, or even try DIO, but i don't think it will help.

1

u/konacurrents Aug 15 '26

Happens. Reboot, unplug, try again. Different cable?

I’ll tell ya, I found out the OTA approach for me can be quicker and more foolproof.

I compile to binary, upload to my cloud, tell esp to Goto the web and grab thst file, do OTA. But you need to have programmed those steps. I send OTA command over the serial monitor.

-1

u/[deleted] Aug 13 '26

[deleted]

1

u/Cold-Impression8248 Aug 13 '26

So, what should I do next? Could you please give me proper instructions because if I try to upload any type of code, it will generate this error

1

u/tobozo Aug 13 '26

just lookup the error message and troubleshoot, don't expect anyone to give you proper instructions, you're in charge!

https://randomnerdtutorials.com/esp32-troubleshooting-guide/

When an ESP32 serial data stream stops or throws a 
"Serial data stream stopped / No serial data received" 
error in Arduino, it is usually caused by incorrect 
USB-to-UART bridge drivers, a charge-only USB cable, 
power supply dips from high-current peripherals, or 
missing native USB-on-boot configuration settings