Hi
I seemed to have this issue in the past but it started working. I've followed all step of uninstalling etc but nothing works. I can not upload a single bit of code, I either get com8 does not exist or I get other errors.
Any suggestions as everything I find online doesn't help.
I've reinstalled IDE and libs, tied GPIO0 to gnd, holding the BOOT button but nothing.
The com port appears to be okay, along with drivers. Other boards, such as an UNO, ESP8266 upload code but not this ESP32.
Arduino: 1.8.19 (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, Core 1, Core 1, None, Disabled"
Sketch uses 676161 bytes (51%) of program storage space. Maximum is 1310720 bytes.
Global variables use 37464 bytes (11%) of dynamic memory, leaving 290216 bytes for local variables. Maximum is 327680 bytes.
C:\Users\cpmag\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.2.1/esptool.exe --chip esp32 --port COM8 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x1000 C:\Users\cpmag\AppData\Local\Temp\arduino_build_657480/WiFiScan.ino.bootloader.bin 0x8000 C:\Users\cpmag\AppData\Local\Temp\arduino_build_657480/WiFiScan.ino.partitions.bin 0xe000 C:\Users\cpmag\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.5/tools/partitions/boot_app0.bin 0x10000 C:\Users\cpmag\AppData\Local\Temp\arduino_build_657480/WiFiScan.ino.bin
Traceback (most recent call last):
esptool.py v4.2.1
File "esptool.py", line 34, in <module>
Serial port COM8
File "esptool\__init__.py", line 1004, in _main
File "esptool\__init__.py", line 646, in main
File "esptool\__init__.py", line 894, in get_default_connected_device
File "esptool\loader.py", line 286, in __init__
File "serial\serialutil.py", line 392, in write_timeout
File "serial\serialwin32.py", line 222, in _reconfigure_port
serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31)
[12516] Failed to execute script 'esptool' due to unhandled exception!
the selected serial port [12516] Failed to execute script 'esptool' due to unhandled exception!
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.