I purchased two ESP32-CAM modules from Banggood with camera; they are exactly same than yours.
I tried everything I found on your kind blog to program on them.
I keep getting ever “Timed out waiting for packet header” error as follows:
esptool.py v2.6-beta1 Serial port COM8 Connecting........_____....._____....._____....._____....._____....._____....._____ A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
I have TX going to RX etc. and GPI0 going to gnd.
I pressed boot button before programming.
Tried every mode possible and same result.
The programmer works fine on other standard ESP32 modules.
Any idea Sara/Rui?
Hello Domenico, thank you for posting your question! Yes, that error means one of these things:
- Your ESP32-CAM is not in flashing mode (GPIO 0 not connected to GND) and you didn’t press the BOOT button to put in flashing mode
- TX and RX are not properly connected (so, it doesn’t establish a serial communication)
- Your programmer is not supplying enough power to your ESP32-CAM and it crashes the board
I think in this case, it looks like it’s the last option 3), because you told me that you’ve done everything right in 1) and 2). This error simply means that there’s not communication between the Arduino IDE (trying to upload the code) and your ESP32-CAM board…