Page 1 of 1
ESP32-CAM and Arduino
Posted: Fri Oct 23, 2020 12:55 pm
by werkwerk65
Hello all
I was trying to test the sample code CameraWebServer. It was working fine, until i turned off my computer and turned it on again
I have got a brownout detected
I fixed that one by fixing the wiring
Thereafter, i got this problem
esptool.py v2.6
Serial port COM4
Connecting........_____....._____....._____
A fatal error occurred: Invalid head of packet (0x00)
A fatal error occurred: Invalid head of packet (0x00)
Could someone advise me on this problem ?
Thank you !
Re: ESP32-CAM and Arduino
Posted: Tue Nov 24, 2020 9:48 pm
by LucaFR
Hi werkwerk65,
I have the same problem, but it has never worked fine for me
. I have always got the error in attach (see attach).
It occurs every time I try to run the example code titled camerawebserver.
I have also followed the advice to power the esp32 by using an external source ( 5V), but I got the same problem.
The distance from the wifi source is not that much, (I can see from my laptop the strength of the signal is high).
Could someone help on this issue?
Thanks
Re: ESP32-CAM and Arduino
Posted: Wed Nov 25, 2020 12:08 pm
by Radu79
I get this problem often. For me, I just unplug the USB cable then plug it back in the computer, and it works.
Re: ESP32-CAM and Arduino
Posted: Wed Nov 25, 2020 8:31 pm
by LucaFR
I have tried many time, also changing the USB port, but always the same error. I am trying to understand what I did wrong, but the assembly/wiring and the code seem all perfectly set up. Hope someone could advice to fix this issue
Re: ESP32-CAM and Arduino
Posted: Mon Nov 30, 2020 10:56 pm
by LucaFR
Moreover, in addition to the error, when I open the serial monitor, I can see weird character (see attach)
Re: ESP32-CAM and Arduino
Posted: Wed Feb 10, 2021 8:08 am
by vinayreddy
I also experienced exact same error on one of the ESP![ESP32|690x388](upload://2YO54GJjfclMbTAJDzeX4Wd6t19.jpeg) 32 board.
Serial port COM3
Connecting........_____....._____....._____....._____....._____....._____.....____An error occurred while loading the sketch.
_
A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0x00)
I could upload program to another board but was failing with one specific board.
1. I tried reducing "Flash Frequency" from Tools-->Flash Frequency from 80Mhz to 40Mhz
2. Tried reducing the "Upload speed" Tools-->Upload speed
3. Changing different board types
4. Holding "Boot" button till process completes
5. Tried different combination of Boot and En button Press and release
Finally I inspected ESP32 chip to PCB connectivity and found that 3.3v supply pin of ESP32 was not [properly soldered to PCB and was causing![ESP32|690x388](upload://2YO54GJjfclMbTAJDzeX4Wd6t19.jpeg) g the issue. Once it was soldered, everything worked fine
Re: ESP32-CAM and Arduino
Posted: Fri Apr 02, 2021 12:35 pm
by roninfyc
first time post here. first time pick up this hobby too ..esp32cam. after i have done with the loading and click the serial monitor, i have tis error message as shown below, may i know what is this ?