Simple fix when upload fails.
-
Add a small capacitor like 2,2uF between Ground and RST
-
Can confirm. Similar issue to the old 8266.
Ripple on the RST pin causing resets whilst communicating. I used a 10uF successfully after trying all available CP210X drivers without success. -
Can we solder a permanent 2.2uF small capacitor INSIDE the box or ... ?
-
I've got the same problem.
By adding a capacitor, I was also able to solve the issue. But for me this looks more like a weak reset circuit in the M5Stack board rather than a drive issue. At leat adding the capacitor is is more a workaround rather than a solution.
-
One nice way for a permanent fix would be to solder the capacitor inside of the Proto board with extenasion:
But this is not sold seperatly at all.
-
If you do not have a capacitor available, you can also try to set the "Upload Speed" to 115200 in Arduino IDE.
Of course the uploads are longer, but it did the job for me : i did not have any upload error sinceI also installed the latest CP210x Windows driver (v10.1.1 for Windows 10) but i don't think this is necessary