USB Bulk Transfer

Hi all
I am goig to develop a driver that read and write data from anchor usb chip using bulk transfer.
but I have a question to ask:

am I free to send any buffer sizes larger than 64 byte and the usb lower drivre will handle the packetting issue.? and what is the maximum limit if there .!


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hello ,

HD> Hi all
HD> I am goig to develop a driver that read and write data from anchor usb chip using bulk transfer.
HD> but I have a question to ask:

HD> am I free to send any buffer sizes larger than 64 byte and the usb lower drivre will handle the packetting issue.? and what is the maximum limit if there .!

This is dependend on your USB firmware. Use what you need and forget
the MS bulk sampe with staged IO.

When you have different packet size during your session, use the
USBD_SHORT_TRANSFER_OK flag. I use a bulk pipe for USB bluetooth
adapters and setup read with 1024 bytes for the ACL pipe.

elli


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com