Impossible to flash ESP32-S2-SOLO

monowii
Posts: 2
Joined: Mon Oct 25, 2021 6:03 pm

Impossible to flash ESP32-S2-SOLO

Postby monowii » Mon Oct 25, 2021 6:46 pm

Hi,

ESP32 Arduino 2.0.1 RC1 it is working nicely with my ESP32-S2-DevKitM-1.

Hoewer i'm having troubles flashing my ESP32-S2-SOLO module with ESP32 Arduino 2.0.1 RC1.
This is the current schematic:
schematic.PNG
schematic.PNG (35.39 KiB) Viewed 2905 times

I have the following error (The invalid head of packet is not constant):

Code: Select all

C:\Users\wontg\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\3.1.0/esptool.exe --chip esp32s2 --port COM10 --baud 115200 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0xe000 C:\Users\wontg\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.1-RC1/tools/partitions/boot_app0.bin 0x1000 C:\Users\wontg\AppData\Local\Temp\arduino_build_114974/test_esp32s2.ino.bootloader.bin 0x10000 C:\Users\wontg\AppData\Local\Temp\arduino_build_114974/test_esp32s2.ino.bin 0x8000 C:\Users\wontg\AppData\Local\Temp\arduino_build_114974/test_esp32s2.ino.partitions.bin 
esptool.py v3.1
Serial port COM10
Connecting........_____....._____....._____....._____....._____....._____....._____

A fatal error occurred: Failed to connect to ESP32-S2: Invalid head of packet (0x12)
A fatal error occurred: Failed to connect to ESP32-S2: Invalid head of packet (0x12)

Here is the serial output when reseting with GPIO0 to GND:

Code: Select all

20:37:21.390 -> ESP-ROM:esp32s2-rc4-20191025
20:37:21.390 -> Build:Oct 25 2019
20:37:21.390 -> rst:0x1 (POWERON),boot:0x0 (DOWNLOAD(USB/UART0/1/SPI))
20:37:21.390 -> waiting for download
Here is the serial output when reseting with GPIO0 floating:

Code: Select all

20:38:20.217 -> ESP-ROM:esp32s2-rc4-20191025
20:38:20.217 -> Build:Oct 25 2019
20:38:20.217 -> rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
20:38:20.217 -> invalid header: 0xffffffff
20:38:20.217 -> invalid header: 0xffffffff
20:38:20.217 -> invalid header: 0xffffffff
20:38:20.217 -> invalid header: 0xffffffff
20:38:20.217 -> invalid header: 0xffffffff
[....]
20:38:25.733 -> invalid header: 0xffffffff
20:38:25.733 -> invalid header: 0xffffffff
20:38:25.733 -> i⸮ESP-ROM:esp32s2-rc4-20191025
20:38:25.733 -> Build:Oct 25 2019
20:38:25.733 -> rst:0x10 (RTCWDT_RTC_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
20:38:25.733 -> invalid header: 0xffffffff
20:38:25.733 -> invalid header: 0xffffffff
Thank you for you help!

monowii
Posts: 2
Joined: Mon Oct 25, 2021 6:03 pm

Re: Impossible to flash ESP32-S2-SOLO

Postby monowii » Fri Oct 29, 2021 9:50 pm

I have some great news, the UART0 flash still doesn't work but I tried the USB programming with GPIO 19 / GPIO 20 and it worked the first time :D !

ivosak
Posts: 1
Joined: Thu Oct 24, 2024 9:15 pm

Re: Impossible to flash ESP32-S2-SOLO

Postby ivosak » Thu Oct 24, 2024 9:20 pm

monowii wrote:
Fri Oct 29, 2021 9:50 pm
I have some great news, the UART0 flash still doesn't work but I tried the USB programming with GPIO 19 / GPIO 20 and it worked the first time :D !
Hi, could you, please, be so kind and tell me, how you did forced ESP32-S2-Solo to connect to computer = be programmed?
I am unable to make it working. I am noob, obviously, 'cause I am lost in this :D

Thank you
Ivo

Who is online

Users browsing this forum: Bing [Bot], glebanatik, inF1704 and 35 guests