ESP32 Flashing fails after starting with timeout

renegadeandy
Posts: 19
Joined: Tue Mar 06, 2018 2:08 pm

ESP32 Flashing fails after starting with timeout

Postby renegadeandy » Wed Aug 21, 2019 7:30 pm

I have an ESP32-WROOM, as seen here : https://www.mouser.co.uk/ProductDetail/356-ESP-WROOM-32

In the Arduino IDE, I compile and verify my sketch, and then attempt an upload.

Before i upload, the serial monitor shows:

Code: Select all

rst:0x1 (POWERON_RESET),boot:0x23 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download
I then try to flash which results in this error:
I get the following error:

Code: Select all

esptool.py v2.1
esptool.py v2.1
Connecting........_____....._____....._____....._____....._____....._____....._____....._____....._____.....____An error occurred while uploading the sketch
_

A fatal error occurred: Failed to connect to ESP32: Invalid head of packet ('\x80')
I am using these settings in the IDE for the upload:
Image

I changed the baud rate to 115200, and get the same message again.

Please help me to understand what I need to do to make this sketch upload work direct to the ESP chip.

Who is online

Users browsing this forum: No registered users and 56 guests