Today I figured out on a problem during flashing an ESP32 WROOM dev board, during upload of firmware I received MD5 does not match. I performs many test:
- Change flash station
- Rebuild the code
- Change flash parameters
- Upload new code using OTA
I realize that there is something that does not grant to write to flash. I just thinking to replace FLASH on board when I found this solution
esptool.py -p /dev/ttyUSB0 write_flash_status --non-volatile 0
After that command I was able to re-flash ESP32 both using USB or OTA.
Hope this would help others!