Hi All,
I have an ESP32 that I have programmed/reprogrammed several times over USB. I have removed it, not connected to anything else and now it will not upload the program saying that esptool wont open and the board is not connected. I can select the com port in Arduino IDE and I see and access the board in device manager, I am using the same cable as an hour ago but have tried several other cables with same result.
I have also tried pressing the boot button, holding it down, and every other combination I can think of. Nothing has changed from an hour ago when everything was working fine so I am at a loss.
Any Ideas would be welcome as I have tried every troubleshoot that I can think of.
The Error:-
Arduino: 1.8.13 (Windows Store 1.8.42.0) (Windows 10), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, None"
Sketch uses 215817 bytes (16%) of program storage space. Maximum is 1310720 bytes.
Global variables use 15492 bytes (4%) of dynamic memory, leaving 312188 bytes for local variables. Maximum is 327680 bytes.
esptool.py v2.6
Serial port COM14
Traceback (most recent call last):
File "esptool.py", line 2959, in
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 'COM14': WindowsError(5, 'Access is denied.')
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.