Hello Everyone,
I am facing a problem with the ESP32 module I have.
Whenever I try to upload any program either using Arduino IDE or from VSCode with PlatformIO extension, I am getting the following error.
A fatal error occurred: MD5 of file does not match data in flash!
*** [upload] Error 2
And to fix this I have to remove some connections from the V5
pin of the ESP32 module.
For example, I have an ESP32 module connected with a DHT11 sensor, and when the sensor is connected then I can't program/upload (not always, but most of the time), and if I remove the DHT11 VCC pin from the ESP32 module V5
, it started working.
Can anyone suggest to me what should I do to fix this issue?
A few months back, when I was using ESP32 with an ILI9341 Display Controller, then also I was facing the same issue.
Any help suggestion is really appreciated.