我们现在用的是marvell 88w8686驱动,开发板上插上带wifi功能的SD卡是可以运行的
但是现在我们改版后用的WM_G_MR_09模块,不知道怎么将SD卡wifi的检测跟这个模块相对应起来
打印信息中看不到任何有关NDIS驱动的信息
我已经强制将IO口检测时修改为TRUE
BOOL CSDHCSlotBase::IsCardPresent()
{
return TRUE;
}
但是中断那边不知道怎么处理!也不知道下一步要怎么做,请高手指教!多谢!
打印信息是这样的
[HSMMC1] Initializing the HSMMC Host Controller
[HSMMC1] Turn OFF the F/B delay control.
[HSMMC1] Card Insertion or Removal Detect!!
[HSMMC1] IsCardPresent TRUE!
[HSMMC1] Card is Inserted!
[HSMMC1] Turn OFF the F/B delay control.
[HSMMC1] DoEnableSDIOInterrupts fEnable = 0
[HSMMC1] Setting for 1 bit mode , Clock Rate = 100000 Hz
[HSMMC1] Turn OFF the F/B delay control.
CMD:5
ERR CMD:5 : If the card is not a SDIO, CMD 5 does not work in reason.
SubmitBusRequestHandler status:1
[HSMMC1] ReadControllerInterrupts dwIntStatus = 0
CMD:0
SubmitBusRequestHandler status:1
CMD:8
ERR CMD:8 : If the card is not SD SPEC 2.0, CMD 8 does not work in reason.
SubmitBusRequestHandler status:1
[HSMMC1] ReadControllerInterrupts dwIntStatus = 0
CMD:1
ERR CMD:1 : If the card is not a MMC, CMD 1 does not work in reason.
SubmitBusRequestHandler status:1
[HSMMC1] ReadControllerInterrupts dwIntStatus = 0
CMD:55
ERR CMD:55 : [HSMMC1] CMD Timeout Error...
SubmitBusRequestHandler status:1
[HSMMC1] ReadControllerInterrupts dwIntStatus = 0
------解决方案--------------------
怎么没有人回复啊!
我现在已经解决了ERR的问题,把PDn悬空就可以了
但是还是跟SDIO_WIFI沟通不起来,wifi芯片还是没有反应,驱动下载方式是修改为SDIO的啊
不知道下一步要怎么修改,请高手指教!
------解决方案--------------------
现在的打印信息是这样的,前面这些命令都返回正确,请帮忙分析下!
CMD:5
CMD:5
CMD:3
CMD:7
CMD:52
CMD:52
CMD:52
CMD:52
CMD:52
pRequest->CommandResponse.ResponseType = 6
CMD:52
pRequest->CommandResponse.ResponseType = 6
CMD:52
pRequest->CommandResponse.ResponseType = 6
[HSMMC1] Setting for 4 bit mode , Clock Rate = 25000000 Hz
[HSMMC1] Turn OFF the F/B delay control.
SDNDISLDR: +NDL_Init
SDNDISLDR: -NDL_Init
+LoadMiniport
SDNDISLDR: Tokenizing instance information: SDIO8686:SDIO86861
SDNDISLDR: Miniport instance path \Comm\SDIO86861\Parms
SDNDISLDR: Storing ActiveKey Path Drivers\Active\21
SDNDISLDR: pInstance->MiniportName = SDIO8686 pInstance->MiniportInstance = SDIO86861
CMD:52
pRequest->CommandResponse.ResponseType = 6
ERR CMD:52 : CMD CRC Error...
CMD:52
pRequest->CommandResponse.ResponseType = 6
ERR CMD:52 : CMD CRC Error...
SDNDISLDR: NdisRegisterAdapter NDIS_SUCCESS(NdisStatus) return fail NdisStatus = -1073741823