RE: usb mass storage client driver
- From: "jt" <jt@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 26 Jun 2005 06:58:02 -0700
Thanks for your reply
I have implemented the READ FORMAT CAPACITY
after implementation it is working fine and the hard disk is comming up
but the problem is that if i try to wirte into the hard disk (mass storage
devcie )
the write command from the host is comming and the in the debug message i am
finding that it is a correct command but when i am cerating a folder or
copying a file to the hard drive from my desktop i am not able to write into
that removable hard drive and also after the writing process over the memory
containt shown by the removable drive becomes zero used and zero memory space
available
please tell me is there anything i am missing in the process or in the
registry entries(i took the reg entry from the common.reg)
tell me any solutuion for the write process.
Advance thanks to u.
jt
Asang Dani" wrote:
> *READ_FORMAT_CAPACITIES* is not a standard SCSI-2 command. It's marked as
> Vendor-Specific in SCSI SPC r11-a. It's part of USB Mass Storage Class UFI
> specification (pp 33)
>
> http://www.usb.org/developers/devclass_docs/usbmass-ufi10.pdf
>
> Please go through the CDB format and reply to it correctly. All UFI devices
> should implement this command. Your function driver will work as expected.
>
> --
> Asang Dani
>
>
> "jt" wrote:
>
> > I was trying to implement mass storage device on USB function controller
> > driver on Windows CE 5.0. After configuring the registry USB function
> > controller driver for Mass storage class and connected the device, I found
> > that one of the command in mass storage READ_FORMAT_CAPACITY (0x23) was not
> > supported. I got the debug messages as below:
> >
> > UsbMsFn!STORE_IsCommandSupported: ++
> > UsbMsFn!STORE_IsCommandSupported: command 0x23
> > UsbMsFn!STORE_IsCommandSupported: unsupported command 0x23
> > UsbMsFn!STORE_IsCommandSupported: --
> > UsbMsFn!BOT_HandleCBW: command not supported
> >
> > in the mass storage code i found that there was no implementation of the
> > code for this READ FORMAT CAPACITY command. After this command was not
> > processed, the endpoint was stalled and the bus was reset by the USB host.
> > After I hard coded with the READ FORMAT CAPACITY.
> > there is another problem when i tried to write into the SDMMC card which is
> > the mass storage device. it is failing to write into that SDMMC. and the
> > memory property showing the device has zero memory and zero used space( this
> > is happening when i am trying to write into the mass storage device ).
> >
> > thanks
.
- Follow-Ups:
- RE: usb mass storage client driver
- From: Asang Dani
- RE: usb mass storage client driver
- References:
- usb mass storage client driver
- From: jt
- RE: usb mass storage client driver
- From: Asang Dani
- usb mass storage client driver
- Prev by Date: Re: gpio0 interrupt problem
- Next by Date: RE: usb mass storage client driver
- Previous by thread: RE: usb mass storage client driver
- Next by thread: RE: usb mass storage client driver
- Index(es):
Relevant Pages
|