Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Memory Map Start Address
Data Width
Group No.
Module
0x9C003E8032125CARD1
0x9C003F0032126CARD1
0x9C003F8032127CARD1
0x9C00400032128CARD1
0x9C00408032129CARD1
0x9C00840032264CARD4
0x9C00848032265CARD4
0x9C00850032266CARD4
0x9C00858032267CARD4
0x9C00860032268CARD4


CARD1 and CARD4 registers have the same offset in corresponding register group. Only CARD1 registers are described in following register description, for CARD4 please refer to CARD1 description for more detail.

...

Field Name

Bit

Access

Description

Reserved

31:16

RO


Reserved

15:11

RO


dmadst

10:8

RW

DMA Destination Selection
0x0: (default)
0x1: SDRAM
0x2: Flash Memory

others: reserved
Note: when read data from card, user shall select '1'; when write data to card, select '2'

(dmadst 跟 dmasrc 不是一組就好了嗎 ? 互斥的設定)

Reserved

7

RO


dmasrc

6:4

RW

DMA Source Selection
0x0: (default)
0x1: SDRAM
0x2: Flash Memory

others: reserved
Note: when read data from card, user shall select '2'; when write data to card, select '1'

Reserved

3

RO


MediaType

2:0

RW

The Storage Media Type Selection
0x0 : None, low power mode(default)
0x6 : SD memory card (SD/MMC/SDIO)
0x7 : Memory Stick (MS/MSPro Card)

others : reserved

...

Field Name

Bit

Access

Description

Reserved31:16RO
CARD CTL PAGE CNT15:0RO

Page Number that CARD CTL is Reading/Writing Currently
If SDRAM write to Card, it shows that CARD CTL is carrying the page data in CARD CTL PAGE CNT to FMflash memory.
If SDRAM read from Card, it show that CARD CTL is carrying the page data in CARD CTL PAGE CNT from FM
Note: this register can only used in HW DMA mode (如果沒有設定 HW DMA, 那這個 register 就沒有作用的意思嗎 ?)另外, 前面2句的敘述裡面 FM 是什麼 ?flash memory.



118.2 Length of SDRAM Sector 0 (sdram sector 0 size)
Address: 0x9C003B08
Reset: 0x0000 FFFF


...

Field Name

Bit

Access

Description

Reserved

31:0

RO



RGST Table Group 264 CARD4 (Base Address: 0x9C008400, Please refer to CARD1 register offset and description for more detail)

RGST Table Group 265 CARD4 (Base Address: 0x9C008480, Please refer to CARD1 register offset and description for more detail)

RGST Table Group 266 CARD4 (Base Address: 0x9C008500, Please refer to CARD1 register offset and description for more detail)

RGST Table Group 267 CARD4 (Base Address: 0x9C008580, Please refer to CARD1 register offset and description for more detail)

RGST Table Group 268 CARD4 (Base Address: 0x9C008600Please refer to CARD1 register offset and description for more detail)