Proposal: UART over USB for Logging and Debugging #36
Closed
KozhinovAlexander
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
This is already supported by upstream Zephyr, e.g. by using the CDC-ACM snippet when building:
This has issues, though, when it comes to e.g. Linux driver compatibility. The Linux kernel gs_usb driver will attempt to use interface 0, which may now be assigned to the CDC-ACM class. So now the CANnectivty firmware logging/console over CDC-ACM works, but the gs_usb driver will not recognise the device. I'd recommend using a RAM-based console like the Segger J-Link RTT console for debugging instead. |
Beta Was this translation helpful? Give feedback.
3 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Adding UART over USB using the Console over USB CDC ACM protocol in Zephyr RTOS is a valuable feature for compact, sparse-designed boards especially without on-board debugger.
Advantages
Implementation Considerations
Benefits
@henrikbrixandersen what do you think or dou you have it already?
UPD: used perplexity.ai to make this text "better"
Beta Was this translation helpful? Give feedback.
All reactions