espressif / esptool

Espressif SoC serial bootloader utility
https://docs.espressif.com/projects/esptool
GNU General Public License v2.0
5.52k stars 1.37k forks source link

MD5 of file does not match data in flash! (ESPTOOL-940) #1019

Open ljm996054544 opened 3 hours ago

ljm996054544 commented 3 hours ago

Operating System

win Vscode+IDF_V5.1.4

Esptool Version

v4.7.0

Python Version

Python 3.11.2

Chip Description

ESP32S3

Device Description

No response

Hardware Configuration

nothing

How is Esptool Run

win Vscode+IDF

Full Esptool Command Line that Was Run

d:\APP\Espressif\idf_510\idf_tools\python_env\idf5.1_py3.11_env\Scripts\python.exe d:\APP\Espressif\idf_510\v5.1\esp-idf\components\esptool_py\esptool\esptool.py -p COM18 -b 460800 --before default_reset --after hard_reset --chip esp32s3 write_flash --flash_mode dio --flash_freq 80m --flash_size 4MB 0x0 bootloader/bootloader.bin 0x10000 simple_ota.bin 0x8000 partition_table/partition-table.bin 0xd000 ota_data_initial.bin

Esptool Output

esptool.py v4.7.0
Serial port COM18
Connecting...
Chip is ESP32-S3 (QFN56) (revision v0.1)
Features: WiFi, BLE, Embedded PSRAM 8MB (AP_3v3)
Crystal is 40MHz
MAC: 34:85:18:98:3e:70
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00010000 to 0x000f2fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000d000 to 0x0000efff...
Compressed 20960 bytes to 13316...
Wrote 20960 bytes (13316 compressed) at 0x00000000 in 0.6 seconds (effective 296.3 kbit/s)...
File  md5: f88272169361160868e505a3542a7671
Flash md5: 516460e381627df19e0d1c86f0bcc013
MD5 of 0xFF is 516460e381627df19e0d1c86f0bcc013

A fatal error occurred: MD5 of file does not match data in flash!

More Information

Burning ESP32c3 is normal, but ESP32s3 cannot be burned. I will merge the three generated bin files and download them using the esphome tool( https://web.esphome.io/ )It can be downloaded normally and the chip is running normally

Other Steps to Reproduce

No response

I Have Read the Troubleshooting Guide

ljm996054544 commented 2 hours ago

The idf5.1.0 previously installed on another computer was able to burn the same S3 development board normally. Now I have tried installing multiple versions of idf, but none of them can burn this ESP32S3 development board Use https://web.esphome.io/ and flash_rownload_tool_3.9.7.exe tool can burn, which should indicate that my hardware is functioning properly