Page 1 of 1

ESP32-S2 Invaild Header / Timed out waiting for packet content error

Posted: Wed Mar 08, 2023 9:10 am
by sultehx7
Hi,
i have designed my own board for the ESP32-S2. Here you can see the corresponding schematic.
ESP32_S2_Schematic.PNG
ESP32-S2 Schematic
ESP32_S2_Schematic.PNG (48.4 KiB) Viewed 755 times
When I apply voltage to the ESP32-S2 I get the following output via UART.
ESP32_S2_UART.PNG
ESP32-S2 UART Output
ESP32_S2_UART.PNG (11.89 KiB) Viewed 755 times
The real problem is that i can not flash the module. To flash the module i first put the ESP32-S2 into download mode by pulling the GPIO_0 to GND and meanwhile the CHIP_PU to GND. That this works i see at the UART output:

ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0x1 (POWERON),boot:0x0 (DOWNLOAD(USB/UART0/1/SPI))
waiting for download

If i now want to flash the FW i get the error that you can see in the picture.
ESP32_S2_FLASH.PNG
ESP32-S2 Flash Error
ESP32_S2_FLASH.PNG (22.09 KiB) Viewed 755 times
Does anyone have a solution how i can flash the module?

Re: ESP32-S2 Invaild Header / Timed out waiting for packet content error

Posted: Thu Mar 09, 2023 12:36 am
by ESP_Sprite
To flash the board would imply that there is any flash to program on there. Your board has none: nothing external and the ESP32-S2 doesn't have any internal flash. Suggest you either add some external flash, or use an ESP32-S2 with internal flash instead (e.g. an ESP32-S2FH4).