-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MD5 of file does not match data in flash! (ESPTOOL-940) #1019
Comments
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 |
I have installed IDF4.4 and can burn ESP32S3 normally, but my project requires IDF5.1 |
I was wrong. Replacing the esptool.by file can allow esp32s3 to burn normally, but it can also cause strange compilation issues |
Hi @ljm996054544 can you please provide the images? I will try to reproduce it. |
images.zip |
Thanks for sending the images. I was not able to reproduce the issue unfortunately. I see from the log that you tried v4.7.0 and v4.8.1 and neither worked for you. Could you please try installing an older version of esptool manually and see if e.g. Sending the log with You can also try to flash the images with |
The reason is the difference in flash size. Your flash command uses 4MB and the connected device has 8MB flash. To avoid such issues build the firmware images for 8MB. |
I am using ESP32S3-N16R8, and I have set Flash to 2/4/8/16, but none of them work |
I manually installed esptool and tested one version after another. (Master) v4.6.2 can be used normally, but versions greater than 4.6.2 will report errors |
@ljm996054544 okay, thanks for trying this, can you please send the logs with |
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
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
The text was updated successfully, but these errors were encountered: