You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DSi SD card init hangs forever on ACMD51 (GET_SCR) with some cards #8
sdmmcCardInit never returns for my SanDisk Extreme 16 GB SDHC UHS-I. this could affect other sd cards too.
How can the issue be reproduced?
launching ftpd v3.2.1 in a nintendo dsi xl in dsi mode, built against calico 1.0.0, using the SanDisk Extreme 16 GB SDHC UHS-I. you will encounter a white screen. using another sd card with identical contents fixes this
every command up to and including ACMD6 succeeds and then the ACMD51 (GET_SCR) transaction just doesn't complete. i ran some tests on a custom ARM7 and may PR later if I can find a fix
Evidence
tested the command sequence in source/dev/sdmmc.c and recorded each tmioTransact call in shared RAM, which the ARM9 prints:
Activity