David Brownell wrote:


One problem that I still see is that frequently my NetChip 2280 EVB board
gets hung after a disconnect and I need to power cycle the board to get
it working again.


That sounds familiar.  Are you using the latest net2280 code from the
gadget-2.6 tree?  The EVB boards handle reset a bit differently from the
RDK boards, and I thought a fix had been merged to address that.
(If not,  [EMAIL PROTECTED] should be able to help ... Alex Sanks
ought to recall the detals.)


Hmmm. Well the gist of the RDK vs Evelyn board thing is basically that on the Evelyn board the master reset pin is pulled high instead of being tied to the PCI reset pin (on an RDK board, there's a jumper to go either way). Hence having to power cycle rather than just rebooting to clear everything. An annoyance, but having to reboot isn't really much better. The real issue is that the soft reset registers in the NET2280 don't clear quite as much as one would hope unless you hit the ones which trash the PCI registers as well. That's no good here since the OS will lose access to the board then.


What this means for gadget is that care needs to be taken to ensure that all the critical stuff gets manually reset on a driver reload and it seem something's not getting hit. I looked thru the last few months' worth of changes to net2280.c in gadget-2.6 and it's mostly just suspend/resume and the D+ pullup toggle stuff. Granted either of those could possibly be related. So definitely try the latest version.

Do you have anything I can do to repeat this here? I'll poke and prod it from here and see if I can make it fail, but if you've got any suggestions to increase my chances it'll help. Also, what exactly do you see happening when it doesn't work? Does your host see a device connect (DP pullup event)? Are you enumerating and bulk transfers don't work?

regards,
alex


------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to