Luma3ds: Freezes pre-backlight init when SD card is write locked

Created on 8 Apr 2016  路  4Comments  路  Source: LumaTeam/Luma3DS

If your SD card is write locked via the slide switch, AuReiNand doesn't present any kind of notice when trying (and failing) to boot an emuNAND. It would be nice if AuReiNand could detect this as an error condition and notify the user instead.

enhancement fixed / accepted

Most helpful comment

bool isSDCardWriteProtected = (*(vu16*)(SDMMC_BASE + REG_SDSTATUS0) & TMIO_STAT0_WRPROTECT) == 0

for the detection part

All 4 comments

bool isSDCardWriteProtected = (*(vu16*)(SDMMC_BASE + REG_SDSTATUS0) & TMIO_STAT0_WRPROTECT) == 0

for the detection part

FWIW, this is a non-issue after switching to a newer build of A9LH that can boot without the SD card.

For anyone else who's looking for a fix for this, I'm using this build of Aurora's A9LH.

Also, the SD write-protect is only enforced by software, not by hardware. I haven't found the patch for it though.

A warning message about this will be implemented. Thank you for reporting.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Azure-Agst picture Azure-Agst  路  3Comments

simonrule picture simonrule  路  3Comments

DarkPulse picture DarkPulse  路  3Comments

DartRuffian picture DartRuffian  路  3Comments

Masamune3210 picture Masamune3210  路  4Comments