Page 1 of 1

reading header from R4ds microSD card

Posted: Wed Apr 29, 2009 4:16 pm
by joemartyniuk
I have an R4ds with Kingston 2gb microSD. When I read microSD card reader in usb port on pc, in dos, e-drive, type in dir, I get a volume serial number and list of nds files on that card. I can type in label to add a label. I used Eeprom.nds to try to access that information but example works up to re-install card. Re-install does not work. Was header immediately over written? If so, or not, how can I read sector info from the microSD once NDS has started up? Devkitarm .h files provide lots of info. (2 gb card isn't in list of cards) But my attempts to figure out a solution have failed. Thanks. Joe

Re: reading header from R4ds microSD card

Posted: Thu May 28, 2009 6:16 pm
by joemartyniuk
does anyone know if memory card access uses spi mode or native mode?

Re: reading header from R4ds microSD card

Posted: Mon Jun 29, 2009 10:32 pm
by m4c0
Based on my experiences with NDS card commands, I guess you cannot read that ID from "usual" NDS commands. I guess EEPROM refers to "save games". Maybe the DLDI interface solves your problem: it is used by libfat to read the FAT from the microSD card.