Date: Sat, 13 Oct 2007 12:33:49 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: "Xiaofan Chen" <xiaofanc@gmail.com> Cc: freebsd-usb@freebsd.org Subject: Re: PICkit 2 again with HPS stack Message-ID: <200710131233.50073.hselasky@c2i.net> In-Reply-To: <a276da400710130252k2d2d0db2n2ac1f40c20b64a1b@mail.gmail.com> References: <a276da400710120332h5f780ee8g9a12d5fb5548f8da@mail.gmail.com> <200710121912.03585.hselasky@c2i.net> <a276da400710130252k2d2d0db2n2ac1f40c20b64a1b@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 13 October 2007, Xiaofan Chen wrote: > On 10/13/07, Hans Petter Selasky <hselasky@c2i.net> wrote: > > 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 ? > > It is 1000ms. I change it to 10000ms but this does not help. > Do you see that the code is waiting 10 seconds for the timeout ? --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710131233.50073.hselasky>