Date: Fri, 12 Oct 2007 19:12:02 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: freebsd-usb@freebsd.org Subject: Re: PICkit 2 again with HPS stack Message-ID: <200710121912.03585.hselasky@c2i.net> In-Reply-To: <a276da400710120332h5f780ee8g9a12d5fb5548f8da@mail.gmail.com> References: <a276da400710120332h5f780ee8g9a12d5fb5548f8da@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 12 October 2007, Xiaofan Chen wrote: > I have updated the kernel and the new HPD stack and now > PICkit 2 is again not working. I have updated the firmware > based on the newly released Microchip stack and I thought > I solved the data toggle problem by changing a line as > suggested by Leo Bodnar. > http://forum.microchip.com/tm.aspx?m=275422&mpage=2 > > Apparent there is still a problem with the clear feature > request. Enclosed is the running log. Since the file ugen.c > is now changed, I dare not to apply the old patches provided > by Hans. > > Receiving PICkit VERSION information using interrupt transfer. > USB error: error reading from interrupt endpoint /dev/ugen0.1: > Resource temporarily unavailable > Fatal error> USB read did not return 64 bytes > Resource temporarily unavailable maps to EAGAIN according to "man errno". From what I can see from the log you have provided this means that the "msleep()" call in "ugenread" timed out. What timeout have you programmed in your PICkit ? Can you set the debugging value to 15 using the PICkit ? Alternativly: sysctl hw.usb.debug=15 --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710121912.03585.hselasky>