Page 1 of 1

ESP32 S3 Cannot Detect Flash using esptool.py

Posted: Mon Oct 11, 2021 6:54 pm
by TGiles98
A fatal error occurred: Invalid head of packet (0x47)

esptool.py v3.1
Found 6 serial ports
Serial port /dev/cu.SLAB_USBtoUART
Connecting....
Detecting chip type... ESP32-S3(beta3)
Chip is ESP32-S3(beta3)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 00:00:00:00:00:00
Uploading stub...
Running stub...
Stub running...

A fatal error occurred: Invalid head of packet (0x74)

Re: ESP32 S3 Cannot Detect Flash using esptool.py

Posted: Thu Oct 21, 2021 11:43 pm
by chegewara
I think you need to update esptool (v3.1 vs v3.2-dev) and/or esp-idf(master):

Code: Select all

esptool.py v3.2-dev
Found 2 serial ports
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... ESP32-S3
Chip is ESP32-S3
Features: WiFi, BLE
Crystal is 40MHz
MAC: 7c:df:a1:e0:49:2c
Uploading stub...
Running stub...
Stub running...
Manufacturer: 20
Device: 4017
Detected flash size: 8MB
Hard resetting via RTS pin...

Re: ESP32 S3 Cannot Detect Flash using esptool.py

Posted: Sun Oct 24, 2021 8:04 am
by TGiles98
Hi,

How might I update the esptool to V.3.2?

Many thanks,

Re: ESP32 S3 Cannot Detect Flash using esptool.py

Posted: Sun Oct 24, 2021 1:27 pm
by chegewara
esptool should be updated with esp-idf, when you update git submodules.


PS i missed 1 thing earlier; your chip is esp32 S3 BETA3, which mean you probably have the correct esptool already, since it is detected, but you probably are building for esp32 S3 rev 0+, or other esp32 (just guessing now)