Hello,
We have made an development board using wroom32 module.I am trying to flash a code into it using usb cable but getting following error
Flashing binaries to serial port /dev/ttyUSB0 (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
Is there any need to flash bootloader first and then flash the code?
what should I do in order to get this to work...
Thanks
Failed to connect to ESP32: Timed out waiting for packet header
-
- Posts: 16
- Joined: Wed Jun 13, 2018 11:48 am
Re: Failed to connect to ESP32: Timed out waiting for packet header
Hi hemant,
No preparation is required apart from the correct strapping pins to get the ESP32 into UART bootloader mode.
Usually this kind of error means the ESP32 is not going into bootloader mode correctly.
For more information, consulting the Strapping Pins section in the ESP32 datasheet and these pages from the esptool docs:
https://github.com/espressif/esptool/wi ... -Selection
https://github.com/espressif/esptool/#troubleshooting
Running esptool.py with the "--trace" option may also give some clues as to what is happening when it tries to connect.
No preparation is required apart from the correct strapping pins to get the ESP32 into UART bootloader mode.
Usually this kind of error means the ESP32 is not going into bootloader mode correctly.
For more information, consulting the Strapping Pins section in the ESP32 datasheet and these pages from the esptool docs:
https://github.com/espressif/esptool/wi ... -Selection
https://github.com/espressif/esptool/#troubleshooting
Running esptool.py with the "--trace" option may also give some clues as to what is happening when it tries to connect.
Who is online
Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 84 guests