This is unfortunately an error that still happens to this day. So I’ve put together 4 possible solutions to help you resolve this issue.
Check your USB cable connection. Not every USB cable is equal, some are good, some are great and some just suck.
Try seeing if you have the right driver installed. Have a look at the USB to Serial chip that’s on your board is using and download the driver through the manufacturer’s website.
Here’s a list of the drivers for some common USB to Serial chips on ESP32 boards:
Try setting the Serial baud rate to 115200. It seems like a weird solution but sometimes it works.
Connect a 1uF ceramic capacitor between EN and GND of the ESP32. Have a look at which ESP32 module you’re using and search for the pinout online.
Here’s an example with the NodeMCU 32 board :
If you liked this tutorial please share it and ask any questions you have in the comments 😀