|
Hardware /
Card Registers
|
MenuGetting StartedSystem Information
Misc |
By comparison with the ARM7, some of the writable bits may select bus speed or 8/16 bit mode. Fixme: test this (write-and-stick bits = 00ffe043). CARD_SPI_DATA (
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| bit | mode | name | description |
| 15..8 | W? | ? | ? |
| 7..0 | R/W | SPI data | * |
* A read returns the last value transferred in, while a write starts a transfer cycle.
For more information, see the SPI page for more information on SPI bus transfers, and Chips for information on some of the save memories used on DS cards.
0x040001A4:32)| bit | name | description | |
| 31 | R/W | enable/start | |
| 30 | R/W | is command | is this a send command or a read? |
| 29 | R/W | reset | controls the status of the reset line? |
| 28 | R/W | ? | set after setting the encrypt registers |
| 27 | R/W | ? | |
| 26..24 | R/W | datablock count | used for reading multiple of 512 bytes. 7=invalid |
| 23 | R | data ready | err, in one place it reads from one reg, and in the other, another |
| 22 | R/W | ? | |
| 21..16 | R/W | length of some sort | |
| 15 | W | ? | set after setting encrypt registers, elsewhere |
| 14 | R/W | encrypt | 1=encrypt this command, 0=nah, send it plaintext |
| 13 | R/W | ? | only used on the binary transfers (10,20,A0,40,60) |
| 12..0 | R/W | Data transfer size | (does not count size of command itself) |
ff7f7fff
0x040001B0..1BB)Write-only These are encrypt registers, they control the internal encryptor/decryptor, versus the 3C command which tells the card to set its encryptor/decryptor.
Command registers
Both sets of write-only registers read as 00's.
| Recent Changes (All) | Edit SideBar |
|
Edit Page | Page History |
|
Everything done on this project is for the sole purpose of writing interoperable software under Sect. 1201 (f) Reverse Engineering exception of the DMCA. This site is not affiliated with Nintendo in any manner. Nintendo DS © 2004 Nintendo. TM and ® are trademarks of Nintendo. Powered by PmWiki |
||