How to bring back the sdio card to command state after soft resetin XP SP2 OS ?

E

Eshanye_kp

Has anyone tried 'soft reset' of the SDIO cards on XP SP2 ?
When i send the cmd52 to the card for soft reset (reg - with the
value-) the card goes to the 'initialization state' and to go to the
command state it requires the CMD3, CMD5 or CMD15... how do i make the
sdbus driver give this command ? Being a functional driver, i can give
only CMD52 and CMD53... i tried doing the SdBus initialization after
giving the soft reset to the card but this does not make the busdriver
to send the required command to the card (in fact the bus driver does
not send any command when initialized)... so i think the pnp manager
should be doing something so that the bus driver sends these commands...
if i disable and enable the card from the device manager, the driver
gets unloaded and then the entire process starts again which is not
correct when the soft reset is done on the card...

Please let me know if there is any way out to achieve the soft reset...

-Esha
 
N

nagu

Eshanye_kp said:
I went through both the KAMDF (mars.c) as well as WDK samples... but i
found a sample txt about sdio driver in WDK 5308 !!! I could bring up
the sdio driver doing exactly (inf + C code) what the sdtoast.txt
suggests....
-Esha

Hi Esha
How is ur SDIO WLAN driver working
We have now completed our winxp driver upto CMD 53 Byte
mode successfully
Block mode is failing .(WINXP Bus Driver fault it seems)but the problem
now is on Interrupt handling actually on an Interrupt we were able to
proceed into Interrupt Handler but when we try to issue CMD 52 there we
are getting a status STATUS_DELETE_PENDING we also need some help for
Interrupt aknowledge routine


regards
Nake
 
Joined
Apr 6, 2011
Messages
1
Reaction score
0
Hi Esha,
How did you solve this problem?

Has anyone tried 'soft reset' of the SDIO cards on XP SP2 ?
When i send the cmd52 to the card for soft reset (reg - with the
value-) the card goes to the 'initialization state' and to go to the
command state it requires the CMD3, CMD5 or CMD15... how do i make the
sdbus driver give this command ? Being a functional driver, i can give
only CMD52 and CMD53... i tried doing the SdBus initialization after
giving the soft reset to the card but this does not make the busdriver
to send the required command to the card (in fact the bus driver does
not send any command when initialized)... so i think the pnp manager
should be doing something so that the bus driver sends these commands...
if i disable and enable the card from the device manager, the driver
gets unloaded and then the entire process starts again which is not
correct when the soft reset is done on the card...

Please let me know if there is any way out to achieve the soft reset...

-Esha
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top