Page 1 of 1

Code Flash Error in ESP32 Chip

Posted: Fri Jan 06, 2017 4:49 am
by milav19soni
Hello Guys,

I am Milav Soni.

Now, I am working on the ESP32.(DEV13907)

The System which we are used is Virtual Linux (Ubuntu-14.04 / 32-bit).

I want to run blink LED code which is provided in ESP-IDF.

We are successful to build that blink code using MAKE and Eclipse.

Now we are not able to flash the binary file on ESP-32.

it gives the following error.

"a fatal error has occurred:failed to connect to ESP32: invalid head of packet ('r')".

i also attach the following screenshot of the error.

Please give me solution as soon as possible.

Re: Code Flash Error in ESP32 Chip

Posted: Fri Jan 06, 2017 6:07 am
by ESP_Sprite
That basically means something has gone wrong communicating with the ESP32. What hardware do you use, as in, what kind of dev board? Maybe you have another program, eg Minicom, which also has opened the serial port running at the same time?