imx51_sd8686_wince 6 RRS feed

  • Question

  • Hi all,

    how I can check the sd data bus is enabled (I mean on) or not?

    why I need is while using  SDSynchronousBusRequest function I am getting return value as a garbage number.

    So I am assuming that the sd data bus is not working properly or its in some other state.

    Please let me know how I can find out the failure reason?



    Wednesday, July 17, 2013 9:08 AM

All replies

  • Did you checked SD handle status using the macro below:


    And what is the return value of this ?

    Did you tried using GetLastError(); after you got the error ...

    --- Misbah

    Senior Design Engineer T.E.S Electroni Solutions (Bangalore-India)

    Sunday, July 21, 2013 9:37 PM
  • Hi Misbah,

    Thank you for your response.

    SD_API_SUCCESS(sdStatus) is failure.

    GetLastError() returning 0.

    Actually if I put some sleep around 100 microseconds before SDSynchronousBusRequest function , its working fine.

    So how I can solve this without any sleep.I mean I need to make sure that the SD bus is enabled.



    Monday, July 22, 2013 7:23 AM