I am using ESP32 cam but continuously getting the above error. I pressed the button at the time of compiling but still, it didn't work. The connections are double-checked as well but nothing changes?? Kindly help me solve the question above.
Arduino: 1.8.12 (Windows 10), Board: "ESP32 Wrover Module, Huge APP (3MB No OTA/1MB SPIFFS), QIO, 80MHz, 115200, None"
Sketch uses 262434 bytes (8%) of program storage space. Maximum is 3145728 bytes.
Global variables use 13276 bytes (4%) of dynamic memory, leaving 314404 bytes for local variables. Maximum is 327680 bytes.
C:\Users\DELL\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\3.0.0/esptool.exe --chip esp32 --port COM4 --baud 115200 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0xe000 C:\Users\DELL\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/partitions/boot_app0.bin 0x1000
C:\Users\DELL\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/bin/bootloader_qio_80m.bin 0x10000 C:\Users\DELL\AppData\Local\Temp\arduino_build_560498/sketch_oct02a.ino.bin 0x8000 C:\Users\DELL\AppData\Local\Temp\arduino_build_560498/sketch_oct02a.ino.partitions.bin
esptool.py v3.0-dev
Serial port COM4
Connecting........_____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.