-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SDMMC CMD17 fails due to ACMD error #68
Comments
Hi. As you've found out already, the Auto CMD error probably occurs further to the preceding command, either SET_BLOCK_COUNT+READ_MULTIPLE_BLOCK or SET_BLOCK_COUNT+WRITE_MULTIPLE_BLOCK. |
I think it is fine to close this one, as I have not been able to reproduce since then :) |
My system has a eMMC, with a FAT filesystem on top with a 512 cluster size. I'm encountering the error below ocasionally when trying to open files (f_open in FatFs):
ERR_NO_RESPONSE translates to Auto CMD Timeout according to the flags the code checks. The eMMC supports block count so I assume that the command fails due to a previous Auto CMD 23 rather than Auto CMD 12, I am still diagnosing why this might occur and I wanted to raise the issue here as it seems weird to me that the log mentions that CMD17 fails with Auto CMD error, looks like it is not synchronized to me as CMD17 is a Single Block Read operation which should not need of any CMD23 or CMD12?
I am using polling mode in the library, let me know your thoughts.
Thanks.
The text was updated successfully, but these errors were encountered: