SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions about carrier boards have here!
User avatar
By ipmc16
#240941
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.
User avatar
By ipmc16
#240962
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
User avatar
By TS-Russell
#240994
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)
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum