Problem with esp32-s3 firmware

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
Alsor1962
Posts: 4
Joined: Sat Jul 03, 2021 5:25 am

Problem with esp32-s3 firmware

Post by Alsor1962 » Wed Feb 02, 2022 8:51 am

an error occurs while installing the firmware:

Code: Select all

PS D:\esptool> esptool.py --chip auto --port COM22 erase_flash
esptool.py v3.1
Serial port COM22
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...
Erasing flash (this may take a while)...

A fatal error occurred: Invalid head of packet (0x73)
PS D:\esptool>

Code: Select all

PS D:\esptool> esptool.py --chip auto --port COM22 --baud 460800 write_flash -z 0x1000 s3r.bin
esptool.py v3.1
Serial port COM22
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...
Changing baud rate to 460800

A fatal error occurred: Invalid head of packet (0x69)
PS D:\esptool>
tell me please, what is the problem?

seonr
Posts: 43
Joined: Mon Sep 10, 2018 6:54 am

Re: Problem with esp32-s3 firmware

Post by seonr » Wed Feb 02, 2022 8:55 pm

esptool is too old. Update it via pip to 3.2 or later.
Don't use -chip auto always specify --chip esp32s3 and you would have seeing error saying no esp32s3 found.

Alsor1962
Posts: 4
Joined: Sat Jul 03, 2021 5:25 am

Re: Problem with esp32-s3 firmware

Post by Alsor1962 » Thu Feb 03, 2022 4:35 am

seonr wrote:
Wed Feb 02, 2022 8:55 pm
esptool is too old. Update it via pip to 3.2 or later.
Don't use -chip auto always specify --chip esp32s3 and you would have seeing error saying no esp32s3 found.
Thanks, everything is OK now. The firmware has been loaded.
But when Thonny connects, a message is displayed, and the micropython does not start:

Code: Select all

Device is busy or does not respond. Your options:

  - wait until it completes current work;
  - use Ctrl+C to interrupt current work;
  - use Stop/Restart to interrupt more and enter REPL.

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd0108,len:0xf60
load:0x403b6000,len:0x978
load:0x403ba000,len:0x2c80
entry 0x403b616c
W (25) bootloader_random: RNG for ESP32-S3 not currently supported
W (238) bootloader_random: RNG for ESP32-S3 not currently supported

Post Reply