Closed bryghtlabs-richard closed 4 months ago
Hi @bryghtlabs-richard, I am sorry for the issues. This is a known issue that was already solved in the master branch. Can you please try to install the latest dev release of esptool to verify that it fixes your problem? You can install it using pip with the following command:
pip install esptool==4.8.dev4
Please let me know if that helps.
Have not seen this failure since updating, thanks!
Operating System
Windows 11
Esptool Version
v4.7.0
Python Version
3.11.9
Chip Description
esp32-s3-wroom-1 N16R8
Device Description
Custom boardgame.
Hardware Configuration
Strapping&Reset pins: Reset - managed by ESP32 GPIO0: external 40k pull-up(shared strapping pin for another IC) GPIO3: 10k pullup GPIO45 Pull-down 0 GPIO46 Pull-down 0 All other pins are used
How is Esptool Run
No, esptool from windows python pip.
Full Esptool Command Line that Was Run
python -m esptool -b 1000000 --before default_reset --after hard_reset --chip esp32s3 write_flash -e --flash_mode keep --flash_size 16MB --flash_freq 80m 0x0 .\ScriptFlashFiles\Firmware\ESP32\build\bootloader\bootloader.bin 0xc000 .\ScriptFlashFiles\Firmware\ESP32\build\partition_table\partition-table.bin 0xd000 .\ScriptFlashFiles\Firmware\ESP32\build\phy_init_data.bin 0xe000 .\ScriptFlashFiles\Esp32_Serial.bin 0xf000 .\ScriptFlashFiles\Firmware\ESP32\build\ota_data_initial.bin 0x2e0000 .\ScriptFlashFiles\Firmware\ESP32\blitzboot\build\blitz_boot.bin 0x370000 .\ScriptFlashFiles\Firmware\ESP32\blitzboot\build\blitz_boot.bin 0x400000 .\ScriptFlashFiles\Firmware\ESP32\build\blitz_app.bin
Esptool Output
More Information
The command succeeds at least 9/10 times. It has never failed twice in a row. However, it has worked and failed using the same inputs with the same board.
Other Steps to Reproduce
This error is unexpected, because we are not flashing any HEX files, only BIN files. I don't think it is hardware related because it seems to be a hex-file parsing error, but its strange that sometimes it fails and sometimes it works using the same input files.
I Have Read the Troubleshooting Guide