-
Notifications
You must be signed in to change notification settings - Fork 1k
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
USB MSC: Writes aren't acknowledged #409
Comments
I confirm the problem under Linux, and the decision of the bug above |
schnommus
pushed a commit
to schnommus/libopencm3
that referenced
this issue
Feb 2, 2018
schnommus
pushed a commit
to schnommus/libopencm3
that referenced
this issue
Feb 6, 2018
schnommus
pushed a commit
to schnommus/libopencm3
that referenced
this issue
Feb 10, 2018
schnommus
pushed a commit
to schnommus/libopencm3
that referenced
this issue
Feb 19, 2018
karlp
pushed a commit
to karlp/libopencm3
that referenced
this issue
Feb 22, 2018
karlp
pushed a commit
to karlp/libopencm3
that referenced
this issue
Feb 24, 2018
Whoah, that took a while. Thanks for taking care of this! |
BOJIT
pushed a commit
to BOJIT/PlatformIO-libopencm3
that referenced
this issue
Jan 30, 2021
stefaandesmet2003
added a commit
to stefaandesmet2003/libopencm3
that referenced
this issue
Oct 4, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The USB MSC code has a bug: if a write request is sent, the MSC code will handle it but won't send an CSW back, leaving the host to wait forever. This is actually visible in the examples in the example repo: if you flash a msc example and try to write to the resulting drive, at least under Linux the device hangs.
Here's the fix I used to solve it. I'm not a USB expert by far, but as far as I can tell this fixes the issue:
The text was updated successfully, but these errors were encountered: