-
Notifications
You must be signed in to change notification settings - Fork 8
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
[FEATURE] USB serial #29
Comments
Looks like the USB controller is very similar to the dw2 specification shared by the RPI0 and a few other SoCs. http://www.capital-micro.com/PDF/CME-M7_Family_User_Guide_EN.pdf There's also a reference to a DWG databook which is buried behind mandatory registration 🙄 (https://www.synopsys.com/dw/doc.php/iip/DWC_otg/latest/doc/DWC_otg_databook.pdf) Interesting reading: https://gitter.im/libopencm3/discuss/archives/2016/07/09 |
This part may be tricky, I believe it should be possible but the challenge will be to find a way to connect the host bus to the client's device, rather than a host device to the client's bus. |
There are a few options here. Look at the usbip vhci-hcd module that's included by default in the linux core. It may be possible to interface with that directly. https://www.kernel.org/doc/readme/tools-usb-usbip-README Alternately, look at the way simavr does it with usb-vhci and see if that module can compile on newer kernels. https://github.com/buserror/simavr/tree/master/examples/extra_board_usb |
USBIP for windows: https://github.com/cezanne/usbip-win |
* Partial USB fake CDC (#29) * Disable CDC if no chardev
Is your feature request related to a problem? Please describe.
Need to get USB FS (serial) port working.
Describe the solution you'd like
Ideally interpret the usb STM register reads/writes and pipe the data thru to a PTY on the host system.
Describe alternatives you've considered
Alterntely, a shim might be possible as a temporary solution (but not ideal).
Progress:
The text was updated successfully, but these errors were encountered: