USB CDC Initialization issue #52092
Unanswered
a-domenick
asked this question in
Q&A
Replies: 1 comment
-
I must admit I don't understand the overall system here, but could this be related to common case that host is echoing characters back until configured to not to do so, and your application is echoing them back as well? See https://michael.stapelberg.ch/posts/2021-04-27-linux-usb-virtual-serial-cdc-acm/ If that's the case, then a solution could be to wait DTR signal before sending anything to the host. I was seeing garbage generated with Zephyr shell on CDC ACM. Turning on CONFIG_SHELL_BACKEND_SERIAL_CHECK_DTR which instructs the shell to wait DTR solved the issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a setup that uses the uart-over-usb feature. I'm running into an issue that causes the system to infinitely send (garbage) data over the console upon booting if the following two conditions are true:
If the serial terminal opens the connection to the COM port some time after the COM port is available after getting plugged in, everything works ok. I think there's some issue that's causing the ring buffer to continuously print but I'm not sure how to go about debugging.
Is there some known delay time that must be respected before trying to initiate a connection with the device?
Beta Was this translation helpful? Give feedback.
All reactions