-
Notifications
You must be signed in to change notification settings - Fork 7.6k
No USB Serial port available. #4728
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
Comments
Syntax: Serial.begin(speed) Serial.begin(9600); Already tried ? |
Yes even with a speed set it has the same result. The USB device is just not recognized, not a communication issue. It is more like a USB handshake issue, since neither windows nor Macos can recognize the device. But switching back to the previous commit of idf-release/v4.2 and it works correctly. |
I can confirm the issue. My Metro ESP32-S2 that will only appear as an available port when reset in boot loader mode. Just ran into this today with 4.2#4704 Board: Adafruit Metro ESP32-S2 |
I am having this issue as well. Same board and config but with Mac OS Catalina. |
I am having the same issue as @rdmcmurray, same OS and configuration |
Having the same issue with the UnexpectedMaker Feather S2 (ESP32-S2). Switching back to the stale |
Finally figured this out. The bug is in IDF 4.2, not the arduino core. This is just a bandaid until espressif fix it for real The bug is on this line: https://github.com/espressif/esp-idf/blob/release/v4.2/components/tinyusb/port/esp32s2/src/tinyusb.c#L89 Although, I should note: this "fixes" the USB in the sense that you can flash and monitor serial over the built in USB peripheral. You can't really do anything else though since tinyusb uses hardcoded descriptors and ignores anything you do e.g |
This fix looks like it's in the latest |
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
Is this fixed? Pinging to keep the issue alive. |
[STALE_CLR] This issue has been removed from the stale queue. Please ensure activity to keep it openin the future. |
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
Pinging to keep the issue alive. |
[STALE_CLR] This issue has been removed from the stale queue. Please ensure activity to keep it openin the future. |
Having the same issue. Did this ever get fixed or did you find a fix @ssilverman? |
This is resolved. I tested with 2.0.2 and 2.0.3-RC1. both work correctly. |
Hardware:
Board: MAGTAG29_ESP32S2
Core Installation version: idf-release/v4.2
IDE name: Arduino CLI or Arduino IDE 8.1.13
Flash Frequency: build.flash_freq=80m
PSRAM enabled: Same results enabled or disabled
Upload Speed: 921600
Computer OS: Mac OS Mohave 10.14.6/Windows 10
Description:
After upload and reset USB serial port is not identified/found by OS.
Tested on Both Windows and Mac OS
Happens on a simple blink sketch, Serial.begin is called first line in setup.
Cloned a fresh release today where this was happening. Commit prior to below did not have this problem:
Code operates correctly (blinks) but no USB Serial port available.
Booting up ROM bootloader serial port comes up just fine /dev/cu.usbmodem01
Sketch:
Debug Messages:
The text was updated successfully, but these errors were encountered: