Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to I get a USB memory stick driver for Windows CE 5.0?

2,921 views
Skip to first unread message

Don

unread,
Mar 2, 2007, 12:17:00 PM3/2/07
to
Hi

I am currently booting Windows CE 5.0 from a compact flash on a Mini-ITX M11
mother board. I have built my OS using Platfrom builder 5.0. I would like
to be able to read and write a USB memory stick. When I plug in my memory
stick a window pops up asking me for a driver. Is there something I need to
do in Platform Builder to have the OS realize USB memory sticks or do I need
to hunt on the internet for USB memory stick drivers that support Windows CE.
Any help in this matter would be appreciated

Thankyou


--
Don

<ctacke/>

unread,
Mar 2, 2007, 12:21:07 PM3/2/07
to
Include the USB Mass storage driver in your image.


--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--


"Don" <D...@discussions.microsoft.com> wrote in message
news:A9F1AE60-74B7-47AD...@microsoft.com...

Don

unread,
Mar 2, 2007, 12:33:23 PM3/2/07
to
I tried that but a window keeps poping up saying

Unidentified USB Device:
Enter the name of the drive for this USB device
Driver Name: -----------
--
Don

Paul G. Tobey [eMVP]

unread,
Mar 2, 2007, 1:26:47 PM3/2/07
to
Does *any* USB device work? Maybe your host driver for your hardware isn't
working and therefore is returning incorrect characteristics for the stick?
Did you include the partition driver for FAT? The device isn't formatted
for NTFS or something, is it?

Paul T.

"Don" <D...@discussions.microsoft.com> wrote in message

news:0B286FC7-A4C6-4C7B...@microsoft.com...

Don

unread,
Mar 2, 2007, 5:50:27 PM3/2/07
to
Hi Paul,

You think I need to include under Catalog\Core OS\Window CE devices\Core OS
Services\File Systems and Data Store\Storage Manager\Partition Driver
to make this work? Also when plug my memory stick in under XP and get its
properties, the file system is FAT.
--
Don

Paul G. Tobey [eMVP]

unread,
Mar 2, 2007, 6:21:02 PM3/2/07
to
Yes, I'd say that you need the partition driver; I've never tried to handle
things like that without it, so I could be wrong. Sounds like you have the
right filesystem on the stick. Make sure that there aren't any other useful
things under Storage Manager that you might want and resysgen the OS.

Paul T.

"Don" <D...@discussions.microsoft.com> wrote in message

news:4B47ADD8-5589-46EF...@microsoft.com...

Don

unread,
Mar 2, 2007, 6:43:49 PM3/2/07
to
Hi Paul,

I do in fact have another USB device working. It is a USB to 485 converter
that has a ftdi chip in it. And when I plug this device I also get the
window:

Unidentified USB Device
Enter the name of the driver for this USB device:
Driver Name: -----------

But the difference here is that I have downloaded driver files from the ftdi
web site.
They supply a dll and and ini file. I had to edit the ini file in such a
way that it includes the vendor and product id that is being sent when the
USB to 485 converter is plugged in. Then I had to copy the dll and the ini
file to the \Windows directory on my CE device. Then when the above window
came up I simply type the name of the dll and it worked. Wouldn't I have to
do something similar with a memory stick?

--
Don


"Paul G. Tobey [eMVP]" wrote:

Sameer Moidu (MS)

unread,
Mar 2, 2007, 9:13:23 PM3/2/07
to
Memory sticks would typically be identified not by vid/pid which is unique
to a device+manufacturer but other identifying information, namely the
class/subclass/protocol of their interfaces. The mass storage driver
(usbdisk6.dll,usbmsc.dll) should be installed to support any device of
interface base class 8, or the mass storage class defined by usb.org

More info about usb device driver loading is at
http://msdn2.microsoft.com/en-us/library/ms894080.aspx

"Don" <D...@discussions.microsoft.com> wrote in message

news:22848D66-1160-41DE...@microsoft.com...

