为什么自己发的帖子回复三次后也不能再回复啦,问题还没解决怎么就不能继续提问了呢?
问题困扰了好久了,只能重新再发一帖了
板子是友善的s3c6410,ce6的
在开发板上插上带wifi功能的SD卡是可以运行的,SD是[HSMMC0]
但是现在我们改板后用的WM_G_MR_09模块,SDIO是[HSMMC1]
我已经将[HSMMC1]的IO口检测时修改为TRUE
BOOL CSDHCSlotBase::IsCardPresent()
{
return TRUE;
}
#define _SRCCLK_48MHZ_
这个宏我没有打开,因为USB时钟还有些问题
请高手们看看为什么最后有这样的错误
ERR CMD:52 : CMD CRC Error...
*** SDIOInitialization FAILED! ***
具体打印信息如下:
[HSMMC1] Initializing the HSMMC Host Controller
[HSMMC1] Turn OFF the F/B delay control.
m_fCommandPolling =-1
SDHCSetRate - Clock Control Reg = 101
SDHCSetRate - Actual clock rate = 24000000,m_fCommandPolling=-1
[HSMMC1] HandleInterrupt!
[HSMMC1] IsCardPresent TRUE!
[HSMMC1] Card is Inserted!
[HSMMC1] Turn OFF the F/B delay control.
m_fCommandPolling =-1
SDHCSetRate - Clock Control Reg = 8001
SDHCSetRate - Actual clock rate = 187500,m_fCommandPolling=-1
EnableSDIOInterrupts (0)
DoEnableSDIOInterrupts (0)
CSDHCSlotBase::SlotOptionHandler: Clock Setting: 100000
[HSMMC1] Setting for 1 bit mode , Clock Rate = 100000 Hz
[HSMMC1] Turn OFF the F/B delay control.
m_fCommandPolling =-1
SDHCSetRate - Clock Control Reg = 8001
SDHCSetRate - Actual clock rate = 187500,m_fCommandPolling=-1
CMD:5
CommandResponse.ResponseType:5
Sending command register 0x0502
Sending command Argument 0x00000000
PollingForCommandComplete (0) - Normal Interrupt_Status=0x01
pdwResponseBuffer :0x90ff8000
INIT - Enter DriverEntry
*** Driver version 38.p47 ***
*** Built on Sep 26 2012 09:46:21 ***
<== DriverEntry: register miniport success
CMD:5
CommandResponse.ResponseType:5
Sending command register 0x0502
Sending command Argument 0x40100000
PollingForCommandComplete (0) - Normal Interrupt_Status=0x01
pdwResponseBuffer :0x90100000
CMD:3
CommandResponse.ResponseType:7
Sending command register 0x031A
Sending command Argument 0x00000000
PollingForCommandComplete (0) - Normal Interrupt_Status=0x01
pdwResponseBuffer :0x11e00
CMD:7
CommandResponse.ResponseType:2
Sending command register 0x071B
Sending command Argument 0x00010000
PollingForCommandComplete (0) - Normal Interrupt_Status=0x01
pdwResponseBuffer :0x0
CMD:52
CommandResponse.ResponseType:6
Sending command register 0x341A
Sending command Argument 0x88000E80
PollingForCommandComplete (0) - Normal Interrupt_Status=0x01
pdwResponseBuffer :0x1080
。。。。。。。 省略中间好多CMD52的命令
CMD:52
CommandResponse.ResponseType:6
Sending command register 0x341A