ESP32 S3 Cannot Detect Flash using esptool.py

TGiles98
Posts: 4
Joined: Tue Oct 05, 2021 8:59 pm

ESP32 S3 Cannot Detect Flash using esptool.py

Postby TGiles98 » Mon Oct 11, 2021 6:54 pm

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)

chegewara
Posts: 2378
Joined: Wed Jun 14, 2017 9:00 pm

Re: ESP32 S3 Cannot Detect Flash using esptool.py

Postby chegewara » Thu Oct 21, 2021 11:43 pm

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

TGiles98
Posts: 4
Joined: Tue Oct 05, 2021 8:59 pm

Re: ESP32 S3 Cannot Detect Flash using esptool.py

Postby TGiles98 » Sun Oct 24, 2021 8:04 am

Hi,

How might I update the esptool to V.3.2?

Many thanks,

chegewara
Posts: 2378
Joined: Wed Jun 14, 2017 9:00 pm

Re: ESP32 S3 Cannot Detect Flash using esptool.py

Postby chegewara » Sun Oct 24, 2021 1:27 pm

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)

Who is online

Users browsing this forum: No registered users and 3 guests