I've had minor hiccups with flash uploading, which you can see in my video about how to upload the NES emulator onto a SparkFun ESP32 Thing.
Since then I've received my WEMOS LOLIN32, and also changed the upload speed from 115200 to the supercool 921600.
And sometimes the upload failed with an ugly error message, and I had to get back to 115200 to make it work, but mostly there was no problem.
Also noticed that in the serial monitor sometimes the ESP32 blabbed random characters at restart.
And recently I've been doing some WiFi stuff, and noticed the blinking charge LED on the LOLIN32. But hey, nothing's there to charge.. So maybe something with the charging circuit? This could cause the sometimes faulty uploads? But I also have problems with my other board sometimes! So what's this all about? I did not know the answer.
Until now!
And it's so simple it just hurts :)
One of my USB cables is simply used up. That's it. These cables are plugged in and out many times, and are used for charging many times.
I've checked with a USB Charger Doctor, that with this cable my phone gets less power while charging. The cable itself acts as a resistor, so the device won't get enough power.
And therefore when I used this cable, the ESP32 got power just enough to run, but not enough run smoothly, giving random glitches.
![](https://i.ytimg.com/vi/cbWxf7nmuj8/maxresdefault.jpg)