Wince6.0下面检测到SD卡后串口提示响应超时,但是SD卡可以正常识别和使用,请高手指点如何才能解决响应超时的问题

socvince   2009-6-24 20:17 楼主

我使用的是PXA310平台,SD卡插入插槽后开机,刚开机的一段时间内串口打印的信息提示错误
串口信息如下
[MMC] SDH_INIT, Index:0
[MMC] SDH_INIT, cao:0
[MMC] SDH_INIT, intrTHreadP:100
[MMC] SDH_INIT, IstThreadP:101
[MMC] DMA BUFFER SIZE is :0x10000
[MMC] DMA buffersize :0x10000, descritor count:17
[IPM] Handling IPM_REQUEST_REGISTER
[IPM] Handling IPM_REQUEST_REGISTER, Adding new client
[IPM] Handling IPM_REQUEST_REGISTER, Sending IPM_ACK_MSG msg
[MMC] Controller:0, Notify IPM Ready For Processor state for driver Success!
[MMC] controller:0, slot:0, level:0
[MMC]  0 Card inserted!
[MMC] 0, slot:0, present:0, ProcessCardInsertion()
noERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 0, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x5
t ERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 0, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x5
beERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 0, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x5
[MERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 0, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x5
MC] Optioan handle pData:0xd2a2fdfc
load
ERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 0, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x8
[MERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 0, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x8
MCERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 0, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x8
] ERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 0, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x8
controller:1, slot:0, level:1
ERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 0, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x1
ERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 0, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x1
ERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 0, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x1
ERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 0, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x1
ERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 0, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x37
ERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 0, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x37
[MERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 0, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x37
MCERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 0, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x37
] controller:2, slot:0, level:0
[MMC]  2 Card inserted!
[MMC] 2, slot:0, present:0, ProcessCardInsertion()
COM_Init(MUX0710): FFUART had not been configured for RIL driver, RIL will not be load
[RIL] ***RHA_Init Init Completed!
[RIL]:pfnRHA_Init Completed!
Waiting for interupt thread
***** IMM_APIDLLEntry: Process Attach!
[IMM]: Allocate 0x26000 size of SRAM to PID 0x400002, TID0x41
[CLKMGR dlib] EBOOT Config use USB 2.0 device as KITL
[IPM] Handling IPM_REQUEST_REGISTER
[IPM] Handling IPM_REQUEST_REGISTER, Adding new client
[IPM] Handling IPM_REQUEST_REGISTER, Sending IPM_ACK_MSG msg
[MMC] Optioan handle pData:0xd2b1fdfc
ERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 2, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x5
ERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 2, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x5
ERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 2, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x5
ERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 2, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x5
ERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 2, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x8
ERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 2, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x8
ERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 2, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x8
ERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 2, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x8
ERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 2, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x1
ERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 2, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x1
ERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 2, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x1
ERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 2, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x1
ERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 2, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x37
ERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 2, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x37
ERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 2, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x37
ERROR: E:\WINCE600\PLATFORM\COMMON\SRC\SOC\pxa310_mrvl_v1\SDHC\.\sdcontrol.c line 1876: [MMC]: 2, HandleEndCommandInterrupt+++++++++++++ TIMOUT, coomand :0x37

但是SD卡可以正常识别和读写,请高手指点有什么办法可以解决响应超时的错误

回复评论 (1)

这个需要看代码来分析
点赞  2009-6-24 21:03
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 京公网安备 11010802033920号
    写回复