Page 1 of 1

MD5 of file does not match data in flash!

Posted: Mon Feb 17, 2025 4:53 pm
by Saeed_afshari
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

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

Posted: Tue Feb 18, 2025 6:32 am
by ESP_Sprite
This is on a custom board? What is GPIO45 connected to?

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

Posted: Wed Feb 19, 2025 10:09 am
by Saeed_afshari
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

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

Posted: Thu Feb 20, 2025 2:31 am
by ESP_Sprite
That should work. Are pins 28-35 connected to anything? More generally, can you share a schematic?