Re: rx errors reported by usbnet

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Fri, 25 May 2007, Yum Rayan wrote:

> We checked the USB cable and protocol on the wire and everything looks
> good. The USB device that is connected to the hosts looks fine well.
> 
> Finally we see this in the NXP ISP1563_Errata_070417:
> 
> "Afer receiving a continous series of NAKs, ranging from 150 ms to 500
> ms, the ISP1563 will retun a condition code 06h (PID failure) in the
> general Transfer Descriptor (TD). This error causes the software to
> stall the endpoint" "The workaround is to provide a software patch.
> The HCD can be modified so that whenever a PID check failure occurs,
> the HCD will not inform the client driver. Instead it just resubmits
> the TD on its own and the transaction continues".
> 
> Is there exisiting code that demonstrates how to resubmit a TD? The
> suggested workaround does not seem good design. Any ideas?

There is no demonstration code for resubmitting a TD, as far as I know.  
You'll have to try writing your own.

You're right that the workaround doesn't seem like a good design.  What 
would happen when a real PID error occurs?  Admittedly this is highly 
unlikely.

Alan Stern


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.