cancel
Showing results for 
Search instead for 
Did you mean: 

How to send USB Bulk zero length packet?

fa
Associate II
Posted on December 22, 2005 at 06:08

How to send USB Bulk zero length packet?

1 REPLY 1
fa
Associate II
Posted on December 22, 2005 at 06:08

To end a bulk in transfer, either the data packet is less than maximum or a zero length packet has to be transfered.

How do I transfer a zero length packet?

If I set the buffer count to zero, no transmission ocurs.

The problem is only present when I transfers an amount of data, which is a multiply of 64 eg. 512 bytes. Then if I do that twice, then it appears as one bulk transfer of 1024 bytes, on my USB analyzer.

Best regards,

Frank Andersen