Page 1 of 1

Cant upload to esp32 devkit

Posted: Sun Jul 09, 2023 1:11 am
by XaōNurō鬼
Hello, I just bought an ESP32 Dev module. First, I installed cp201x drivers from Silicon Labs after installing the drivers devkit appeared in the device manager as " Silicon Labs CP210x USB to UART Bridge (com3)" (check screenshot).
Screenshot 2023-07-09 053951.png
Screenshot 2023-07-09 053951.png (130.86 KiB) Viewed 1469 times
and I configured the Arduino IDE by adding the esp32 JSON link to preferences and installing esp32 in the board manager.
Then I selected the board type as "ESP32 Devkit Module" and the port as com3. To check that everything is working correctly I tried to upload the esp32 example GetChipId example but after some time it output the below(second screenshot) error.
Screenshot 2023-07-09 053908.png
Screenshot 2023-07-09 053908.png (87.04 KiB) Viewed 1469 times
When I clicked board info in the Arduino IDE it showed it is an unknown board (Check screenshot 3)
Screenshot 2023-07-09 053734.png
Screenshot 2023-07-09 053734.png (49.34 KiB) Viewed 1469 times
I tried re-installing everything but doesn't seems to fix it. I bought this board yesterday so it's a brand-new module. I can return this module to replace it if this is a faulty unit. But I wanted to know whether I am doing something wrong first.

Re: Cant upload to esp32 devkit

Posted: Sun Jul 09, 2023 8:00 am
by bidrohini
In the Arduino IDE, go to "Tools" -> "Board" -> "Boards Manager" and search for "esp32". Click on the "esp32" entry and make sure you have the latest version installed. If not, click "Update" to get the latest version.

If updating the board files doesn't resolve the issue, you can try uninstalling the ESP32 board files completely and then reinstalling them. Go to "File" -> "Preferences" in the Arduino IDE, and in the "Additional Board Manager URLs" field, remove the URL for the ESP32 board. Click "OK" to close the preferences. Then, go to "Tools" -> "Board" -> "Boards Manager" and uninstall the ESP32 boards. After that, add the ESP32 board URL back to the preferences and reinstall the board files.