I have been programming my ESP32 for a while now, without issues. Today I wanted to work on my code and did a regular upload just to make sure everything was good... it was not.
I cannot flash any ESP32 dev boards.
None of my previous codes work yet I didn't change anything. I tried rebooting everything.
Your program (Arduino) may be set to auto update.
If that is the case, it may have loaded a newer version that has a compatibility issue with your board.
You can go in and reinstall any of the board versions or uninstall the current one.
Another thing to look at is there have been sporadic issues with uploading while a monitor is open. Close all monitors before uploading and then open them after the board is running.