Hi,
i did a sketch on my esp32 with arduino IDE
if i compiled only it is successfull
If i tryied to compile and upload it failed each time with that error
A fatal error occurred: MD5 of file does not match data in flash!
Failed uploading: uploading error: exit status 2
i already followed that page , and i was able to upload a code on my esp32.
A code is already in my ESP32. It is running
But it is impossible for me to modify the running code and upload a new one.
I always have :
A fatal error occurred: MD5 of file does not match data in flash!
Failed uploading: uploading error: exit status 2
I think xfpd's suggestion of trying a lower upload baud rate is a good idea. I know you indicated you already tried it, but there is potential for confusion here because normally when we talk about setting a baud rate in the Arduino world we are talking about the sketch's serial port communication, which is set via the Serial.begin call in the sketch and the menu in the Arduino IDE Serial Monitor. But this time we are talking about the upload baud rate, which is set in a different way specific to the ESP32 boards.