ESP32 errors with Arduino IDE

YigalB
Posts: 10
Joined: Sun Mar 18, 2018 8:41 pm

ESP32 errors with Arduino IDE

Postby YigalB » Sun Mar 18, 2018 8:46 pm

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

chegewara
Posts: 2171
Joined: Wed Jun 14, 2017 9:00 pm

Re: ESP32 errors with Arduino IDE

Postby chegewara » Mon Mar 19, 2018 5:23 pm

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.

Who is online

Users browsing this forum: No registered users and 94 guests