Uploading Error #11962
Replies: 25 comments
-
| @PukkyPukPukt - If you set ESP32 to Download Mode before uploading, by holding the BOOT button pressed, pulsing RESET and then releasing both buttons, does it upload a new firmware? Another possible solution is by changing the upload speed to 115200. | 
Beta Was this translation helpful? Give feedback.
-
| Have you installed actual Silicon Labs CP2102 drivers? | 
Beta Was this translation helpful? Give feedback.
-
| same issue i am facing after updating | 
Beta Was this translation helpful? Give feedback.
-
| @PukkyPukPukt / @Vinayakahr10 - What board are you using? If possible post a picture/website of the board. | 
Beta Was this translation helpful? Give feedback.
-
| @SuGlider i am not able to upload   | 
Beta Was this translation helpful? Give feedback.
-
| 
 This is very typical behavior of a bad cable. Do you get the boot logging on Serial Monitor? | 
Beta Was this translation helpful? Give feedback.
-
| @lbernstone yes | 
Beta Was this translation helpful? Give feedback.
-
| @PukkyPukPukt Just uninstall the Driver and reinstall it from https://www.silabs.com/software-and-tools/usb-to-uart-bridge-vcp-drivers?tab=downloads | 
Beta Was this translation helpful? Give feedback.
-
| 
 Did it solve the issue? | 
Beta Was this translation helpful? Give feedback.
-
| @SuGlider yes | 
Beta Was this translation helpful? Give feedback.
-
| As soon as I uninstalled the newest Version in the Board Manager, it worked again. The drivers are correctly installed and I made sure there are no other Programs interfering. I used the same Buttons on the board that I use always. | 
Beta Was this translation helpful? Give feedback.
-
| The cable is intact, I also installed Windows the drivers and the Arduino IDE freshly, but only downgrading solved the issue. | 
Beta Was this translation helpful? Give feedback.
-
| OK. It may be a problem related to preivous ESP32 Arduino instalation. Please try this: | 
Beta Was this translation helpful? Give feedback.
-
| Same here. Works with 3.2.1 | 
Beta Was this translation helpful? Give feedback.
-
| 
 As said, Windows together wirh the Arduino IDE has been installed freshly on an empty SSD. | 
Beta Was this translation helpful? Give feedback.
-
| 
 It indicates that there is an issue with the serial communication. Using Win11, open the Device Manager application and check if COM3 is listed under Ports (COM & LPT) as "Silicon Labs CP210x USB to UART Bridge (COM3)" Press BOOT + RESET button at the same time, release only RESET and later BOOT. This is the download mode. ESP32 will wait for a firmware upload. Go to the Arduino IDE select Menu->Tools->Upload Speed->115200 and start the Upload. General Trouble Shooting:To fix the "A fatal error occurred: Invalid head of packet (0x00): Possible serial noise or corruption" error on an ESP32, first try reducing the upload speed in your IDE to 115200, use a high-quality, data-capable USB cable and a direct USB port, and ensure no external components are causing electrical interference. If the issue persists, try holding the Boot button on the ESP32 while uploading, or check for and install the correct USB-to-serial driver (e.g., CP210x or CH340) for your board. Common Solutions1. Reduce Upload Speed: Driver and Software Checks1. Verify USB-to-Serial Drivers: Advanced Steps1- Check for a Wrong Board Selection: Make sure you have selected the correct ESP32 board in your IDE. | 
Beta Was this translation helpful? Give feedback.
-
| 
 All done. No effect. Only downgrading helped. | 
Beta Was this translation helpful? Give feedback.
-
| 
 Changing to Arduino IDE Menu -> Tools -> Upload Speed: "115200" ? It may be a problem related to the USB cable. | 
Beta Was this translation helpful? Give feedback.
-
| 
 I tried different cables, shielded, unshielded and different USB Ports, never a hub and nothing helped. | 
Beta Was this translation helpful? Give feedback.
-
| But when the upload speed is set to 115200, it works? Another possibility is that this ESP32 board has some issue, maybe a problem with the UART-USB chip. | 
Beta Was this translation helpful? Give feedback.
-
| 
 No, it didn't work. Only downgrading helped. I tried every setting and every tip but only downgrading helps. | 
Beta Was this translation helpful? Give feedback.
-
| Can you try running the esptool from v3.3.0 directly? | 
Beta Was this translation helpful? Give feedback.
-
| 
 esptool didn't work either. | 
Beta Was this translation helpful? Give feedback.
-
| Can you download esptool v5.0.2 from github, and see if  | 
Beta Was this translation helpful? Give feedback.
-
| Install latest esptool v5.1.0. There was an issue with Windows and certain USB serial chips. This is fixed in latest esptool v5.1.0 | 
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Board
ESP32 Dev Module
Device Description
ESP32 NodeMCU with Silicon Labs CP2102
Hardware Configuration
Only a Micro-USB cable connected to the Computer.
Version
v3.3.0
Type
Bug
IDE Name
Arduino IDE
Operating System
Windows 11
Flash frequency
40 and 80 Mhz
PSRAM enabled
no
Upload speed
All
Description
It is not possible to Upload any Sketches, even though the Serail Monitor is working.
Sketch
Debug Message
Other Steps to Reproduce
I tried exactly the same on three different computers, two with Windows 11 latest version, 1 with Windows 10 latest version. It solely didn't work on one of the Windows 11 machines.
In case it helps, this is my computer:
Acer Aspire A515-45G
NX.A8AEV.00G
You can look up the specs on the Acer support website.
Thank you very much
Felix
I have checked existing issues, online documentation and the Troubleshooting Guide
Beta Was this translation helpful? Give feedback.
All reactions