From owner-freebsd-usb@FreeBSD.ORG Fri Apr 25 13:44:01 2008 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 18FEF106566B for ; Fri, 25 Apr 2008 13:44:01 +0000 (UTC) (envelope-from xiaofanc@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.176]) by mx1.freebsd.org (Postfix) with ESMTP id C5F7A8FC13 for ; Fri, 25 Apr 2008 13:44:00 +0000 (UTC) (envelope-from xiaofanc@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so5589551waf.3 for ; Fri, 25 Apr 2008 06:44:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=qQxsBNjtRY2ToM+cFBIUjmIkXM/TN/P5wEMLc7siI3E=; b=BgodO3EVXidtr6rtA3NvyuYjTkaK/b/JiHBK1sY1SMz9vicC8mwIaMHmBC8+yL8TrdUERFbtsMVy0vEfdBXH9XrHneAieu2GHV+A/+a6xcvFGyO0S4CFi99/DlLuRBM17Kz4ccIN+JvMytE0l5CkUdUpNcZC5/FsOv7jcZusmLk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Qh883Qm1yDB7HISccBWPx1CdtDgfZ4upFqdxVJ4C9fvNuy+3Ja0ZvuqjZxioEvjCoPm1OATEE9mvkYsLOhdxy/1NbMInYN7oZhYZsrv3DjLtZ4v2YctVR24qb38IYqwGBS90ojH9eYP1PfxoRSHaHZ2bptS4cQ2VXKEIV+kkMas= Received: by 10.114.94.1 with SMTP id r1mr3180914wab.31.1209131040549; Fri, 25 Apr 2008 06:44:00 -0700 (PDT) Received: by 10.114.39.14 with HTTP; Fri, 25 Apr 2008 06:44:00 -0700 (PDT) Message-ID: Date: Fri, 25 Apr 2008 21:44:00 +0800 From: "Xiaofan Chen" To: "Hans Petter Selasky" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200804241721.54385.hselasky@c2i.net> <200804241757.08365.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: Fri, 25 Apr 2008 13:44:01 -0000 On Fri, Apr 25, 2008 at 7:34 AM, Xiaofan Chen wrote: > > On Thu, Apr 24, 2008 at 11:57 PM, Hans Petter Selasky wrote: > > > > The problem should at least be fixed in "revision 711". The problem has > > existed for a while after I made some changes to the "usbd_do_request_flags" > > routine. The problem is that the required mutex is not locked when doing the > > set config call. > > Thanks I will try this out and report back. > With revision 711, PICkit 2 again works happily under FreeBSD. [mcuee@freebsd7 ~/Desktop/build/pk2cmd/pk2cmdLinux-0.8]$ ./pk2cmd -?V Executable Version: 1.01.00 (Linux/Mac port 0.8) Device File Version: 1.42.00 OS Firmware Version: 2.30.01 Operation Succeeded [mcuee@freebsd7 ~/Desktop/build/pk2cmd/pk2cmdLinux-0.8]$ ./pk2cmd -PPIC16F690 -Y -F16f690.hex PICkit 2 Verify Report 25-4-2008, 21:42:18 Device Type: PIC16F690 Verify Succeeded. Operation Succeeded Thanks for the great support! Now I will need to try out some other USB device under 7.0-Release with the HPS stack. Xiaofan