We designed a few devices using the ESP32-WROVER-IE module. I get the following error while uploading code from Uart in some designs.
- 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?