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

sultehx7
Posts: 1
Joined: Wed Mar 08, 2023 7:42 am

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

Postby sultehx7 » Wed Mar 08, 2023 9:10 am

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 842 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 842 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 842 times
Does anyone have a solution how i can flash the module?

ESP_Sprite
Posts: 9713
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Thu Mar 09, 2023 12:36 am

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).

Who is online

Users browsing this forum: No registered users and 54 guests