MD5 of file does not match data in flash!

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
johnzbesko
Posts: 1
Joined: Mon Nov 22, 2021 5:57 pm

MD5 of file does not match data in flash!

Post by johnzbesko » Mon Nov 22, 2021 6:05 pm

Hello! I have a problem. I may have touched the wrong pins when debugging a soldered breadboard. The test sketch I was using seems to have been permanently written to somewhere on my ESP32-WROOM-32. I'm trying to erase everything and bring back factory condition. This is my latest attempt using a USB cable to connect to the ESP:

$ sudo python /home/johnz/.local/lib/python3.8/site-packages/esptool.py --chip auto --port /dev/ttyUSB0 --baud 115200 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size 4MB 0x0 factory/factory_WROOM-32.bin
esptool.py v3.2
Serial port /dev/ttyUSB0
Connecting.....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting.....
Detecting chip type... ESP32
Chip is ESP32-D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: c4:4f:33:6b:a4:29
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash will be erased from 0x00000000 to 0x003fffff...
Compressed 4194304 bytes to 942887...
Wrote 4194304 bytes (942887 compressed) at 0x00000000 in 86.8 seconds (effective 386.3 kbit/s)...
File md5: a595121b6aa7426e533006344d547440
Flash md5: d37302d28a3ce07290a5faabb8567d54
MD5 of 0xFF is 2b7a70fa59f8173635bcbe956bad56c6

A fatal error occurred: MD5 of file does not match data in flash!


Have I bricked my ESP? Do I need to get a serial to USB converter and use certain pins to upload? This question was also posted to the Expressif forum as well.

Post Reply