Hi,

> There are also chiprev-specific issues on PXA.  If you're using
> a PXA 250, especially with B steppings, you might see issues
>
No, we are only using PXA255, because the 250's were just too buggy.
For the PXA255 I found only one Erratum regarding SET/CLEAR FEATURE
requests that respond with ACK instead of STALL when an illegal
feature is requested and some minor documentation changes.

> Hmm, I don't remember seeing such failures.  I probably wouldn't
> for "test9", using a fast OHCI host.  But "test10" uses some of
> those, and so I'd expect to see such errors with it.  Can you
> reproduce the failures with an OHCI host?
> 
I ran the test with a PXA270 OHCI HC and the pxa27x_udc driver from:
http://www.free-electrons.com/pub/drivers/pxa27x-0218.patch
but it just hangs after completing test 9 successfully.
But the driver only sends out one request at the start of every other
frame, so the problem cannot occur.

> Are you sure you're not just cutting the end-of-frame timings
> a bit too close?  Maybe you shouldn't send the SETUP quite so
> near the next frame's SOF.  (If you have control over that...)
> I remember a similar issue with the SL811 code.
> 
Unlike the SL811 (which is more or less only a parallel to USB serial
converter) the ISP1362 won't start a transfer that would overrun the
end of a frame. You can safely queue up more data than fits into a
frame and the controller will spread the packets across multiple
frames without errors. There is normally no need to check the
allocated frame time by software.
Nevertheless I tried to move the SETUP transfer away from the
end of the frame by checking the HcFmRemaining register before
queueing a SETUP request. This indeed made this error disappear.


Lothar Wassmann


-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to