Re: Wince5.0: Cannt see SDMMC directory.? by Erwin
Erwin
Thu Jun 19 12:00:14 PDT 2008
Jack be more specific:
> I have found another thing.When that happened, if I enable the function of
> SD to mass storage , I can see the "removal device" in the PC side, and
> then
> I disable the function, the "SDMMC" directory was shown in the root of
When what happend? what functions? Do as vishal suggested an enable debug
zones and show us the error (if there are any), otherwise we will keep on
guessing.
Good Luck
Erwin Zwart
"Jack.S" <JackS@discussions.microsoft.com> wrote in message
news:6F141E73-F50C-4ED7-8DCA-59C0300BC98A@microsoft.com...
> Hi,
> Thanks for your help.
> I have found another thing.When that happened, if I enable the function of
> SD to mass storage , I can see the "removal device" in the PC side, and
> then
> I disable the function, the "SDMMC" directory was shown in the root of
> Wince.
> So what is the problem? where should I check it in the codes?
>
> BRs
> Jack
>
>
> "vishal.g.shah@gmail.com" wrote:
>
>> Hi Jack ,
>> Try to enable all debug zones for sdmemory.dll using
>> target ->debugzones or pegasus registry entries and check the debug
>> messages . i guess i might be failing because of incorrect results
>> sent by your Host controller driver for Master Boot Record read
>> request sent by sdmemory.dll.
>>
>>
>>
>>
>> On Jun 18, 4:22 pm, Jack.S <Ja...@discussions.microsoft.com> wrote:
>> > Hi
>> > I have found some things. When the condition happened, I use
>> > regEdit.exe to
>> > check registry content. In the Hkey_Local_Machine\Drivers\Active\... ,
>> > I can
>> > find a index that include the
>> > KEY:\Driver\SDCARD\ClientDrivers\Class\SDMemory....
>> > I think that mean the SD client driver was load successful. Is it
>> > right?
>> > If it is, why the SDMMC directory was not shown in the root?
>> > ( I only insert SD card in the Device repeat and fast about 10 times)
>> >
>> > BR
>> > Jack
>> >
>> >
>> >
>> > "Joel Winarske" wrote:
>> > > Add printing a short string in the interrupt code (not the IST) for
>> > > insert, and one for remove. Then repeat your insert remove test.
>> > > You
>> > > should see the string(s) match your insert/remove sequence without
>> > > being jumbled. If things look jumbled you need to work on your
>> > > debouncing code.
>> >
>> > > Joel
>> >
>> > > On Jun 17, 1:27 am, Jack.S <Ja...@discussions.microsoft.com> wrote:
>> > > > Thanks for your replay.But I have consider debouncing the card
>> > > > present
>> > > > interrupt. Via software and hardware.
>> > > > It is when card insert/remove ,there is a interrupt.
>> > > > And if interrupt is happening ,My ISR will receive a event ,and
>> > > > will take a
>> > > > few seconds(about 1.5 s) for debouncing the card present interrupt.
>> > > > But "Cannt see SDMMC directory" still happen..
>> >
>> > > > "Joel Winarske" wrote:
>> > > > > I take it you are using interrupts for detecting card present?
>> >
>> > > > > If so you should consider debouncing the card present interrupt.
>> > > > > Via
>> > > > > software or hardware.
>> >
>> > > > > Joel
>> >
>> > > > > On Jun 16, 11:08 pm, Jack.S <Ja...@discussions.microsoft.com>
>> > > > > wrote:
>> > > > > > Dear all
>> > > > > > I do some test about SD driver.
>> > > > > > I insert SD card and can see SDMMC directory in the root.
>> > > > > > Then I unplug and plug SD card fast asap and do a continuous
>> > > > > > repeat(unplug
>> > > > > > and plug) about 10 times.
>> > > > > > The SD card is inserted in the device, but cant see SDMMC
>> > > > > > directory.I check
>> > > > > > the log, SD bus driver has loaded SDMemory.dll and process
>> > > > > > "SMC_Init(DWORD
>> > > > > > dwContext)" successful.But I cannt see the SDMMC directory.
>> > > > > > Can someone help how to solve or where to check it?
>> >
>> > > > > > BRs
>> > > > > > Jack- Hide quoted text -
>> >
>> > > > - Show quoted text -- Hide quoted text -
>> >
>> > - Show quoted text -
>>
>>