PC Review


Reply
Thread Tools Rate Thread

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

 
 
Eshanye_kp
Guest
Posts: n/a
 
      29th Jun 2006
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
 
Reply With Quote
 
 
 
 
nagu
Guest
Posts: n/a
 
      28th Jul 2006

Eshanye_kp wrote:
> 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
>
> babu wrote:
>
> > Eshanye_kp wrote:
> >
> >>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

> >
> > Hi Esha
> > Since , I have worked in winCE SDIO client drivers previously, we can
> > change the source code for bus driver and Host controller source code
> > against the hardware set. Bus width , DMA and some features can be
> > modified in winCE, but in WinXP the source code is not open and after
> > cmd 52 reset it will follow the initialising sequence issued by the bus
> > driver, so u cannot alter that sequence .
> > Now I have started developing winxp sdio functional driver I am
> > unable to load the driver successfully
> > Iam also unable to view debug messages in any of the debugging
> > application (Debugview,windbg(local mode),
> > Debugmon,Debugmonitor(supplied with WDM book by chris cant) .
> > As referenced by many Iam using KMDF framework sample (Mars.c)obtained
> > from WDK Microsoft
> > Do I need to follow WDM or KMDF
> > Can u please help me on the above
> >
> > Thanking you
> > regards
> > Nake
> >


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

 
Reply With Quote
 
New Member
Join Date: Apr 2011
Posts: 1
 
      6th Apr 2011
Hi Esha,
How did you solve this problem?

Quote:
Originally Posted by Eshanye_kp View Post
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How effective is System Restore to bring XP Pro back to a newlyinstalled state without reinstalling? Doc Windows XP Basics 13 8th Feb 2011 12:24 PM
How effective is System Restore to bring XP Pro back to a newlyinstalled state without reinstalling? Doc Windows XP General 13 8th Feb 2011 12:24 PM
How effective is System Restore to bring XP Pro back to a newlyinstalled state without reinstalling? Doc Windows XP Help 8 4th Feb 2011 10:30 AM
How effective is System Restore to bring XP Pro back to a newlyinstalled state without reinstalling? Doc Windows XP Setup 8 4th Feb 2011 10:30 AM
Restoring System State did not bring back Sysvol =?Utf-8?B?Um9kcmlnbyBHYXJjb25l?= Microsoft Windows 2000 3 29th Sep 2004 03:45 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:18 PM.