Feature #4042
closed
provide command line interface on CDC-ACM device
Added by laforge almost 5 years ago.
Updated about 3 years ago.
Description
it would be great to provide the command line debug/monitor interface on a USB CDC-ACM port, as most users won't have a separate USB-serial cable to interface with it.
There could be some kind of automatic switching, i.e. if the CDC-ACM device is "open', use it. If it's closed, use the classic serial port.
- Status changed from New to Rejected
- Priority changed from Normal to Low
the SAM3S has a total of 7 USB endpoints. One is needed for CTRL, leaving 6 EP.
- three endpoints (IN/OUT/IRQ) are used for card-emulation. IRQ is not strictly neccessary, but useful
- if we want to operate CCID in parallel to cardem (for MITM mode), that requires another 3 endpoints (IRQ not needed if we don't need card insert events)
So if we want to use the IRQ endpoints, there is simply not sufficient endpoints for a CDC-ACM serial port. I guess we'll keep debug output on the physical DEBUG UART as we do for now.
One could combine (tracer + cdc-acm) or (cardem + cdc-acm) but then once we go for mitm (cardem + ccid), we would have to fall back to the physical DEBUG UART anyway.
Also available in: Atom
PDF