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
请问怎么解决这个问题呢?
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.
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 的!
很是困扰,这下软件上面完全没有思路,有点怀疑是硬件上的原因,请教你们可以指点一下吗?