Re: USBFN storage device
- From: "Mike Engel" <anadi@xxxxxxxxxxxxx>
- Date: Wed, 27 Jul 2005 16:21:13 +0200
Hi Dean,
thanks for that information.
May I ask you another question?
When I connect to PC host I receive always an exception from an critical
section
0x89f0c6b0: UsbFnMdd!ProcessGetDescriptor: Get device descriptor request.
0x89f0c6b0: !ERROR: Calling EnterCriticalSection on a CS (01fb06b4) that is
not initialized!
0x89f0c6b0: Coredll: DEBUGCHK failed in file
c:\macallan\private\winceos\coreos\core\dll\cscode.c at line 8
I have checked in my code, but I only have one critical section and close
and open it correctly. The problem occurs in the
svsutil_Alloc(int 0x00000018, void * 0x00000000) line 173
which does an EnterCriticalSection().
Any idea?
Thanks
Mike E.
"Dean Ramsier" <ramsiernospam@xxxxxxxxxx> escribió en el mensaje
news:#uJwWFrkFHA.3288@xxxxxxxxxxxxxxxxxxxxxxx
> Make sure you've configured the USB Mass Storage registry settings
> appropriately for your device, see PB help for more details. CE dismounts
> your disk when it is exposed as a mass storage device to prevent
corruption.
> This behavior is as designed. I believe you'll need to remount manually
> (through the Storage Manager for example) if you want access to it from
the
> device side again. I haven't tried this though...
>
> --
> Dean Ramsier - eMVP
>
>
> "Mike Engel" <anadi@xxxxxxxxxxxxx> wrote in message
> news:OxxM80qkFHA.2916@xxxxxxxxxxxxxxxxxxxxxxx
> > Hi Dean,
> >
> > this works now as mentioned, but when I try on my PC Host to access the
> > storage device it always fails. I have seen that the Mass Storage driver
> > unmounts my physical disc (dsk1:). Why does he unmount the device and
what
> > is the command to mount it again? Do I need to mount the disc manually?
> >
> > Thanks for your help.
> >
> > Mike E.
> >
> > "Dean Ramsier" <ramsiernospam@xxxxxxxxxx> escribió en el mensaje
> > news:uK2DqCsjFHA.3540@xxxxxxxxxxxxxxxxxxxxxxx
> > > The Mass storage client driver is intended to expose an existing block
> > > device on the platform, and provides acces to files that have already
> been
> > > stored on the device and the ability to add new ones. The files can
be
> > > acessed from either the CE device or the host (although not
> > simultaneously).
> > > It therefore requires a block driver to be already in place...
> > >
> > > --
> > > Dean Ramsier - eMVP
> > >
> > >
> > > "Mike Engel" <anadi@xxxxxxxxxxxxx> wrote in message
> > > news:eh9S6xqjFHA.476@xxxxxxxxxxxxxxxxxxxxxxx
> > > > Hi
> > > >
> > > > thanks for you quick reply I will try this. I thought it was
> implemented
> > > > similar to Linux, where you use a simple file to store the data.
> > > >
> > > > We use a NetSilicon ARM9 (NS9360) CPU as our platform.
> > > >
> > > > Best regards,
> > > >
> > > > Mike Engel
> > > >
> > > > "Voidcoder" <voidcoder@xxxxxxxxx> escribió en el mensaje
> > > > news:#LfT0pqjFHA.1372@xxxxxxxxxxxxxxxxxxxxxxx
> > > > > For some unknown reason MS decided that mass storage function
> > > > > will work only on top of the block device. If You dont have one
> > > > > You are out of luck here. The only solution I know to get it
working
> > > > > with RAM filesystem is to create a RAMDISK driver (You may want
> > > > > to use existing sample from \WINCE500\PUBLIC\COMMON\
> > > > > OAK\DRIVERS\BLOCK\RAMDISK). This will give You the "DSK1:"
> > > > > device.
> > > > >
> > > > > Btw what platform is it? ARM is very vague.
> > > > >
> > > > >
> > > > > "Mike Engel" <anadi@xxxxxxxxxxxxx> wrote in message
> > > > news:OXcUteqjFHA.3288@xxxxxxxxxxxxxxxxxxxxxxx
> > > > > > Hi all,
> > > > > >
> > > > > > I have some problems in getting the USBFN storage working on my
> > > target.
> > > > I
> > > > > > want that my device appears as storage device on a PC. When I
> attach
> > > the
> > > > > > device the USBFN storage driver tried to access the DSK1: on my
> > > Windows
> > > > CE
> > > > > > device. As I do not have that device the CreateFile() fails and
is
> > > stops
> > > > the
> > > > > > initialisation of the USBFN storage driver.
> > > > > >
> > > > > >
> > > >
> > >
> >
>
\Wince500\public\common\oak\driver\usbfn\class\storage\emulation\Scsi2\block
> > > > > > .cpp
> > > > > >
> > > > > > What do I need to add to my kernel to get this running?
> > > > > >
> > > > > > I have included Mass Storage and USBFN driver. I use Windows CE
> V5.0
> > > for
> > > > an
> > > > > > ARM platform.
> > > > > >
> > > > > > Thanks for any advice.
> > > > > >
> > > > > > Mike Engel
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
.
- Follow-Ups:
- Re: USBFN storage device
- From: Charles Peterson
- Re: USBFN storage device
- References:
- USBFN storage device
- From: Mike Engel
- Re: USBFN storage device
- From: Voidcoder
- Re: USBFN storage device
- From: Mike Engel
- Re: USBFN storage device
- From: Dean Ramsier
- Re: USBFN storage device
- From: Mike Engel
- Re: USBFN storage device
- From: Dean Ramsier
- USBFN storage device
- Prev by Date: Re: CPU Support package issue
- Next by Date: Re: USBFN storage device
- Previous by thread: Re: USBFN storage device
- Next by thread: Re: USBFN storage device
- Index(es):
Relevant Pages
|
|