Bruce Eitman [eMVP]

unread,
Mar 3, 2007, 10:56:38 AM3/3/07
to
Did your rebuild, create an image and load that image? Do any other USB
devices work with your system, like mouse or keyboard? Is usbmsc.dll in
your Windows folder? in your CE.bib?

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

"Don" <D...@discussions.microsoft.com> wrote in message

news:0B286FC7-A4C6-4C7B...@microsoft.com...

Don

unread,
Mar 5, 2007, 9:29:29 AM3/5/07
to
Hi Bruce,

My rebuild did create an image and load. USB keyboard works. usbmsc.dll is
not in my windows folder. I have a CE.bib in my release directory were my
OS image is built. In this file there is no reference to a usbmsc.dll in
this file. I guess I need this? If so in what directory do I modify CE.bib
and what should the syntax look like?

Thanks
--
Don

Don

unread,
Mar 7, 2007, 2:04:05 PM3/7/07
to
Hi Bruce,

Another point I thought worth mentioning is that the file usbmsc.dll does
not exist on my XP machine that I am using to build my Windows CE 5.0 OS
using Platform Builder. Am I missing an update?

--
Don

Rams

unread,
May 8, 2007, 1:44:00 AM5/8/07
to
Hi Bruce,

Even I too am facing the same problem, but not on WinCE 5.0 but on Win CE
6.0.
I was able to see the usbmsc entry in CE.bib located in the release folder.
But when I plug in a USB Mem stick, it pops a msg as unidentified device. It
works fine on WINCE 5.0. I am not able to find the reason as to y it behaves
like this.

Regards,
-Rams

Don

unread,
May 8, 2007, 12:11:03 PM5/8/07
to
Hi Rams,

I to have ugraded to 6.0, I added the Mass Strorage catalog item. And get
the error that the driver can not be found. Did you ever get yours to work
--
Don

Rams

unread,
May 9, 2007, 1:00:00 AM5/9/07
to
Hi Don,

Looks like we r facing the same issue, but just that you are facing it in
Wince5.0 and I am facing in Wince 6.0. But for me USB mass storage in Wince
5.0 works just fine by including the USB Mass storage from the catalog items.

Hey, just one tips for you, make sure that u r including the USB Mass
storage from underneath the "USB Host support" and not from the "USB Function
Clients". Nevertheless to mention, I think you would have taken care of this
:-).
I will surely post if I find any solution for the same issue what we r
facing. Let me also know if u find a solution for ur issue.

Thanks & Regards,
-Rams

Don

unread,
May 11, 2007, 10:13:00 AM5/11/07
to
Hi Rams,

I did get a solution. It seems that if I set the environment variable that
coresponds to Mass store device through the build options the evironment pops
a window up asking me if I really want to set it in a particular file. Sorry
I forget which one. I say yes to this, rebuilt the OS and it worked.

Rams

unread,
May 14, 2007, 1:59:00 AM5/14/07
to
Hi Don,
Thanks for the reply and concern. But one problem is that I didn't
understand what you were trying to express :-(. Can you please make it more
elaborate?
I had added the USB Mass storage variable "SYSGEN_USB_STORAGE" by adding the
variable in the OSDesign. R u meaning that it is not sufficient or it has no
effect by doing so?
Kindly elaborate as to what u did to make it work. Was it on WinCE 5.0 or
WinCE 6.0 that you made it work?
Waiting desperately for your reply.

Thanks & Regards,
-Rams

"Don" wrote:

> Hi Rams,
>

Rams

unread,
May 30, 2007, 2:45:00 AM5/30/07
to
Hi Don,

Didnt hear from you for my queries I had posted.
1. Can you kindly help me as to which was the environment variable that u
set to make it work?
2. Can you send me the list of SYSGEN variables set in your environment?
3. Was it on WINCE 5.0 or WINCE 6.0 that you got it working?

Kindly reply.

Thanks & Regards,
-Rams

0 new messages