Hi, I have the weather carrier board with the ESP32 processor. When I try to upload the sample Blink sketch, I get the error below.
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
Failed uploading: uploading error: exit status 2
I am using the SparkFun ESP32 MicroMod board in the IDE.
Try swapping the baud rate…also ensure the correct COM port is selected
Also make sure you have the driver https://www.silabs.com/developers/usb-t … s#software
I’ve also seen this resolve from a PC restart
I changed the board in the IDE to the SparkFun ESP32 MicroMod board from the esp32 directory. I also have the correct baud rate of 115200. I got a new error message for uploading the Blink sample sketch.
Sketch uses 260977 bytes (19%) of program storage space. Maximum is 1310720 bytes.
Global variables use 22352 bytes (6%) of dynamic memory, leaving 305328 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port COM4
Connecting…
A serial exception error occurred: Write timeout
Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers.
For troubleshooting steps visit: https://docs.espressif.com/projects/esp … oting.html
Failed uploading: uploading error: exit status 1
Install/update pySerial - this is an issue with a package, not the board
You might also need to wipe all the arduino hidden files and start fresh (note you must do the ‘additional files’ stephttps://support.arduino.cc/hc/en-us/articles/360021325733-Uninstall-Arduino-IDE)