Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Feb 2013 14:16:31 -0800 (PST)
From:      Aman Sawrup <aman.sawrup@bluecoat.com>
To:        freebsd-usb@freebsd.org
Subject:   Re: Reading 1024 bytes from mass storage device using 3 frames gives USB_ERR_STALLED
Message-ID:  <1360880191509-5787089.post@n5.nabble.com>
In-Reply-To: <201302120838.54414.hselasky@c2i.net>
References:  <1360360082956-5785167.post@n5.nabble.com> <201302090001.57258.hselasky@c2i.net> <51194A19.40203@bluecoat.com> <201302120838.54414.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Hans,

Is it possible to do the following:

1. Set frame 0 length to 200 bytes
2. usbd_transfer_submit()
3. Wait for USB_ST_TRANSFERRED
4. Set frame 0 length to 512 bytes
5. Set frame 1 length to 312 bytes
6. usbd_transfer_submit()

Effectively, send 200 bytes in first transfer, then send remaining 724 bytes
in second transfer.

Thanks
Aman



--
View this message in context: http://freebsd.1045724.n5.nabble.com/Reading-1024-bytes-from-mass-storage-device-using-3-frames-gives-USB-ERR-STALLED-tp5785167p5787089.html
Sent from the freebsd-usb mailing list archive at Nabble.com.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1360880191509-5787089.post>