Hello Arduino community, I have an ESP32 DOIT DEVKIT V1 board problem. I was able to program it with a usb cable with no problems and got detected by my laptop. Then, all of a sudden, I got an error from windows 10 saying “The last USB device you connected to this computer malfunctioned, and Windows does not recognize it”.
When I go to the control panel, under “Universal Serial Bus controllers”, it shows a “Unknown USB device (Device Descriptor Request Failed)”. I have searched many different forums, videos and more to try to find a solution applicable and I have updated the drivers, uninstalled the USB devices in “Device Manager” and have tried 2 cables that have data lines in them. I also tried it on 3 laptops (Windows and MacOS) with the same result. In Arduino IDE, when trying to upload any sketch, it says: “the selected serial port Failed to execute script esptool does not exist or your board is not connected”. I have tried so many ways to try to make my esp32 work but none have had any effect on the problem.
Arduino: 1.8.9 (Windows Store 188.8.131.52) (Windows 10), Board: "DOIT ESP32 DEVKIT V1, 80MHz, 921600, None" Sketch uses 214261 bytes (16%) of program storage space. Maximum is 1310720 bytes. Global variables use 15428 bytes (4%) of dynamic memory, leaving 312252 bytes for local variables. Maximum is 327680 bytes. esptool.py v2.6 Serial port COM5 Traceback (most recent call last): File "esptool.py", line 2959, in <module> File "esptool.py", line 2952, in _main File "esptool.py", line 2652, in main File "esptool.py", line 222, in __init__ File "site-packages\serial\__init__.py", line 88, in serial_for_url File "site-packages\serial\serialwin32.py", line 62, in open serial.serialutil.SerialException: could not open port 'COM5': WindowsError(2, 'The system cannot find the file specified.') Failed to execute script esptool the selected serial port Failed to execute script esptool does not exist or your board is not connected This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
Once again, I am using Windows 10 but have also used MacOS
I can not express how greatly I appreciate any answers and resolutions to this problem. Thank you for reading this question.