Re: USB Mass Storage Device ( Not able to open the drive)



Once you plug in the cable the MSD function driver unmounts the store
(to get exclusive access to the store), so it is not possible to access
it from the device when the MSD is using it. When you unplug the cable
the MSD driver will release the block driver and trig the storage
manager to re-mount the store. In other words, it should appear in the
device file system and be accessible again.

Henrik Viklund
http://www.addlogic.se

Imti skrev:

Hi,

My USB Mass Storage Device driver is working. Thanks for your support.

I have one query, Is it possible for me to access Storage Card through
command prompt (CMD.exe), once I dismount the USB Device ( Mass Storage
Device from my host).

I have Serial Port for downloading, and I am launching CMD.exe at
boot-up. I am able to see "Storage Card" on the command prompt before
connecting the USB Cable. Once I connect and disconnect. I am not able
to see the "Storage Card".

Thanks

Imtiaz Khan.K.

Henrik Viklund wrote:
I've run MSD on SDCard (on a PXA27x) without any problem on several
platforms. To narrow things down a bit you can try to run some CETK
tests on the USB function driver and the SDCard and see if one of them
fails.

Henrik Viklund
http://www.addlogic.se

Imti skrev:

Hi,

What store are you trying to expose as MSD? Filesystem?, FAT?, ISPM?,
Internal flash?, sdcard?
--> SD Card.

I am now able to open the drive, create a small text file, read/write a
text file of small size.

But I am unable to copy files more than 10 KB?.

Error : Path Too long

Regards,

Imtiaz Khan.K.



Henrik Viklund wrote:
First of all, as Valter allready explained, "DSK1:" is the store on the
device that shall be exposed as MSD to the host. What the host computer
mounts the MSD as has nothing to do with "DSK1:".

The good thing is that since the host manages to mount the MSD as a
drive letter it means that the function controller driver seem to be
working better now, because the enumeration has completed successfully.

What store are you trying to expose as MSD? Filesystem?, FAT?, ISPM?,
Internal flash?, sdcard?

Henrik Viklund
http://www.addlogic.se

Imti skrev:
Hi,

I was able to see the target as a USB device on the host PC.

It was mounted as a "Mass Storage Device" on my host PC. i.e [ Drive
I:\ ]

But, whenever I try to open the drive I:\, it gives me the following
errors

(1) The Semaphore timeout period has expired

(2) The request cannot be performed due to an I/O Device error.

I have the doubt since the device should be mounted as DSK1: but it has
mounted as I:?

Tools,

(1) WINCE 5.0
(2) ISP1582 Function Controller.


Thanks

Imtiaz Khan.K.

.



Relevant Pages

  • Re: USB mass storage
    ... Basically your flash driver should support standard block driver commands and the mass storage function driver will unmount all partitions on the device once it is connected to the desktop. ... How do I connect the USB Functional MSD to my flash driver? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: USB mass storage
    ... working block driver for your strata flash! ... You also have to make sure the *cloned* driver ends up in the image by ... flash as MSD. ...
    (microsoft.public.windowsce.platbuilder)