Page 1 of 1

Failed to connect to ESP32: Invalid head of packet (0xE0)

Posted: Thu Dec 31, 2020 4:50 pm
by 26dimensions
Hello! I'm using an ESP-32 Cam board, and trying to get the CamWebServer example to work on it with the Arduino IDE. I don't have an adpater for USB so I've connected it to an Arduino Uno like you can see in the png attachement to this post.

When I click to upload the code to the board, I get the following error:

A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0xE0)

I saw some people suggesting to hold down the button on the ESP-32 Cam board while I upload, but that doesn't do anything for me.

Please help, because I haven't found a good solution for this problem yet!

Re: Failed to connect to ESP32: Invalid head of packet (0xE0)

Posted: Fri Jan 01, 2021 7:36 am
by andelf
use esp32 rover as board type.
use lower serial speed like 115200

Re: Failed to connect to ESP32: Invalid head of packet (0xE0)

Posted: Fri Jan 08, 2021 7:49 am
by billthemaker
A few things

1 - check your voltage out of your uno,
2 - it looks like you're using the 3.3v, mine would only program in 5v using the adjacent 5v ground pin
3 - hold reset button and let go when you see the ellipses in red print, mine will only flash while booting.
4 - make sure you connect pin 0 to ground to enable flash

P.s.
You can get a breakout board for like $4, I use the ft232rl