Open kunc0 opened 1 year ago
Hello, thanks for reporting the issue. Maybe it's related to this one https://github.com/espressif/arduino-esp32/issues/8088?
I have, unfortunately, been able to reproduce this issue. This post saved me from pulling the other half of my hair out. It seems to happen once you hit double digits.
ESP32-C3FH4 custom board USB @ GPIO18,19 CDC On Boot Enabled CPU, flash: 160, 80Mhz Upload Speed 115200
Windows 10 22H2 Arduino IDE 2.2.1
Solution posted at debian.org :)
Board
ESP32 C3 DEV Board
Device Description
It's just a development board with all the pins out.
Hardware Configuration
GPIO18&19 are connected to usb.
Version
v2.0.7
IDE Name
Arduino and platformIO
Operating System
windows11
Flash frequency
40
PSRAM enabled
no
Upload speed
115200
Description
When the com number automatically assigned by windows is too large, the esp32c3 will not be able to use the built-in usb download program. Manually set it to a smaller value (such as com2) in the windows device Manager and the download will work. It seems that the usb cdc register cannot be modified. The same problem occurs with the arduino ide and platformIO. The official esp flash download tool does not have this problem.
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide