MD5 of file does not match data in flash!

Saeed_afshari
Posts: 2
Joined: Mon Feb 17, 2025 4:18 pm

MD5 of file does not match data in flash!

Postby Saeed_afshari » Mon Feb 17, 2025 4:53 pm

I'm using ESP32-S3FN8 and CH340 USB to TTL Programmer. but whenever I try to Flash the chip it gives me this error:
File md5: dd5a757295421a46b1585bd27be7beb2
Flash md5: f6e84a245ec15ff98f659e6f703ad42d
MD5 of 0xFF is f6e84a245ec15ff98f659e6f703ad42d

A fatal error occurred: MD5 of file does not match data in flash!
The code itself is just an empty template. Flash size is set to 8MB. Baudrate is set to 115200 and the command I'm using is this:

Code: Select all

esptool.py -p COM3 -b 115200 --before default_reset --after hard_reset --chip esp32s3 write_flash --flash_mode dio --flash_freq 80m --flash_size 8MB 0x00 bootloader/bootloader.bin 0x10000 Examp_code.bin 0x8000 partition_table/partition-table.bin
I tried to clean the Flash using this command:

Code: Select all

idf.py erase_flash
I seems to be cleaned but whenever I restart it it keeps printing this message: invalid header: 0xffffffff
I tried to launch it on boot mode the message it shows is this:
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x20 (DOWNLOAD(USB/UART0))
waiting for download

ESP_Sprite
Posts: 9985
Joined: Thu Nov 26, 2015 4:08 am

Re: MD5 of file does not match data in flash!

Postby ESP_Sprite » Tue Feb 18, 2025 6:32 am

This is on a custom board? What is GPIO45 connected to?

Saeed_afshari
Posts: 2
Joined: Mon Feb 17, 2025 4:18 pm

Re: MD5 of file does not match data in flash!

Postby Saeed_afshari » Wed Feb 19, 2025 10:09 am

ESP_Sprite wrote:
Tue Feb 18, 2025 6:32 am
This is on a custom board? What is GPIO45 connected to?
right, it's a custom board. GPIO45 is connected to nowhere

ESP_Sprite
Posts: 9985
Joined: Thu Nov 26, 2015 4:08 am

Re: MD5 of file does not match data in flash!

Postby ESP_Sprite » Thu Feb 20, 2025 2:31 am

That should work. Are pins 28-35 connected to anything? More generally, can you share a schematic?

Who is online

Users browsing this forum: No registered users and 142 guests