阅读:4830回复:4
Wince5.0 加SDIO WIFI驱动
平台是WINCE5.0,CPU为i.MX27,底层驱动支持sd memory card和sdio,现在使用marwell的sdio WIFI网卡,供应商提供了wince5.0的驱动,但是WIFI网卡插进去后,底层驱动跑到半路就停下来了,下面是debug信息:
SDCardDetectIstThread:wait int finish BspSdhcIsCardPresent:sd card 1 inserd! SDCardDetectIstThread:card exist BspSdhcCardDetectInterruptType: sd1 rising edge! SDCardDetectIstThread:wait int... SDCardDetectIstThread:wait int finish BspSdhcIsCardPresent:sd card 1 inserd! SDCardDetectIstThread:card exist BspSdhcCardDetectInterruptType: sd1 rising edge! SDCardDetectIstThread:wait int... IST: STATUS 0x30000000 INT_CNT 0x00000000 SDControllerIstThread: Device present 1 + ProcessCardInsertion: Device Fully Inserted! + ProcessCardInsertion: Device Fully Inserted! SetClock: START! - ProcessCardInsertion()- Wait For Interrupt ... IST: STATUS 0x30000100 INT_CNT 0x00000000 Wait For Interrupt ... SetClock: START! SDCardDetectIstThread:wait int finish BspSdhcIsCardPresent:sd card 1 not inserd! SDCardDetectIstThread:card not exist BspSdhcCardDetectInterruptType: sd1 falling edge! SDCardDetectIstThread:wait int... SDCardDetectIstThread:wait int finish BspSdhcIsCardPresent:sd card 1 not inserd! SDCardDetectIstThread:card not exist BspSdhcCardDetectInterruptType: sd1 falling edge! SDCardDetectIstThread:wait int... IST: STATUS 0x30000100 INT_CNT 0x00000000 SDControllerIstThread: Device present 0 + ProcessCardRemoval: Card Removal Detected! + ProcessCardRemoval: Card Removal Detected! SetClock: STOP! SDInitialize: Controller 1 +SoftwareReset BSPGetSDHCCLK:GpioAlloc freq=44333333 SetRate()+ SDSetRate - Requested Rate: 19000000, Setting clock rate to 14777777 SDSetRate - clk_div 2, prescaler 0 SDSetRate - Requested Rate: 19000000, Setting clock rate to 14777777 SDSetRate - clk_div 2, prescaler 0 SetRate()- -SoftwareReset - ProcessCardRemoval()- Wait For Interrupt ... IST: STATUS 0x30000000 INT_CNT 0x00000000 Wait For Interrupt ... SDHSlotOptionHandler - called - SetSlotInterface : Clock Setting: 100000 SDHSlotOptionHandler - called - SetSlotInterface : setting for 1 bit mode SetClock: STOP! BSPGetSDHCCLK:GpioAlloc freq=44333333 SetRate()+ SDSetRate - Requested Rate: 100000, Setting clock rate to 98958 SDSetRate - clk_div 6, prescaler 32 SDSetRate - Requested Rate: 100000, Setting clock rate to 98958 SDSetRate - clk_div 6, prescaler 32 SetRate()- 做过sdio wifi驱动的兄弟帮忙看看是什么原因 |
|
沙发#
发布于:2008-06-23 11:08
我用的也是marwell sdio8686,bsp包的供应商说是支持SDIO的,但是插进sdio wifi卡后底层驱动都没跑过去,一直停在那个地方???
|
|