Hi All,
We had developed a NDIS Miniport SDIO driver!
I am trying to bring up driver for our device which supports *high speed
mode*.
When reading the *0x13 CCCR* address register *SHS(support high speed
flag)* is set to 0x1, so i want to enable the *EHS(enable high speed)*
by writing 0x02 in the 0x13 CCCR register.
But i am getting *ERROR* status message of
*0xC0000022(STATUS_ACCESS_DENIED).
*Is the 0x13 address register is Read Only??
In SDIO spec I saw that EHS is R/W and SHS is R/O flag!!
I have got another query !
I am unable to set the SDP_BUS_CLOCK property greater than 24MHz.
I am facing an *ERROR* status message of
*0xC000000D(STATUS_INVALID_PARAMETER).
*
Is there any dependency between the *EHS* flag setting and *SDP_BUS_CLOCK.
*I am using SD BUS version of 0x200.*
*
Can any one conclude a solution for this???
-Thanks in Advance
NarayanReddy
When we were working on the SDIO driver (probably 4 years back) we had
problems with block size reading. When we were querying with MS, as part
of their suggestion we had got the following information, check it out
in case it helps you,
sdbus.sys has tried to isolate access to SDIO CCCR and FBR registers.
That is, the function driver is free to use CMD52 and CMD53 read and
write to its own function registers. However, the following restrictions
apply elsewhere:
function zero access for SDIO CMD53:
- read/write is only allowed in the range 0x800-0x20000
- all other access is not allowed
function zero access for SDIO CMD52:
- read/write access is allowed in the range 0xF0-0xFF
- read/write access is allowed in the range 0x800-0x20000
- read/write access to same function’s FBR register
- read/only access to the rest of the CCCR
- attempted access to a different function’s FBR or function
registers is not allowed
–
Regards
Esha
Narayana Reddy P wrote:
Hi All,
We had developed a NDIS Miniport SDIO driver!
I am trying to bring up driver for our device which supports *high
speed mode*.
When reading the *0x13 CCCR* address register *SHS(support high speed
flag)* is set to 0x1, so i want to enable the *EHS(enable high speed)*
by writing 0x02 in the 0x13 CCCR register.
But i am getting *ERROR* status message of
*0xC0000022(STATUS_ACCESS_DENIED).
*Is the 0x13 address register is Read Only??
In SDIO spec I saw that EHS is R/W and SHS is R/O flag!!
I have got another query !
I am unable to set the SDP_BUS_CLOCK property greater than 24MHz.
I am facing an *ERROR* status message of
*0xC000000D(STATUS_INVALID_PARAMETER).
*
Is there any dependency between the *EHS* flag setting and *SDP_BUS_CLOCK.
*I am using SD BUS version of 0x200.*
*
Can any one conclude a solution for this???
-Thanks in Advance
NarayanReddy
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
Hi Esha,
Thanks for your info!!
Have you ever tried by enabling the EHS bit in the CCCR register???
I have updated the fix for SD bus.
Block mode is also working fine but I want to work on the High speed mode.
Can you suggest any solution???
-Thanks
NarayanReddy
Eshanye.K.P wrote:
When we were working on the SDIO driver (probably 4 years back) we had
problems with block size reading. When we were querying with MS, as
part of their suggestion we had got the following information, check
it out in case it helps you,
sdbus.sys has tried to isolate access to SDIO CCCR and FBR registers.
That is, the function driver is free to use CMD52 and CMD53 read and
write to its own function registers. However, the following
restrictions apply elsewhere:
function zero access for SDIO CMD53:
- read/write is only allowed in the range 0x800-0x20000
- all other access is not allowed
function zero access for SDIO CMD52:
- read/write access is allowed in the range 0xF0-0xFF
- read/write access is allowed in the range 0x800-0x20000
- read/write access to same function’s FBR register
- read/only access to the rest of the CCCR
- attempted access to a different function’s FBR or function
registers is not allowed
–
Regards
Esha
Narayana Reddy P wrote:
> Hi All,
> We had developed a NDIS Miniport SDIO driver!
> I am trying to bring up driver for our device which supports *high
> speed mode*.
> When reading the *0x13 CCCR* address register *SHS(support high speed
> flag)* is set to 0x1, so i want to enable the *EHS(enable high
> speed)* by writing 0x02 in the 0x13 CCCR register.
> But i am getting *ERROR* status message of
> *0xC0000022(STATUS_ACCESS_DENIED).
> *Is the 0x13 address register is Read Only??
>
> In SDIO spec I saw that EHS is R/W and SHS is R/O flag!!
>
> I have got another query !
> I am unable to set the SDP_BUS_CLOCK property greater than 24MHz.
> I am facing an *ERROR* status message of
> *0xC000000D(STATUS_INVALID_PARAMETER).
> *
> Is there any dependency between the *EHS* flag setting and
> *SDP_BUS_CLOCK.
>
> *I am using SD BUS version of 0x200.*
> *
> Can any one conclude a solution for this???
>
> -Thanks in Advance
> NarayanReddy
>
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
NarayanReddy,
Enabling the high speed mode on your SDIO device will not help you if the controller does not switch into it either. Last I heard, Vista sdbus.sys supports it for the SD memory cards only so you’re out of luck for the time being.
Regards,
Ilya Faenson
IDI Development, Inc.
Rockville, MD USA
Hi Faenson,
Thanks for your info!!!
xxxxx@hotmail.com wrote:
NarayanReddy,
Enabling the high speed mode on your SDIO device will not help you if the controller does not switch into it either. Last I heard, Vista sdbus.sys supports it for the SD memory cards only so you’re out of luck for the time being.
Regards,
Ilya Faenson
IDI Development, Inc.
Rockville, MD USA
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer