hi,
I am trying to use usbfunction mass storage,my work based on:
D:\WINCE500\Public\Common\OAK\CSP\ARM\Intel\PXA25X\USB\Function\PDD
after I connect device to PC, about 1 minute later,a disk ico appear.why
so long and how to settle this problem?

Re: usb function mass storage problem. by Mike

Mike
Thu Mar 13 03:52:20 PDT 2008

"Kevin_LDW" <li.dewen@gmail.com> wrote in
news:egaeflNhIHA.6136@TK2MSFTNGP03.phx.gbl:

> hi,
> I am trying to use usbfunction mass storage,my work based on:
> D:\WINCE500\Public\Common\OAK\CSP\ARM\Intel\PXA25X\USB\Function\PDD
> after I connect device to PC, about 1 minute later,a disk ico
> appear.why
> so long and how to settle this problem?
>
>
>

Hi Kevin,

I have seen the same problem and I think it is related to the fact that
the Windows CE USB Mass Storage doesn't support the USB request 0x23
(Read Format Capacity). When receiving an unsupported request the USB
Mass Storage driver does several retries and finally accepts or ignors
the request and finishes the rest of the configuration. That was what I
have seen when I was working with that driver.

Hope that helps you a little bit.

regards,

Mike
--
Digi International Inc.
http://www.digi.com

Re: usb function mass storage problem. by Kevin_LDW

Kevin_LDW
Thu Mar 13 19:44:19 PDT 2008

Thanks Mike.
Thank you your responded.
Would you tell me where I can add "Read Format Capacity" sppord?

"Mike E." <mikee@reterioja.com> дÈëÏûÏ¢ÐÂÎÅ:Xns9A6078C4A9C6Cmikeereteriojacom@207.46.248.16...
> "Kevin_LDW" <li.dewen@gmail.com> wrote in
> news:egaeflNhIHA.6136@TK2MSFTNGP03.phx.gbl:
>
>> hi,
>> I am trying to use usbfunction mass storage,my work based on:
>> D:\WINCE500\Public\Common\OAK\CSP\ARM\Intel\PXA25X\USB\Function\PDD
>> after I connect device to PC, about 1 minute later,a disk ico
>> appear.why
>> so long and how to settle this problem?
>>
>>
>>
>
> Hi Kevin,
>
> I have seen the same problem and I think it is related to the fact that
> the Windows CE USB Mass Storage doesn't support the USB request 0x23
> (Read Format Capacity). When receiving an unsupported request the USB
> Mass Storage driver does several retries and finally accepts or ignors
> the request and finishes the rest of the configuration. That was what I
> have seen when I was working with that driver.
>
> Hope that helps you a little bit.
>
> regards,
>
> Mike
> --
> Digi International Inc.
> http://www.digi.com



Re: usb function mass storage problem. by Mike

Mike
Fri Mar 14 01:22:13 PDT 2008

"Kevin_LDW" <li.dewen@gmail.com> wrote in
news:#xRAB1XhIHA.1208@TK2MSFTNGP03.phx.gbl:

> Thanks Mike.
> Thank you your responded.
> Would you tell me where I can add "Read Format Capacity" sppord?
>
> "Mike E." <mikee@reterioja.com>
> дÈëÏûÏ¢ÐÂÎÅ:Xns9A6078C4A9C6Cmikeereteriojacom@207.46.248.16...
>> "Kevin_LDW" <li.dewen@gmail.com> wrote in
>> news:egaeflNhIHA.6136@TK2MSFTNGP03.phx.gbl:
>>
>>> hi,
>>> I am trying to use usbfunction mass storage,my work based on:
>>> D:\WINCE500\Public\Common\OAK\CSP\ARM\Intel\PXA25X\USB\Function\PDD
>>> after I connect device to PC, about 1 minute later,a disk ico
>>> appear.why
>>> so long and how to settle this problem?
>>>
>>>
>>>
>>
>> Hi Kevin,
>>
>> I have seen the same problem and I think it is related to the fact
>> that the Windows CE USB Mass Storage doesn't support the USB request
>> 0x23 (Read Format Capacity). When receiving an unsupported request
>> the USB Mass Storage driver does several retries and finally accepts
>> or ignors the request and finishes the rest of the configuration.
>> That was what I have seen when I was working with that driver.
>>
>> Hope that helps you a little bit.
>>
>> regards,
>>
>> Mike
>> --
>> Digi International Inc.
>> http://www.digi.com
>
>
>

