-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP32-C3 Arduino IDE Upload ERROR when USB CDC on, No serial data received Error occurs #9646
Comments
I have the same issue. i still didn’t fine the solution any help is welcome :) |
This is fixed in RC3, but for first flash you will need to manually enter download mode (hold Boot while resetting) |
@me-no-dev thanks for your reply For people who use stable release 2.0.X |
@spilz87 yes. Fix will be ported to 2.x and new 2.0.17 will probably be released |
Nice 👍 Do you know what file(s) we have to modify to solve it in 2.0.16 release ? (If it’s not too much) |
There will be a pull request with all changes. You can copy then the changes to your current install. I think only HWCDC.cpp will be modified, but some small edits might need to be done in other places too. |
Thank you for reply! |
thank you for reply😆 it’s now clear, I’ll wait for next update. |
let's wait for the backport to 2.x first, then can be closed |
I dont have this issue when I go back on v2.0.15 do I trued to get HWCDC.cpp and put it on V2.0.16 but doesn’t solve it |
Good day, |
@ColdFireHunter as mentioned above, it is fixed in 3.0.0-RC3 but it awaits a backport to 2.X version. |
If there is a way to know how to quickly fix it on 2.0.x (not official way but still a way) it would help a lot. I have to unmount everything everytime I want to upload a new software 🤯 thanks in advance |
The 2.0.x core version shall be fixed and merged in about 2 weeks. |
@SooDragon - PR #9660 is merged into |
Feel free to confirm it before we close this issue. |
applying this merge solve the issue for me, thanks a lot |
Board
ESP32 C3 dev board
Device Description
Hardware Configuration
ESP32-C3FH4
USB_N to GPIO18
USB_P to GPIO19
Schematic.pdf
Version
latest master (checkout manually)
IDE Name
Arduino IDE 2.3.2
Operating System
MAC OS Sonoma 14.4.1
Flash frequency
80MHz
PSRAM enabled
no
Upload speed
921600
Description
After Updated to 2.0.16, Error occurs and says
"
A fatal error occurred: No serial data received.
Failed uploading: uploading error: exit status 2
"
It happens when I activate USB CDC On Boot function.
if I turn it Off, it is fine
I also tried Upload Speed to 115200, but it also didn't work.
I tried remove Arduino IDE and Arduino15 folder and re-installed, but it didn't work either
These are the scenarios worked for me
it will allow Arduino IDE to flash code for once.
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: