on a Windows 10 laptop.
I thought that I had this all setup but it’s been a while. Same laptop, same cable, same ESP32 Thing. I have also tried a different cable. No help.
I connected the Thing to the laptop. The board came on and the blue LED was blinking. So I found the Blink file that I had previously edited, made a change in the timing and it wouldn’t upload after building. It said that there was no connection to the board.
When I looked at the Arduino app and the ESP32 was not the chosen board nor was there a selection for it. I went to the installation instructions and started over. I uninstalled and then re-installed the Arduino app, then entered the following into Preferences additional boards.
https://raw.githubusercontent.com/espre … index.json
Then I could see the ESP32 in the tools/Board Manager. I could also see the ESP32 Thing in the boards to select. It said that it was already installed.
I tried to upload my Blink program again. It would build but would not upload. I removed the esp32 package in the board manager and re-installed it. It still wouldn’t upload. I checked to see if there were any other ports besides COM5 and there were not any.
I also tried another ESP32 thing. It wanted to use Port4 and not Port5. In each case, that was the only port available for selection.
I rebuilt again and it wouldn’t upload again for the same reason. Any help that you would be willing to provide would be appreciated. Thanks in advance. Here is the serial port output.
Arduino: 1.8.13 (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 213149 bytes (16%) of program storage space. Maximum is 1310720 bytes.
Global variables use 15380 bytes (4%) of dynamic memory, leaving 312300 bytes for local variables. Maximum is 327680 bytes.
C:\Users\doncl\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\2.6.1/esptool.exe --chip esp32 --port COM5 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0xe000 C:\Users\doncl\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/partitions/boot_app0.bin 0x1000 C:\Users\doncl\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/bin/bootloader_qio_80m.bin 0x10000 C:\Users\doncl\AppData\Local\Temp\arduino_build_542855/Blink.ino.bin 0x8000 C:\Users\doncl\AppData\Local\Temp\arduino_build_542855/Blink.ino.partitions.bin
esptool.py v2.6
Serial port COM5
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 ‘COM5’: 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.