Re: USB Drivers Update? QFX?

From: voidcoder (voidcoder_at_yahoo.com)
Date: 12/22/04


Date: Wed, 22 Dec 2004 16:04:05 +0100

Ok. The question is:

Is it any way to use USB Mass Storage function under
wince 5.0? What i really need is my device to be
"mass storage" itself. Please do not mix up with
connecting different "Flash Keys" etc to device.
I want to connect my device to PC host (as Mass Storage device)
and once connected, to appear in the windows
shell tree as a separate drive.

This is very important for me (for my customers)
and I asked first before buying wince 5.0
if this feature is supported.

Ok, ce 5.0 was bought and now I'm trying to get working
something described above. My platform is PXA270. I use PXA270 CSP
function driver (it is full of bugs) + USB Function POD Transport driver +
RAMDISK block driver to share a virtual folder between my device and
host PC. After some "dancing with tambourine"
i got pxa270 CSP usb function driver
(WINCE500\PUBLIC\COMMON\OAK\CSP\ARM\INTEL\PXA27X\USBFN\)
to work together with POD Transport driver
(WINCE500\PUBLIC\COMMON\OAK\DRIVERS\USBFN\CLASS\STORAGE\TRANSPORT\BOT\)
and to use my virtual RAM folder as mass storage with RAMDISK block driver
(WINCE500\PUBLIC\COMMON\OAK\DRIVERS\BLOCK\RAMDISK).

The problem is: something is not working very well here. Sometimes
(when device is staying connected VERY long time with PC host)
finally device becomes recognized by the host as Mass_Storage_Device
and I can see/reed/write etc to mass storage folder. But, as I said,
it happens !!!SOMETIMES!!! only and takes !!TOO!!! long time :(

I dont't really sure what is the problem, but I think that
host sends some commands, not supported by device.
And as a result (because commands are not supported)
it stalls on endpoint.

After plugging the cable CSP function driver starts o.k. It starts
to service UDC interrupts for EP0 and Bulk EP. But after ~100 interrupts it stops
working with "Stall send on In Endpoint = 0x01". Then in 5-6 seconds receives
next reset condition and repeats again: About 100 ints, then
"Stall send on In Endpoint = 0x01" message, then nothing for 5-6 sec,
and then reset condition, ... ect etc etc

The same result is with ATADISK + CompactFlash or
SD-Card instead of RAMDISK.

Thanks

"Dean Ramsier" <ramsiernospam@nospam.com> wrote in message news:#KMEQmC6EHA.208@TK2MSFTNGP12.phx.gbl...
> If you have specific problems, post them. Someone might have a solution.
> Do not expect to see a QFE that will fix whatever issue you might be having.
> If you're looking for general rewrites of the USB stack, anything like that
> isn't likely to occur in this version of the OS at all. That kind of change
> typically only happens on new OS versions.
>
> --
> Dean Ramsier - eMVP
>
>
> "voidcoder" <voidcoder@yahoo.com> wrote in message
> news:%234KYgoB6EHA.2572@tk2msftngp13.phx.gbl...
> > Hey guys!
> >
> > Do we really have to live with these problem? What we should do?
> > To redesign USB subsystem from the scratch? Our customers are happy
> > with our BSP, everything is ok except of WinCE 5.0 USB
> > subsystem... :(
> >
> >
> >
> > "voidcoder" <voidcoder@yahoo.com> wrote in message
> > news:esmF3y35EHA.208@TK2MSFTNGP12.phx.gbl...
> > > Hi every1!
> > >
> > > It was a lot about USB drivers problems under
> > > WinCE 5.0. And it was also some information
> > > in this newsgroup that USB drivers will be fixed
> > > (or fixed by now?). Does anybody know something
> > > abt? When (and how) it will be fixed?
> > > May be Qfx? Something else?
> > >
> > > Thanks
> > >
> > >
> >
> >
>
>



Relevant Pages

  • Re: Need Help: CE5.0 flash is not shown as USB mass storage device
    ... Even though i made the usb mass storage function ... driver usbmsfn.dll as the default client driver, ... USB active sync works fine without any problem. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: USB mass storage
    ... "How to switch default usb client function driver on wince 5.0 at ... then later disable mass storage and then enable activesync? ... added the USBF mass storage, which causes your device to show up as a USB ... I tried changing the registry entries as shown below. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Need Help: CE5.0 flash is not shown as USB mass storage device
    ... Bruce.Eitman AT EuroTech DOT com ... driver usbmsfn.dll as the default client driver, ... only usb serial function driver is getting loaded. ... I am trying to expose my flash folders as a USB mass storage ...
    (microsoft.public.windowsce.platbuilder)
  • Re: USB Mass Storage Device ( Not able to open the drive)
    ... What happens when you remove the SD card from SD sloat when the USB ... In my case I am not able to see any change on host, ... My USB Mass Storage Device driver is working. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: USB Mass Storage Device ( Not able to open the drive)
    ... My USB Mass Storage Device driver is working. ... Is it possible for me to access Storage Card through ... Device from my host). ...
    (microsoft.public.windowsce.platbuilder)