Page 1 of 1

ESP32 errors with Arduino IDE

Posted: Sun Mar 18, 2018 8:46 pm
by YigalB
I am totally newbie with ESP32, not with Arduino.

I installed the ESP32 according to the guide lines. The ESP32 dev board can be selected.
When I connect the board, I can see the pre-installed message on the serial monitor, so it looks like the drivers work well.

However, I get two error messages when I run a simple example example program (blink) with the IDE.
At compile time:
Archiving built core (caching) in: C:\Users\Side\AppData\Local\Temp\arduino_cache_838389\core\core_espressif_esp32_esp32_FlashMode_qio,FlashFreq_80,FlashSize_4M,UploadSpeed_921600,DebugLevel_none_d0d7dcc45b1e44c58b48a1b6a3d41bcd.a
Sketch uses 153417 bytes (11%) of program storage space. Maximum is 1310720 bytes.
Global variables use 10936 bytes (3%) of dynamic memory, leaving 283976 bytes for local variables. Maximum is 294912 bytes.
and when uploading:
esptool.py v2.1
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
Any idea?

Also, is there a way to use the ESP32 with the online editor?

Thank you
Yigal

Re: ESP32 errors with Arduino IDE

Posted: Mon Mar 19, 2018 5:23 pm
by chegewara
The second error is when esp32 does not switch to upload mode. You can do it manually with boot and power buttons combination, but my suggestion is to change usb cable at first.