Skip to content
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

SDcard driver fail to initialize #121

Open
akaganeite opened this issue Nov 13, 2024 · 0 comments
Open

SDcard driver fail to initialize #121

akaganeite opened this issue Nov 13, 2024 · 0 comments

Comments

@akaganeite
Copy link

hi, im running a rust version of your SDcard driver(sd.c) code on raspiberry pi 3b +. But failed in sd.c, line 329
sd_cmd(CMD_SEND_SCR,0); if(sd_err) return sd_err; if(sd_int(INT_READ_RDY)) return SD_TIMEOUT;
the sd_int reads the interrupt flags. The flags read by sd_int(INT_READ_RDY) is 0x208000,which indicates DCRC_ERR according to the bcm-2835 manual.
I was wondering if you could give me some advice on how to solve or identify the source of this initialization failure.
截屏2024-11-13 17 04 33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant