On Wed, Aug 13, 2003 at 01:53:49AM +0000, agikor M wrote: > I am a newbie on usb device.Now I have a task about the usb device on > PXA255.we have designed a HPC which based on PXA255 and we want to use > the HPC as a mass storage device(a usb removable disk) through the usb > on pxa255. Would you like to tell me how I can get a start and > introduce me the steps to work? Are there have some reference?
You have to write a gadget driver: use the pxa2xx_udc controller driver (which talks to the hardware and handles all the hardware access stuff), on top of that you should write something that implements the specification for storage devices. Look at the existing gadget drivers (gadget_ether, gadget_zero) to see how things work... Robert -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Hornemannstraße 12, 31137 Hildesheim, Germany Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel