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

26dimensions
Posts: 1
Joined: Thu Dec 31, 2020 4:41 pm

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

Postby 26dimensions » Thu Dec 31, 2020 4:50 pm

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!
Attachments
help me pls.jpg
help me pls.jpg (1.53 MiB) Viewed 19593 times

andelf
Posts: 1
Joined: Fri Jan 01, 2021 7:33 am

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

Postby andelf » Fri Jan 01, 2021 7:36 am

use esp32 rover as board type.
use lower serial speed like 115200

billthemaker
Posts: 3
Joined: Fri Jan 08, 2021 6:57 am

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

Postby billthemaker » Fri Jan 08, 2021 7:49 am

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

Who is online

Users browsing this forum: No registered users and 64 guests