EMMC Registers: Difference between revisions

Thog (talk | contribs)
m Fix sample code URL (https://github.com/devkitPro/libnds/commit/ae04ca0e0e682739bb142df3d7c213d07b1e507d)
ElementW (talk | contribs)
Add EMMC_PORTSEL
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
These registers are used to access the system [[Flash_Filesystem|NAND]] and the inserted SD card. Both devices use the same interface.
These registers are used to access the system [[Flash_Filesystem|NAND]] and the inserted SD card. Both devices use the same interface. HCLK of the SDMMC controller is 67.027964 MHz (double of the DSi HCLK).


=Registers=
=Registers=
Line 17: Line 17:
|-
|-
| style="background: green" | Yes
| style="background: green" | Yes
| ?
| EMMC_PORTSEL
| 0x10006002
| 0x10006002
| 2
| 2
|
| Port selection, 0 = SD card, 1 = NAND
|-
|-
| style="background: green" | Yes
| style="background: green" | Yes
Line 53: Line 53:
|-
|-
| style="background: green" | Yes
| style="background: green" | Yes
| EMMC_STATUS0
| [[#EMMC_STATUS0|EMMC_STATUS0]]
| 0x1000601c
| 0x1000601c
| 2
| 2