From owner-freebsd-usb@FreeBSD.ORG Sat Oct 13 10:33:26 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A4A816A419 for ; Sat, 13 Oct 2007 10:33:26 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.freebsd.org (Postfix) with ESMTP id C189B13C4D9 for ; Sat, 13 Oct 2007 10:33:25 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [85.19.218.45] (account mc467741@c2i.net [85.19.218.45] verified) by mailfe05.swip.net (CommuniGate Pro SMTP 5.1.10) with ESMTPA id 549468947; Sat, 13 Oct 2007 12:33:24 +0200 From: Hans Petter Selasky To: "Xiaofan Chen" Date: Sat, 13 Oct 2007 12:33:49 +0200 User-Agent: KMail/1.9.7 References: <200710121912.03585.hselasky@c2i.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710131233.50073.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: PICkit 2 again with HPS stack X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Oct 2007 10:33:26 -0000 On Saturday 13 October 2007, Xiaofan Chen wrote: > On 10/13/07, Hans Petter Selasky 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