This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

插入sd卡,就输出下面这两行信息?请问怎么解决这个sd驱动的问题呢?

sd不能识别出来,热插拔时一插上就输出这两句信息,插上sd卡再上电启动也是一样的启动信息中就输出这两句信息?

[ 26.403903] omap_hsmmc omap_hsmmc.0: mmc0: omap_request_dma() failed with -16
[ 26.411401] mmc0: error -16 whilst initialising SD card

请问怎么解决这个问题呢?

  • 请问用的是哪款器件?是自己的板子还是EVM板?什么版本的SDK?

  • am335x的主控, 板子是自己的,sdk版本我这查到的是 ti-sdk-am335x-evm-06.00.00.00 

    追踪代码发现 是在下面过程中返回-16这个错误码的

    mmc_sd_init_card

           mmc_sd_setup_card()

               mmc_app_send_scr()

                    mmc_wait_for_req(card->host, &mrq);

                    if (cmd.error)

                        return cmd.error;      就是在这一步返回错误码 -16 的!

    很是困扰,这下软件上面完全没有思路,有点怀疑是硬件上的原因,请教你们可以指点一下吗?