IIRC, the USB host controller will chunk up transfers at the 3 MB boundary,
so you can easily send a large buffer to winusb. a 1 GB is rather large
though.
d
"Simon Richter" wrote in message news:i0uumq$hs7$***@online.de...
Hi,
Post by KidWhat is the max buffer size do you suggest ?
I use two buffers of 1500 bytes each, that is, I prepare the next buffer
while the current one is transferring. Depending on your protocol, you
can also submit the second buffer while the first is still active; if
the first transfer fails for some reason, you will need to
resynchronize, but this way, you can keep the bus fully saturated.
Smaller buffers than 1500 bytes will hurt performance. Larger buffers
are generally okay, but they should be in the order of kilobytes (64kB
would be a good value if you are just copying data around).
Simon