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 !
ESP32-CAM and Arduino
Re: ESP32-CAM and Arduino
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
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
- Attachments
-
- error invalid head of packet.PNG (9.1 KiB) Viewed 6361 times
Re: ESP32-CAM and Arduino
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
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
Moreover, in addition to the error, when I open the serial monitor, I can see weird character (see attach)
- Attachments
-
- Cattura.PNG (25.69 KiB) Viewed 6239 times
-
- Posts: 2
- Joined: Wed Feb 10, 2021 8:06 am
Re: ESP32-CAM and Arduino
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
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
- Attachments
-
- ESP32.jpg (2.04 MiB) Viewed 5824 times
Re: ESP32-CAM and Arduino
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 ?
- Attachments
-
- IMG-20210402-WA0001.jpg (50.14 KiB) Viewed 5441 times
-
- IMG-20210402-WA0001.jpg (50.14 KiB) Viewed 5441 times
Who is online
Users browsing this forum: No registered users and 87 guests