Hi everyone,
i have configured my Mac Os late 2011 following the guide at link https://esp-idf.readthedocs.io/en/lates ... troduction, i have configured Eclipse CDT as the guide hints but when i flash my ESP-WROOM-32 I see:
Flashing binaries to serial port /dev/cu.SLAB_USBtoUART (app at offset 0x10000)...
esptool.py v2.3.1
Connecting........_____....._____....._____....._____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
make: *** [flash] Error 2
This is the first time I try to flash ESP with this device... perhaps any error in configuration?
I also installed the driver CP210x VCP Driver at https://www.silabs.com/community/interf ... warea-bgvU because with the recent version of this driver I didn't see the usb port /dev/cu.SLAB_USBtoUART when I typed in terminal ls /dev/cu*.
I wait for your hint,
much thanks for your attention.
Failed to connect to ESP32: Timed out waiting for packet header
-
- Posts: 3
- Joined: Tue May 15, 2018 9:54 am
Re: Failed to connect to ESP32: Timed out waiting for packet header
There was a post recently that might offer a clue:
https://esp32.com/viewtopic.php?f=2&t=4 ... rra#p24764
https://esp32.com/viewtopic.php?f=2&t=4 ... rra#p24764
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
-
- Posts: 3
- Joined: Tue May 15, 2018 9:54 am
Re: Failed to connect to ESP32: Timed out waiting for packet header
Hi Kolban,
thank you for your answer.
My problem is different to issue at your link because I have success to find a port where ESP is connected.
Do you have other hints for my question?
Thaks a lot Kolban!
thank you for your answer.
My problem is different to issue at your link because I have success to find a port where ESP is connected.
Do you have other hints for my question?
Thaks a lot Kolban!
Re: Failed to connect to ESP32: Timed out waiting for packet header
What is the actual file under /dev that you are finding? If you remove the ESP32, does it "go away"? What happens if you attach a serial monitor to the file and reboot the ESP32? Does any content show up?
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Re: Failed to connect to ESP32: Timed out waiting for packet header
I have some boards that automatically go into download mode when esptool.py flashes and some that require the EN/BOOT button dance. Maybe your board requires you to go into download mode through the buttons.
-
- Posts: 2
- Joined: Mon Jun 25, 2018 6:23 pm
Re: Failed to connect to ESP32: Timed out waiting for packet header
Hello, I have same problem.
I configured my ESP32 with this url http://randomnerdtutorials.com/installi ... tructions/, but Failed to connect.
These are the configurations applied:
Placa: ESP32 Dev Module"
Flash Mode: "QIO"
Flash Frecuency: "40 MHZ"
Flash size: "4MB"
Upload size: "115200"
Puerto: /dev/cu.SLAV_USBtoUART"
Execute...
esptool.py v2.3.1
El Sketch usa 163145 bytes (12%) del espacio de almacenamiento de programa. El máximo es 1310720 bytes.
Las variables Globales usan 11152 bytes (3%) de la memoria dinámica, dejando 283760 bytes para las variables locales. El máximo es 294912 bytes.
esptool.py v2.3.1
Connecting........_____....._____....._____....._____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
I tried using the Boot & And buttons, and neither.
I changed the USB cable for a better one.
... but this does not work.
Please, help me!!!
Thanks
I configured my ESP32 with this url http://randomnerdtutorials.com/installi ... tructions/, but Failed to connect.
These are the configurations applied:
Placa: ESP32 Dev Module"
Flash Mode: "QIO"
Flash Frecuency: "40 MHZ"
Flash size: "4MB"
Upload size: "115200"
Puerto: /dev/cu.SLAV_USBtoUART"
Execute...
esptool.py v2.3.1
El Sketch usa 163145 bytes (12%) del espacio de almacenamiento de programa. El máximo es 1310720 bytes.
Las variables Globales usan 11152 bytes (3%) de la memoria dinámica, dejando 283760 bytes para las variables locales. El máximo es 294912 bytes.
esptool.py v2.3.1
Connecting........_____....._____....._____....._____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
I tried using the Boot & And buttons, and neither.
I changed the USB cable for a better one.
... but this does not work.
Please, help me!!!
Thanks
-
- Posts: 2
- Joined: Mon Jun 25, 2018 6:23 pm
Re: Failed to connect to ESP32: Timed out waiting for packet header
Hello,
I have exactly the same problem.
NateOlivieri, Do you have a solution?
Thanks
I have exactly the same problem.
NateOlivieri, Do you have a solution?
Thanks
NateOlivieri wrote:Hi everyone,
i have configured my Mac Os late 2011 following the guide at link https://esp-idf.readthedocs.io/en/lates ... troduction, i have configured Eclipse CDT as the guide hints but when i flash my ESP-WROOM-32 I see:
Flashing binaries to serial port /dev/cu.SLAB_USBtoUART (app at offset 0x10000)...
esptool.py v2.3.1
Connecting........_____....._____....._____....._____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
make: *** [flash] Error 2
This is the first time I try to flash ESP with this device... perhaps any error in configuration?
I also installed the driver CP210x VCP Driver at https://www.silabs.com/community/interf ... warea-bgvU because with the recent version of this driver I didn't see the usb port /dev/cu.SLAB_USBtoUART when I typed in terminal ls /dev/cu*.
I wait for your hint,
much thanks for your attention.
-
- Posts: 1
- Joined: Fri Jul 26, 2019 11:17 am
Re: Failed to connect to ESP32: Timed out waiting for packet header
I am using Ubuntu 18.04 and had the same problem:
- make flash didn't work;
- python2 /home/marcos/esp/esp-idf/components/esptool_py/esptool/espto...../hello_world/build/partitions_singleapp.bin DID NOT WORK ALSO.
For me it worked by following these steps:
https://github.com/espressif/esptool
USED COMMAND: esptool.py --port / dev / ttyUSB0 write_flash 0x1000 /home/marcos/esp/hello_world/build/hello-world.bin
Summing up:
python2 DIDN'T WORK;
esptool.py WORKED.
- make flash didn't work;
- python2 /home/marcos/esp/esp-idf/components/esptool_py/esptool/espto...../hello_world/build/partitions_singleapp.bin DID NOT WORK ALSO.
For me it worked by following these steps:
https://github.com/espressif/esptool
USED COMMAND: esptool.py --port / dev / ttyUSB0 write_flash 0x1000 /home/marcos/esp/hello_world/build/hello-world.bin
Summing up:
python2 DIDN'T WORK;
esptool.py WORKED.
Who is online
Users browsing this forum: daniel_3in, Google [Bot], sshwarts and 109 guests