Mailing Lists: Apple Mailing Lists

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

USB transaction timeout question



I'm debugging a userland USB device driver for OS X
that follows the Mass Storage protocol (it's a
vendor-specific device for downloading content to
flash cartridges). There are 6 bulk interfaces on the
device and one interrupt interface. I get
interrmitent/sporadic USB tranction timeout errors
(kIOUSBTransactionTimeout) when trying to read the
status byte of the transaction using ReadPipeTO.
What's interesting is that the command we send it
seems to actually work (set an LED flashing). What
would be some of the reasons why this problem might
happen once in a while? Some kind of timing issue? A
threading issue? Is there a way to debug this short of
breaking out a (very expensive) USB analyzer?

I know this might be hard to answer in a general
sense, but am just wondering if this rings a bell with
anyone, and what are some of the things one might try
in fixing his problem. There's very little
documentation on kIOUSBTransactionTimeout. FWIW, we're
not getting this error in the Windows driver. What's
interesting is that if I hit a breakpoint in the
debugger upon getting the first error of this type, I
don't get errors on any of the other bulk interfaces.

Thanks,

Steve



		
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 

 _______________________________________________
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

References: 
 >RE: GDB can't access kext code memory (From: Jim Wintermyre <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.