8000 USB Mass Storage support · Issue #41 · cnlohr/rv003usb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

USB Mass Storage support #41

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

Open
jonnor opened this issue Jan 22, 2024 · 4 comments
Open

USB Mass Storage support #41

jonnor opened this issue Jan 22, 2024 · 4 comments

Comments

@jonnor
Copy link
jonnor commented Jan 22, 2024

The current code has support/examples for HID class devices. Would it be possible/feasible to implement Mass Storage Class on top of the existing core USB code? Or are there any particular challenges or limitation forseen with that?

My use case is a data logger. I would write to a small (1 MB) FAT32 filesystem to external SPI flash. And then to expose that over USB, to allow copying the logs over to a computer.

@cnlohr
Copy link
Owner
cnlohr commented Feb 1, 2024

It is absolutely theoretically possible, but, last time I tried, neither Windows nor Linux (for different reasons) would let me make a mass storage device, since they really wanted bulk endpoints for the data transfer.

It's totally possible some other descriptor voodoo would work! I only spent about 15 minutes trying.

@cnlohr
Copy link
Owner
cnlohr commented Feb 1, 2024

Apparently I can't build function rv003usb's here :'( I have some GCC version that doesn't work right. I guess I'll have to debug tonight.

@BogdanTheGeek
Copy link
Contributor

@cnlohr
Copy link
Owner
cnlohr commented Mar 7, 2024

Super curious if that can be made to work with USB-low-speed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0