Open jhsa opened 1 year ago
Further information, if I follow the tutorial on this link to the letter:
https://docs.espressif.com/projects/arduino-esp32/en/latest/tutorials/cdc_dfu_flash.html
I get the following error when flashing.
Traceback (most recent call last):
File "esptool.py", line 5387, in <module>
File "esptool.py", line 5380, in _main
File "esptool.py", line 4687, in main
File "esptool.py", line 114, in get_default_connected_device
File "esptool.py", line 320, in __init__
File "serial\__init__.py", line 90, in serial_for_url
File "serial\serialwin32.py", line 80, in open
esptool.py v3.3
File "serial\serialwin32.py", line 222, in _reconfigure_port
Serial port COM27
serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31)
[1600] Failed to execute script 'esptool' due to unhandled exception!
the selected serial port [1600] Failed to execute script 'esptool' due to unhandled exception!
does not exist or your board is not connected
If I press BOOT at power ON, it will flash but it will increase the COM port number every time I do this.
I am using the Adafruit TinyUSB library and must use DFU to flash the board using the USB OTG connector.
I am using the Adafruit TinyUSB library and must use DFU to flash the board using the USB OTG connector.
- You are using external library, look for issues there.
- Since you do not use the internal library, you should disable DFU in the menu.
- DFU flashing has not been verified on S3 (for Arduino)
- Operating systems will change the port based on different reasons, but generally different USB descriptors and vid/pid/serial
Hi, thank you for your reply.
Board
ESP32-S3
Device Description
ESP32-S3 WROOM board 8Mb flash and 8Mb RAM (I think).
Hardware Configuration
TFT display connected via SPI pins, but not in use, I am using the Adafruit TinyUSB library for USB Midi, BLE-Midi libraryand the Arduino Midi Library. I need all running at the same time. For Serial Midi to work I need to have CDC turned off as far as my testing says, and must use DFU to flash the board using the USB OTG connector. IDE configuration is attached.
Version
v2.0.4
IDE Name
Arduino IDE
Operating System
Windows 10
Flash frequency
QIO 80Mhz
PSRAM enabled
no
Upload speed
921600
Description
Reset the Board while pressing the Boot button. A Com port is created as shown. In this case COM26, as you can see in the picture. If I disconnect the board and do the same procedure again, it will create another COM port on COM27. So, it is filling my Windows machine with lots of COM ports. I think that is not a good thing, and it should not happen? Thanks.
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide