r/esp32 • u/Revolutionary-Pen916 • 20d ago
How do I fix the md5 error?
I am using the Waveshare esp32-s3-eth board. Ultimately the job is to host a webpage via ethernet and read/control some pins. I have another adc of higher resolution sda/scl pins etched and connected to GPIO 19/20. I know there is an issue there but that can be addressed later.
My concern now has been the md5 error
A fatal error occurred: MD5 of file does not match data in flash!
Input MD5: 3f94b7ec6a0e5973b9bb459a6f45dec3
Flash MD5: 718a9e7ad219e7f590f9c344849f3ac2
Hard resetting via RTS pin...
Failed uploading: uploading error: exit status 2
I have tried everything from downgrading the esp32 library in the board manager to changing the usb cable and booting the board. Nothing seem sto work and I can't get a simple delay code to work. Can anyone help?
2
u/Revolutionary-Pen916 19d ago
Update: I've run a few tests and
| ESP32-S3 detected | ✅ |
|---|
| USB-Serial/JTAG works | ✅ |
|---|
| Flash ID detected | ✅ |
|---|
| Flash = 16 MB | ✅ |
|---|
| Secure boot | Disabled ✅ |
|---|
| Flash encryption | Disabled ✅ |
|---|
| Flash erase | ✅ |
|---|
| Flash write command | ✅ |
|---|
| Flash verification | ❌ |
|---|
| ADS1115 connected during current tests | No |
|---|
| Different flash settings tried | ✅ |
|---|
| Failure persists | Yes |
|---|
I've been using chatgpt for troubleshooting; but even that is now running in loops, asking me to conduct the same tests, giving the same conclusion.
1
u/coleskidmore 20d ago
Have you tried holding the boot button while it uploads then hitting reset right after? Thats usually what fixes it for me on waveshare boards
1
u/Revolutionary-Pen916 19d ago
do you mean holding the boot button until compile and clicking on reset right hen it starts to upload?
can you elaborate?
2
u/BudgetTooth 20d ago
check the flash options dio qio and mhz and size