Programming ESP32: how its done and issues that might occur [solved]

Published at : 23 Dec 2025

In this video I show how to program an ESP32 (ESP32-WROOM-32D) with the Arduino IDE and discuss the following three errors that can occur:

NOTE: please make sure you restart the Arduino IDE after board installation.

NOTE2: make sure that the com port of the ESP32 shows up in the windows device manager. In some cases you might need to install these drivers:
https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads

Error 1:
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
* Solution: press "Boot" for at least one second when programming in the connection phase

Error 2:
A fatal error occurred: Timed out waiting for packet content
* Solution: replace USB cable

Error 3:
USB device not recognized: The last USB device you connected to this computer malfunctioned, and Windows does not recognize it
* Solution: replace USB cable