Sketch uses 794025 bytes (25%) of program storage space. Maximum is 3145728 bytes.
Global variables use 53908 bytes (16%) of dynamic memory, leaving 273772 bytes for local variables. Maximum is 327680 bytes.
esptool.py v3.1
Serial port /dev/ttyACM0
Connecting........_____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
What I did:
press and hold the switch button down when "uploading ..." starts. The switch button is the only button I find on the ESP32-WRVER-Camera board. (same error message like above) (I did some research and find somebody suggests it to fix the issue).
Hey Idahowalker,
thank you so much for your prompt response. I tried your method and am not sure if I execute it right.
build---> press the "switch" button ----> nothing happens on the Arduino IDE screen
build---> press the "switch" button ----> wait 5 seconds (nothing happens) --> upload the code
----> same error (hold on the button down or not, same error).
I follow your instructions and press the switch button first.
I did not find the message on the monitor. And I hold the switch button down and build, upload. Same error message.
I attach one gif for your reference. At the begining, I press the switch button and no message on the screen.