Hi Kevin,

I think you need to change that in the USB Storage class driver (public
\common\oak\drivers\usbfn\class\) where the device verifies the received
requests from the host.

regards,

Mike

--
Digi International Inc.
http://www.digi.com

Re: usb function mass storage problem. by embedinfo

embedinfo
Fri Mar 14 07:18:25 PDT 2008

On Mar 14, 1:22=A0pm, "Mike E." <mi...@reterioja.com> wrote:
> "Kevin_LDW" <li.de...@gmail.com> wrote innews:#xRAB1XhIHA.1208@TK2MSFTNGP0=
3.phx.gbl:
>
>
>
>
>
> > Thanks Mike.
> > =A0 =A0 Thank you your responded.
> > =A0 =A0 Would you tell me where I can add "Read Format Capacity" sppord?=

>
> > "Mike E." <mi...@reterioja.com>
> > =D0=B4=C8=EB=CF=FB=CF=A2=D0=C2=CE=C5:Xns9A6078C4A9C6Cmikeereterioja...@2=
07.46.248.16...
> >> "Kevin_LDW" <li.de...@gmail.com> wrote in
> >>news:egaeflNhIHA.6136@TK2MSFTNGP03.phx.gbl:
>
> >>> hi,
> >>> =A0 =A0 I am trying to use usbfunction mass storage,my work based on:
> >>> D:\WINCE500\Public\Common\OAK\CSP\ARM\Intel\PXA25X\USB\Function\PDD
> >>> =A0 =A0 after I connect device to PC, about 1 minute later,a disk ico
> >>> =A0 =A0 appear.why
> >>> so long and how to settle this problem?
>
> >> Hi Kevin,
>
> >> I have seen the same problem and I think it is related to the fact
> >> that the =A0Windows CE USB Mass Storage doesn't support the USB request=

> >> 0x23 (Read Format Capacity). When receiving an unsupported request
> >> the USB Mass Storage driver does several retries and finally accepts
> >> or ignors the request and finishes the rest of the configuration.
> >> That was what I have seen when I was working with that driver.
>
> >> Hope that helps you a little bit.
>
> >> regards,
>
> >> Mike
> >> --
> >> Digi International Inc.
> >>http://www.digi.com
>
> Hi Kevin,
>
> I think you need to change that in the USB Storage class driver (public
> \common\oak\drivers\usbfn\class\) where the device verifies the received
> requests from the host.
>
> regards,
>
> Mike =A0
>
> --
> Digi International Inc.http://www.digi.com- Hide quoted text -
>
> - Show quoted text -

Hi there,

I am working on Windows CE 5.0. I am having problem in exposing my
internal flash as USB mass storage device. As per the MSDN link I have
added USB mass storage resistry settings and given correct "Device
Name" registry key. (DSK1 which is my flash device name).

FYI,
I have verified USBFN driver with serial and RNDIS profile.

Now if I add mass storage support, mass storage class driver is able
to get the disk information, (I saw the debug message over KITL) after
that no messges from USB mass storage client are seen. And after, I
get new drive letter "E:" in "My computer" but not able to access it.
If I see the properties of E: it shows "0" bytes. What could be the
problem?

FYI,
I tried exposing my SD storage card just to verify if the problem is
with my flash driver or USB. Similar behaviour is observed with SD
card also. So I suspect my USBFN driver.

Note: I have USB 2.0 function driver. Is that compatible with Mass
storage class driver which comes with WINCE 5.00? Or any QFEs needs to
be installed?

FYI,
I tried same thing on another board that is having USB 1.1 function
driver. It works perfectly. So my query is whether USB mass storage
class driver is compatible with USB 2.0? Or any sysgen variables to be
added to make it work?

How do I debug this issue?

Any inputs will be helpful!

Thanks