ESP32-WROVER-IE "A fatal error occurred: MD5 of file does not match data in flash!"

ahmetbasli001
Posts: 3
Joined: Mon Mar 21, 2022 10:30 am

ESP32-WROVER-IE "A fatal error occurred: MD5 of file does not match data in flash!"

Postby ahmetbasli001 » Mon Mar 21, 2022 10:48 am

Hi there ;
We designed a few devices using the ESP32-WROVER-IE module. I get the following error while uploading code from Uart in some designs.

Code: Untitled.bsh Select all

Connecting............
Chip is ESP32-D0WD-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: e0:e2:e6:31:e3:68
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00007fff...
Flash will be erased from 0x00100000 to 0x00165fff...
Flash will be erased from 0x00010000 to 0x00010fff...
Compressed 25280 bytes to 15794...
Writing at 0x00001000... (100 %)
Wrote 25280 bytes (15794 compressed) at 0x00001000 in 0.4 seconds (effective 452.2 kbit/s)...
File md5: 6c24e50058ff9b33c2d8e37257b0d966
Flash md5: 311d2f4a383fad4d86dc10c95970e701
MD5 of 0xFF is c61f790c376e6a7e7711c8ac2410f446

A fatal error occurred: MD5 of file does not match data in flash!
CMake Error at run_serial_tool.cmake:56 (message):
/Users/cinargursoy/.espressif/python_env/idf4.4_py3.9_env/bin/python
/Users/cinargursoy/esp/esp-idf/components/esptool_py/esptool/esptool.py
--chip esp32 failed

My problem is: If there are 200 cards produced, this error exists in 20 or 30 cards, it goes away when the ESP32 module is inserted and soldered again, or if I succeed in programming once, sometimes it does not come again. Attached are the esp32 connections we made. What is the source of this error?
Attachments
PMU.jpg
PMU.jpg (205.91 KiB) Viewed 4993 times
dio.jpg
dio.jpg (63.16 KiB) Viewed 4993 times
b367fcac-04e3-4636-8b7f-a0afd41d81c1.jpg
b367fcac-04e3-4636-8b7f-a0afd41d81c1.jpg (149.7 KiB) Viewed 4993 times

Sprite
Espressif staff
Espressif staff
Posts: 10619
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-WROVER-IE "A fatal error occurred: MD5 of file does not match data in flash!"

Postby Sprite » Tue Mar 22, 2022 2:08 am

You have GPIO12 connected to something. Note that this is also a bootstrap pin that sets the voltage of the internal flash chip. If this is the wrong value (you want it at 3.3V for this module), flashing may fail. Suggested solution is to burn the eFuse that hardcodes the flash voltage.


Who is online

Users browsing this forum: Bytespider and 4 guests