From owner-freebsd-usb@FreeBSD.ORG Wed Apr 30 00:02:02 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 023E0106564A for ; Wed, 30 Apr 2008 00:02:02 +0000 (UTC) (envelope-from xiaofanc@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.190]) by mx1.freebsd.org (Postfix) with ESMTP id 865278FC22 for ; Wed, 30 Apr 2008 00:02:01 +0000 (UTC) (envelope-from xiaofanc@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so100860fkk.11 for ; Tue, 29 Apr 2008 17:01:59 -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=4PBPCMxoOhoYrk5lR7p5vcs6DGZ04S52iUIM2jPT/LI=; b=STWLklcpn4u0HOLyqNYYCdEK120ZCwsLPY7qTEKIkGnu/PQkYuxWRWLRYlrJgCvilGCvVY2/k4lg+c4ib4cirtzFvBTboB9kmR8EAs1xODRH0NX60RaO+L8BIPf7jLa8xo3Kwp2SqyH2ilVbvC6TtkRuqmisK/9SeTZktDbmetg= 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=vdl9YeghhHm2g3c98ATLRUdkQs9rIDrfwAU255+/lyH1QFWxBV3Fd6l8dsn8i+NGM6h1EmjPwKZVZcsdqofp0D2X89Hd4+LDEApxY5Pzhf1pVMD2bjBp7e98l8c8EyYtx9GlPVAWvmIC+5By7SuNh06oG8cLBQ7Cv3lzw9P7NLk= Received: by 10.78.188.10 with SMTP id l10mr155342huf.53.1209513718162; Tue, 29 Apr 2008 17:01:58 -0700 (PDT) Received: by 10.78.141.11 with HTTP; Tue, 29 Apr 2008 17:01:58 -0700 (PDT) Message-ID: Date: Wed, 30 Apr 2008 08:01:58 +0800 From: "Xiaofan Chen" To: "Hans Petter Selasky" In-Reply-To: <200804292159.11467.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200804252349.25954.hselasky@c2i.net> <200804292159.11467.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: USB Mass Storage Device 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: Wed, 30 Apr 2008 00:02:02 -0000 On Wed, Apr 30, 2008 at 3:59 AM, Hans Petter Selasky wrote: > Maybe you can get my USB stack working on your PIC board? It now supports the > Device Side aswell as the host side! See "usbd_handle_request" in: > > http://www.selasky.org/hans_petter/isdn4bsd/sources/src/sys/dev/usb/usb_transfer.c > > Mass storage driver: > > http://www.selasky.org/hans_petter/isdn4bsd/sources/src/sys/dev/usb/ustorage_fs.c > The PIC18F4550 is a lowly 8-bit MCU (12MIPS, 32KB Flash, 2KB SRAM including USB RAM). So maybe it is too low to run your USB stack's device side. What is the minimum requirement to run your USB stack's device side? XIaofan