Arduino: 1.8.9 (Windows 10), Board: “DOIT ESP32 DEVKIT V1, 80MHz, 921600, None”
Sketch uses 631346 bytes (48%) of program storage space. Maximum is 1310720 bytes.
Global variables use 37960 bytes (11%) of dynamic memory, leaving 289720 bytes for local variables. Maximum is 327680 bytes.
esptool.py v2.6
Serial port COM3
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.
This is the error I get while uploading the wifi scan sketch. I’m using the right com i believe. I’ve loaded the latest Arduino IDE. Any help?
Hi
use Device Manager to find the Com Port your esp32 is using
https://docs.espressif.com/projects/esp-idf/en/latest/get-started/establish-serial-connection.html
https://randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-windows-instructions/
https://randomnerdtutorials.com/solved-failed-to-connect-to-esp32-timed-out-waiting-for-packet-header/ was an answer that worked. Hold down the boot button during loading. It worked but is problematic. They then went on to say install a 10 uf capacitor between the EN and GND. Might try this. I think it does show I had the correct com port. Thanks for advice.
Bob
Hi Robert, having to push a button at the flashing time may be very annoying, even more if you have to repeat the flashing many times.
I use boards like the Wemos D1 mini (8266) or the MH-ET Live MiniKit (ESP32) and I do not have to do that irritating task. I assume that these boards have already all the needed electronics .