Failed to connect to ESP32: Timed out waiting for packet header
Posted: Tue Dec 19, 2023 9:57 pm
Hello everybody,
I've tried to create a small breakout board for the ESP32-WROVER-E with (what I believe) only the most minimalistic logics. Unfortunately however, I do get the following error when trying to program the microcontroller: "A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header"
I connected the ESP32 with my 3.3V USB-TTL converter in the following way:
If I do not enter the programming mode and just open the serial monitor (baudrate: 115200) I see the following messages continously:
In order to program the microcontroller, I do the following to enter the programing mode:
* press and hold the Program Button (SW2)
* press and release the Reset Button (SW1)
* release the Program Button (SW2)
But unfortunately when I try to program the ESP32, I do get the following error:
The schematics can be found here:
Does anyone know what I am doing wrong here?
Any help is greatly appreciated!
Thanks a lot!
I've tried to create a small breakout board for the ESP32-WROVER-E with (what I believe) only the most minimalistic logics. Unfortunately however, I do get the following error when trying to program the microcontroller: "A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header"
I connected the ESP32 with my 3.3V USB-TTL converter in the following way:
Code: Select all
ESP32 USB TTL Converter
GND --------- GND
3.3V --------- 3.3V
TX --------- RXD0
RX --------- TXD0
Code: Select all
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)␍␊
configsip: 0, SPIWP:0xee␍␊
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00␍␊
mode:DIO, clock div:2␍␊
load:0x3fffeba4,len:4␍␊
load:0x4009f000,len:3248␍␊
entry 0x4009f574␍␊
<0xc0>OHAI<0xc0>
* press and hold the Program Button (SW2)
* press and release the Reset Button (SW1)
* release the Program Button (SW2)
But unfortunately when I try to program the ESP32, I do get the following error:
Code: Select all
Sketch uses 886926 bytes (67%) of program storage space. Maximum is 1310720 bytes.
Global variables use 61088 bytes (18%) of dynamic memory, leaving 266592 bytes for local variables. Maximum is 327680 bytes.
esptool.py v3.0-dev
Serial port /dev/ttyUSB0
Connecting........_____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
Failed uploading: uploading error: exit status 2
Any help is greatly appreciated!
Thanks a lot!