witnessmenow / ESP32-Cheap-Yellow-Display

Building a community around a cheap ESP32 Display with a touch screen
MIT License
1.55k stars 156 forks source link

Troubleshooting: Linux Mint users may not be able to flash #187

Closed LyimeS closed 2 months ago

LyimeS commented 5 months ago

I spent a few hours trying to upload the example code to the board I received today. The Arduino IDE detected a serial device, but every time I attempted to upload, it returned the error "Failed to connect." Later, I realized that the serial port detected by the IDE wasn't the ESP32 but rather another device on my laptop.

After hours of research, I found this issue mentioning that a pre-installed software, brltty, was silently blocking the CH340 USB driver. The workaround (for now) is to uninstall brltty: sudo apt-get remove brltty

TheNitek commented 2 months ago

Part of the troubleshooting guide by now: https://github.com/witnessmenow/ESP32-Cheap-Yellow-Display/blob/main/TROUBLESHOOTING.md#cannot-upload