Hello guys!
I accidentally connected a led without resistor in the esp32 vin and gnd pin. The led burned and now my esp32 is showing error while uploading code. "A fatal error occurred: MD5 of file does not match data in flash!
Failed uploading: uploading error: exit status 2".
the full error is given below
Sketch uses 246581 bytes (18%) of program storage space. Maximum is 1310720 bytes.
Global variables use 22336 bytes (6%) of dynamic memory, leaving 305344 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port COM4
Connecting..................................
Chip is ESP32-D0WDQ6 (revision v1.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 4c:eb:d6:7b:0c:80
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x0004cfff...
Compressed 18960 bytes to 13073...
Writing at 0x00001000... (100 %)
Wrote 18960 bytes (13073 compressed) at 0x00001000 in 0.2 seconds (effective 697.1 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 146...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (146 compressed) at 0x00008000 in 0.0 seconds (effective 718.3 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 2229.0 kbit/s)...
Hash of data verified.
Compressed 246944 bytes to 136227...
Writing at 0x00010000... (11 %)
Writing at 0x0001d43a... (22 %)
Writing at 0x00024959... (33 %)
Writing at 0x00029dea... (44 %)
Writing at 0x0002f149... (55 %)
Writing at 0x000363bc... (66 %)
Writing at 0x0003fa40... (77 %)
Writing at 0x00044ebb... (88 %)
Writing at 0x0004a876... (100 %)
Wrote 246944 bytes (136227 compressed) at 0x00010000 in 1.8 seconds (effective 1119.4 kbit/s)...
File md5: 13d16705bf37184c9ebf03bbaf652c2b
Flash md5: 97d809f4caf6733ed39dd0c9cd3f0cc8
MD5 of 0xFF is 0b0686b34a58acfc089a928a9d35c0c8
A fatal error occurred: MD5 of file does not match data in flash!
Failed uploading: uploading error: exit status 2
A fatal error occurred: MD5 of file does not match data in flash!
-
- Posts: 9757
- Joined: Thu Nov 26, 2015 4:08 am
Re: A fatal error occurred: MD5 of file does not match data in flash!
What devboard do you use? Generally, there's a schottky diode between the USB 5V line and the rest of the devboard, to prevent backfeeding. Chances are that you damaged that diode and now the ESP32 doesn't get enough power anymore.
Who is online
Users browsing this forum: No registered users and 21 guests