You should use WritePipe with larger sizes. Reading/writing 64 bytes
will lead to very poor transfer rates. I'm usually using reads of 4k
and writes of whatever the size I have to write (except on certain
devices, but that's a device-specific limitation) and it works just
fine. And fast.
Florent
On 15 juin 05, at 05:52, Eric Smith wrote:
I've got a full speed USB device, and am writing data in 64 byte
packets to a bulk endpoint. This is just sitting in a for loop,
doing a bunch of WritePipe() calls. My download speed over several
megabits is only about 500Kbps. I'm using Tiger, and a dual 1.8
G5. I get about the same performance on a G4 iBook running Tiger.
The same USB device gets about 6Mbps download on a windows-based
machine. I did not write the windows code, so I don't know any of
the details of that implementation.
--
Florent Pillet http://www.florentpillet.com
Freelance software developer/consultant - Palm OS & Mac OS X
Skype callto://florent.pillet
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden