Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ReadPipe() problems



Hi,

I have a full speed device with a BULK IN endpoint using 64 byte packets. If I call ReadPipe with size=64, it reads the data fine. If I call ReadPipe with more than 64 bytes, it gives me an error which printf(%08x) shows as e0004003.

What's confusing is that I have an analyzer connected to the UTMI interface of my device, and the host mac is not only requesting the data packets but ACK'ing them just fine. The data is sent perfectly by my device. Another interesting point is that the host mac asks for more data packets than I requested in the ReadPipe. For example, with 64 packet size if I request 128bytes, the mac actually requests 4 packets, and ACK's them.

Even though all the data is sent correctly by my device and the computer ACK's them, ReadPipe returns an error and does not fill the buffer.

Any ideas?

_______________________________________________
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

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.