Re: using SD CARD as a USB Mass Storage Device in WINCE 5.0
- From: "Imti" <imtiazkhank@xxxxxxxxx>
- Date: 29 Nov 2006 05:48:55 -0800
Hi,
The Function Controller driver and the client driver are running now.
Here are the debug messages.
UsbFnMdd!UfnMdd_RegisterDevice: Device registered
UsbFnMdd!UfnMdd_Start: Function controller running
UsbFnMdd!CUfnBus::ActivateChild: Activated client driver
"Mass_Storage_Class"
I am also getting these two debug messages, and I am not sure this
messages are from
SDCARD driver or USB Driver.
DEVICE!RegReadActivationValues
RegQueryValueEx(Drivers\BuiltIn\PCI\DllName) returned 2
DEVICE!I_ActivateDeviceEx: can't find all required activation values in
'Drivers\BuiltIn\PCI'
This is what I get on the debug messages. But still I am just able to
see "UNKNOWN DEVICE" on my PC. It is not detecting as a MASS Storage
Device.
I wanted to know what is that I am missing. Could you please help me.
I wanted some clarifications for the following statements
You need to make sure that the DSK entry maps to your storage card and
set the VID and PID per the comments. ( Could you tell me how to do
it)
You also need to make sure the the default client is the mass storage
client. ( Could you tell me how to do it)
Regards,
Imtiaz Khan
Bruce Eitman [eMVP] wrote:
The problem may be that you need to get your USB Function driver working on
your board. The first step would be to get it to start and then see that
the PC sees your board via USB.
I am assuming that you have the driver in your build as well as the registry
settings for it.
You may need to do some debugging.
--
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
"Imtiaz" <Imtiaz@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4A7F938A-08BE-4F16-B292-BF1878E6405D@xxxxxxxxxxxxxxxx
This is the settings I have added to Project.reg
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver"=- ; erase previous default
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver"="Mass_Storage_Class"
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Mass_Storage_Class]
"Dll"="usbmsfn.dll"
"idVendor"=dword:04CC
"idProduct"=dword:1BA7
"InterfaceSubClass"=dword:06
"InterfaceProtocol"=dword:50
"DeviceName"="DSK1:"
"FriendlyName"="Mass Storage"
"Manufacturer"="Philips"
"Product"="Mass Storage"
"bcdDevice"=dword:0
But still Its unable to load "usbmsfn.dll" or "ISP1582Function.dll" . What
still I have to do.
Regards,
Imtiaz Khan.K.
"Bruce Eitman [eMVP]" wrote:
You need to copy the USBF mass storage class entries into you project.reg
and modify them. You need to make sure that the DSK entry maps to your
storage card and set the VID and PID per the comments. You also need to
make sure the the default client is the mass storage client. Take a look
at
the registry.
--
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
"Imtiaz" <Imtiaz@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:224F6EF4-76A2-47FB-B592-590BDCEF9815@xxxxxxxxxxxxxxxx
First of all sorry for the incorrect question,
(1) I have a target board which has a philips ISP1582 USB Peripheral
ctrller
on it.
(2) We have a SD Memory Card device, which is working on the target.
(3) We are using WINCE 5.0 Version.
I want to expose our SD Memory Card as a USB Mass Storage device. To do
this
(1) I have included the " Mass Storage " component from "USB Function
Clients" device drivers. i.e (SYSGEN_USBFN_STORAGE = 1) to our BSP.
Could you tell what do you mean by "configure the registry to use
the appropriate DSKx".
Does this mean we have the change the common.reg or project.reg or
driver
reg file.
Regards,
Imtiaz Khan
"Bruce Eitman [eMVP]" wrote:
Wow, I totally missed that posibility.
He will need the USB Mass Storage client and configure the registry to
use
the appropriate DSKx
--
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
"Valter Minute" <v_a_l_t_e_r.m_i_n_u_t_e@xxxxxxxxxxxxx> wrote in
message
news:Xns9875C4DB41A35VALTERMINUTE@xxxxxxxxxxxxxxxx
"Bruce Eitman [eMVP]" <beitman.nospam@xxxxxxxxxxxxxxxxxxxxxx> wrote
in news:uLYSfC2AHHA.4256@xxxxxxxxxxxxxxxxxxxx:
[...]
1. You left a lot to our imagination. We don't know anything
about your board, your CE version. I don't know what you mean by
using your SD Card as a USB Mass Storage device. That could be
implmented several ways. 2. You have a PDD for what?
3. The client driver that you use would be the USB Mass Storage
Class under USB Host Support. That is assuming that your
implementation has the SD Card working as a true USB Mass Storage
device.
I think that he meant that he's got a working SD card device on his
board and he wants to expose it as USB mass-storage device to the
world. In this case he will need a USB client driver (and a USB
device
port and controller on his board, of course).
--
Valter Minute
(the reply address of this message is invalid)
(l'indirizzo di reply di questo messaggio non è valido)
.
- Prev by Date: Re: In one function, some breakpoints work, some breakpoints don't work, Why?
- Next by Date: Re: Dependencies for custom driver
- Previous by thread: product description string
- Next by thread: Maximum number of incoming TCP Connections?
- Index(es):
Relevant Pages
|