Skip to content
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

drivers:USB receive buffer size #13

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 0 comments
Open

drivers:USB receive buffer size #13

GoogleCodeExporter opened this issue Mar 14, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

AT91SAM9261_RCV_BUFFER is too high (128 Ko).
It is possible to negociate small buffer size for Mass Storage Device profil.

1. change AT91SAM9261_RCV_BUFFER to 64 Ko for example and compile
2. create a dummy test

3. open /dev/usbdp0 and /dev/usbmsd
4. mount /dev/usbmsd on /dev/usbdp0
5. create /dev/umass0
6. close /dev/usbmsd and /dev/usbdp0
7. open dev/umass0

8. plug USB cable on your host
9. make a transfert to your target bigger than 120 Ko
10. watch usbmon output

Original issue reported on code.google.com by [email protected] on 13 Feb 2012 at 2:32

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

No branches or pull requests

1 participant