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.
  1. Connecting............
  2. Chip is ESP32-D0WD-V3 (revision 3)
  3. Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
  4. Crystal is 40MHz
  5. MAC: e0:e2:e6:31:e3:68
  6. Uploading stub...
  7. Running stub...
  8. Stub running...
  9. Changing baud rate to 460800
  10. Changed.
  11. Configuring flash size...
  12. Flash will be erased from 0x00001000 to 0x00007fff...
  13. Flash will be erased from 0x00100000 to 0x00165fff...
  14. Flash will be erased from 0x00010000 to 0x00010fff...
  15. Compressed 25280 bytes to 15794...
  16. Writing at 0x00001000... (100 %)
  17. Wrote 25280 bytes (15794 compressed) at 0x00001000 in 0.4 seconds (effective 452.2 kbit/s)...
  18. File  md5: 6c24e50058ff9b33c2d8e37257b0d966
  19. Flash md5: 311d2f4a383fad4d86dc10c95970e701
  20. MD5 of 0xFF is c61f790c376e6a7e7711c8ac2410f446
  21.  
  22. A fatal error occurred: MD5 of file does not match data in flash!
  23. CMake Error at run_serial_tool.cmake:56 (message):
  24.   /Users/cinargursoy/.espressif/python_env/idf4.4_py3.9_env/bin/python
  25.   /Users/cinargursoy/esp/esp-idf/components/esptool_py/esptool/esptool.py
  26.   --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 4237 times
dio.jpg
dio.jpg (63.16 KiB) Viewed 4237 times
b367fcac-04e3-4636-8b7f-a0afd41d81c1.jpg
b367fcac-04e3-4636-8b7f-a0afd41d81c1.jpg (149.7 KiB) Viewed 4237 times

ESP_Sprite
Posts: 9770
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 ESP_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: No registered users and 95 guests