A fatal error occurred: Serial data stream stopped: Possible serial noise or corruption.

Drickset27
Posts: 4
Joined: Fri Jul 08, 2022 2:48 pm

A fatal error occurred: Serial data stream stopped: Possible serial noise or corruption.

Postby Drickset27 » Thu Aug 18, 2022 12:32 am

I'm trying to upload an example code from Arduino to my ESP32 CAM, the Camera webserver example but for now days now i get different errors while trying to fix it. The below error is one of them, does anyone have an idea what this error is ? And incase my ESP32 is damaged How do I test to know for sure ?


Arduino: 1.8.19 (Windows 10), Board: "AI Thinker ESP32-CAM, 240MHz (WiFi/BT), QIO, Huge APP (3MB No OTA/1MB SPIFFS), 80MHz, None"

Sketch uses 1431465 bytes (45%) of program storage space. Maximum is 3145728 bytes.

Global variables use 65360 bytes (19%) of dynamic memory, leaving 262320 bytes for local variables. Maximum is 327680 bytes.

esptool.py v3.3

Serial port COM10

Connecting....

Chip is ESP32-D0WD (revision 1)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: f0:08:d1:77:56:b0

Uploading stub...

Running stub...

Stub running...

Changing baud rate to 460800

Changed.

WARNING: Failed to communicate with the flash chip, read/write operations will fail. Try checking the chip connections or removing any other hardware connected to IOs.

Configuring flash size...

Flash will be erased from 0x00001000 to 0x00005fff...

Flash will be erased from 0x00008000 to 0x00008fff...

Flash will be erased from 0x0000e000 to 0x0000ffff...

Flash will be erased from 0x00010000 to 0x0016efff...

Compressed 18560 bytes to 12759...

Writing at 0x00001000... (100 %)



A fatal error occurred: Serial data stream stopped: Possible serial noise or corruption.

A fatal error occurred: Serial data stream stopped: Possible serial noise or corruption.





This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

JonnyFly
Posts: 1
Joined: Fri Aug 19, 2022 9:44 am

Re: A fatal error occurred: Serial data stream stopped: Possible serial noise or corruption.

Postby JonnyFly » Fri Aug 19, 2022 9:48 am

Looks like a corrupted Flash: A fatal error occurred: Serial data stream stopped: Possible serial noise or corruption.

had the same problem and was due to a corrupted flash. Other Boards were doing good with the same IDE and same USB port on PC.

MrGil0tina
Posts: 1
Joined: Mon Apr 03, 2023 6:57 am

Re: A fatal error occurred: Serial data stream stopped: Possible serial noise or corruption.

Postby MrGil0tina » Mon Apr 03, 2023 7:01 am

I have the same issue with my PCB.
Check the pin IO2 - it must be floating or connect to ground

Who is online

Users browsing this forum: No registered users and 36 guests