-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
CDC DTR compatibility on Windows #400
Comments
Most terminal did, it is a well known norm. I know no alternatives to detect connection. I would suggest you to change terminal client or file issue to request the dtr implementation for that terminal PS: when you connect/disconnect. Did the terminal set the rts bit ? |
Also please provide the log specifically when you connect and disconnect with your terminal |
I agree with you, proper terminal clients handle this correctly. But there are some cases, especially some proprietary industrial control softwares doesn't handle it, they are hard to be replaced. Silab, ST and J-Link's CDC implementation don't rely on DTR neither. I suggest to add an option to bypass DTR detection.
RTS is also not managed in my cases. |
In fact it's a feature request to make TinyUSB compatible with more terminal clients, rather than a bug. |
Unfortunately, It doesn't make much sense for me to |
Though I could review if you could make an PR for it with minimal changes to the code base. |
PR #401 submitted. |
Set up
[Mandatory] Provide details of your setup help us to reproduce the issue as quick as possible
Describe the bug
On Windows DTR bit is not set automatically when the port is opened, and some terminal programs don't set this bit. Which makes TinyUSB believe it's in unconnected state.
To reproduce
Steps to reproduce the behavior:
To make it work, I used a ugly workaround, which ignores the DTR bit:
The text was updated successfully, but these errors were encountered: