Thomas, I've been debug using logic analyzer with hardware traces. You designate a specific memory address to be used for hardware traces, then view the trace with the logic analyzer. In addition, you should use a CATC USB analyzer to see which USB transaction you've stuck on, match that with the code.
Printk debug should be limited because it effect the timing of the driver. Pei -----Original Message----- From: Thomas Chen <[EMAIL PROTECTED]> To: Pei Liu <[EMAIL PROTECTED]> Date: Wednesday, January 15, 2003 8:28 PM Subject: Re: [linux-usb-devel] is 1 ms SOF interrupt ABSOLUTELYnecessary??? > >dont know if you can give me a few tips on how to debug the sl811 >driver/usb... > >i have it hooked up to an arm7 33mhz processor... and i am getting >this "bulk_msg: timeout"... look like lower level is not finishing >up and calling the "complete" and release the urb... > >how does someone debug this? and where i should look? > >thanks for your help... i am new to usb stuff > > > >on 1/15/03 10:17 AM, Pei Liu at [EMAIL PROTECTED] wrote: > >> The believe the Channel B feature work, but I'm not aware of anyone >> experiment with it. Personally, I have not gotten a chance to play around >> with it. >> >> The current SL811HS driver does not support Isochronus pipe, but Cypress >> does have an unrelease version of the driver that will support Isochronous >> pipe. Since I no longer work for Cypress, I don't have the latest source >> code. If you are interested, you may want to contact Cypress to get their >> latest code. (get there contact from the cypress website: I think it is >> [EMAIL PROTECTED]) >> >> Pei >> >> -----Original Message----- >> From: thomas chen <[EMAIL PROTECTED]> >> To: Pei Liu <[EMAIL PROTECTED]> >> Date: Wednesday, January 15, 2003 10:41 AM >> Subject: Re: [linux-usb-devel] is 1 ms SOF interrupt ABSOLUTELY necessary??? >> >> >>> >>> Thanks Pei >>> >>> I am attempting to do that.... are you aware of >>> >>> a. does that feature work >>> b. has anyone done it? >>> >>> tom >>> >>> ps... on the CYPRESS web site knowedge base area, it indicated that >>> SL811HS does NOT support ISO ... ??? can it be true??? >>> >>> >>> >>> Pei Liu wrote: >>>> >>>> The driver does not support the B channel feature.. >>>> >>>> Pei >>>> >>>> -----Original Message----- >>>> From: thomas chen <[EMAIL PROTECTED]> >>>> To: Pei Liu <[EMAIL PROTECTED]> >>>> Cc: [EMAIL PROTECTED] >>>> <[EMAIL PROTECTED]> >>>> Date: Wednesday, January 15, 2003 10:26 AM >>>> Subject: Re: [linux-usb-devel] is 1 ms SOF interrupt ABSOLUTELY >> necessary??? >>>> >>>>> >>>>> thanks... i recognize the name as the author of the SL811 cypress >>>>> driver???? >>>>> >>>>> if you are the author... may i ask whether it utilizes the A/B feature >>>>> of the chip? from looking at it.. it does not seem to do so >>>>> >>>>> Pei Liu wrote: >>>>>> >>>>>> As far as performance goes, there are two things you have to consider: >>>>>> >>>>>> 1) The SL811HS is a bit-banger. The driver receives an USB transfer >>>> Done >>>>>> interrupt on each USB transaction. In each USB Frame, there can be >>>> multiple >>>>>> USB transactions. I remember that in a USB mass storage device, there >>>> can >>>>>> be up to 10 USB transactions in a frame. This means that the driver >> can >>>>>> received 10 USB Done interrupt in 1 millisecond time frame. >>>>>> >>>>>> 2) In addition to the USB done interrupt, the driver receives 1MS >>>>>> interrupt. This 1MS interrupt can not be slow down because it is used >> to >>>>>> indicated the start of the frame, keep track of the current frame >> number >>>> and >>>>>> schedule the USB frame. (The USB frame consist of isochronous, >> interrupt, >>>>>> control, and bulk transactions, in that order) If the 1MS is slowed >>>> down, >>>>>> the isochronous or interrupt transactions may not schedule correctly. >>>>>> >>>>>> Hopefully this answers your question.. >>>>>> >>>>>> Pei >>>>>> >>>>>> -----Original Message----- >>>>>> From: Thomas Chen <[EMAIL PROTECTED]> >>>>>> To: [EMAIL PROTECTED] >>>>>> <[EMAIL PROTECTED]> >>>>>> Date: Tuesday, January 14, 2003 9:05 PM >>>>>> Subject: [linux-usb-devel] is 1 ms SOF interrupt ABSOLUTELY >> necessary??? >>>>>> >>>>>>> i am working on an embeded system using SL811 >>>>>>> >>>>>>> the 1MS interrupt is just eating up all the cpu cycle >>>>>>> (by the way, can any one provide some input on MINIMUM cpu horse >>>>>>> power needed to operate USB???) >>>>>>> >>>>>>> the question is whether it is possible to slow down this >>>>>>> interrupt, say to 5 MS instead of 1 MS??? >>>>>>> >>>>>>> dont know much about the other part of the drivers... would it >>>>>>> hurt? >>>>>>> >>>>>>> thanks a lot >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------- >>>>>>> This SF.NET email is sponsored by: Take your first step towards >> giving >>>>>>> your online business a competitive advantage. Test-drive a Thawte SSL >>>>>>> certificate - our easy online guide will show you how. Click here to >> get >>>>>>> started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en >>>>>>> _______________________________________________ >>>>>>> [EMAIL PROTECTED] >>>>>>> To unsubscribe, use the last form field at: >>>>>>> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> This SF.NET email is sponsored by: Take your first step towards giving >>>>> your online business a competitive advantage. Test-drive a Thawte SSL >>>>> certificate - our easy online guide will show you how. Click here to get >>>>> started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en >>>>> _______________________________________________ >>>>> [EMAIL PROTECTED] >>>>> To unsubscribe, use the last form field at: >>>>> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel >> > ------------------------------------------------------- This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will allow you to extend the highest allowed 128 bit encryption to all your clients even if they use browsers that are limited to 40 bit encryption. Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
