How to debug the SDIO driver?

Topics: Developer Forum
Jul 9, 2007 at 4:17 AM

I am trying to make the driver work on my Freescale MX21 Windows CE 5.0 platform.
I have no problem to compile the code but when I plug in the AR6k module to my SD slot, nothing show up.
Can anyone suggest what I should look at first? I am not very familar with the SDIO interface. So which entry point should I check? I am sure my SDIO interface working as I plug in other SDIO WiFi module, it has no problem.

Thanks for any suggestion

Jul 9, 2007 at 11:16 PM
Start by checking the errata on the MX21 SD host controller and the host driver. The Mx-21 has some non-SDIO spec compliance issues that need to be handled by work arounds in the host driver.

Jul 10, 2007 at 9:57 AM
Hi Paul,

I now can make the driver loaded but got this error. Do you have any idea what cause this error?

Error: CMiniport::TargetAvailableEventHandler BMIGetTargetId.

Thanks a lot~

Jul 13, 2007 at 7:19 PM
As I noted in the first post, I suspect you may have a bus level communications issue due to the SDIO host controller driver not compensating for certain errata in the MX-21.