hamilton <hamilton@deminsional.com> wrote in message news:<40625fe3_3@omega.dimensional.com>...> does anyone know of a USB master for embedded use ??try SL811HS fro Cypress ... I develope a framework for this USB Host Chip .. Please visit site www.teknoproject.net !!!! Bye from Italy
interfacing USB flash disk
Started by ●March 23, 2004
Reply by ●April 21, 20042004-04-21
Reply by ●April 21, 20042004-04-21
"Michael N. Moran" <mnmoran@bellsouth.net> wrote in message news:<wgX7c.128492$rB4.35678@bignews6.bellsouth.net>...> Tim Mitchell wrote: > > I am designing a microcontroller based device which needs to connect to > > PC, probably by USB, and also needs some removable storage. > > As I think you know, when connected to the PC, your device > would need to be a USB "device." When connecting to the > removable storage, your device would need to be a USB host. > > > My first thought was to use compact flash for the storage because I've > > done that before & know how to use it. But then I wondered about using > > the USB flash disks you can get (the pen-type things built into a USB > > plug). I presume the problem with this would be > > (A) my device would have to be a USB host which adds a lot of complication and > > Yep. You need a USB host-controller, and a USB software stack > (non-trivial). >> > (B) getting the information on how to communicate with the flash disk. > > The USB mass storage specification is your starting point > for this. > > > Has anyone tried to do this? > > I have written an OHCI USB host controller framework, that > supports control, bulk, and interrupt transfers (no isochronous > support yet.) > > On top of this, I have written a USB mass storage bulk-only > driver. This amounts to running SCSI commands using the USB > Transparent Transport mechanism, over bulk-in and bulk-out > pipes. > > However, I have found that there are *many* non-standard > behaviors associated with different devices :-( > Different devices support different sub-sets of SCSI > commands. > > After that, I have FAT16 running over a block device > driver adapter. > > All of my code is written in C++ running under an RTOS. > The current implementation is running on a powerpc 860 > class board. > > If you don't need the RTOS and have plenty of resources, > you can always run Linux, and use their USB mass storage > support without so much pain ;-) > > > -- > Michael N. Moran (h) 770 516 7918 > 5009 Old Field Ct. (c) 678 521 5460 > Kennesaw, GA, USA 30144 > > "... abstractions save us time working, but they don't > save us time learning." > Joel Spolsky, The Law of Leaky Abstractions > > The Beatles were wrong: 1 & 1 & 1 is 1Please you can send me a sample ansi C code or documentation for explain to me the SCSI command to r/W a Usb Pen (Oti Chip) on Bulk Endpoint ? The USB Framework on SL811HS from Cypress is ok on my Hw (Hitachi H8s) Mouse,printer,and Keyboard run but Usb Pen is my Dream for this Year !!!!!! Thank you in advance by Roberto Vescovi email:tkproj@inwind.it site :www.teknoproject.net
Reply by ●April 21, 20042004-04-21
Appologies to the group. I did *not* mean to post the PDF's to the group. -- Michael N. Moran (h) 770 516 7918 5009 Old Field Ct. (c) 678 521 5460 Kennesaw, GA, USA 30144 http://mnmoran.org "... abstractions save us time working, but they don't save us time learning." Joel Spolsky, The Law of Leaky Abstractions The Beatles were wrong: 1 & 1 & 1 is 1