Chapter 18 NAND Flash Memory Controller
18-2
18.3 Detailed
Explanation
18.3.1 Access to NAND Flash Memory
The TX4925 NDFMC supports the interface between the NAND Flash Memory using register
indirect sequence. It has the ECC calculating circuits. Please see 18.3.2 in detail of the ECC. This
section describes the procedure to access to NAND Flash Memory.
Basically, set the command in NDFMCR at first and then read or write in NDFDTR. The read cycle
for NDFDTR is finished after the external read cycle for the NAND Flash Memory is finished. Equally,
the write cycle for NDFDTR is finished after the external write cycle for the NAND Flash Memory is
finished.
To connect external NAND flash memory using bus separate (refer to Figure 18.6.1), set
NDFMCR.BSPRT (Bus Separate bit) and assert the BUSSPRT* signal.
18.3.1.1 Initialize
The initialize sequence is below.
(1) NDFSPR (0xC014): Set the Low pulse width.
(2) NDFIMR (0xC010): Set 0x81 if need enable interrupt.
18.3.1.2 Write
The write sequence is below.
(1) NDFMCR (0xC004):
Set 0x70 to reset ECC data.
(2) NDFMC hasn’t WP* signal. It must be high using other logic for example PIO.
(3) Write
512
bytes
•
NDFMCR (0xC004): Set 0x91 to assert ND_CLE* signal and do the command mode.
•
NDFDTR (0xC000): Set 0x80 to write the Serial Data Input command.
•
NDFMCR (0xC004): Set 0x92 to assert ND_ALE* signal and do the address mode.
•
NDFDTR (0xC000): Set A[7:0], A[16:9], and A[24:17]. If need, set A[25].
Note: It does not set A[8].
•
NDFMCR (0xC004): Set 0xb0 to do the data mode.
•
NDFDTR (0xC000): Write 512 bytes data.
(4) Read ECC data
•
NDFMCR (0xC004): Set 0xd0 to do the ECC data read mode.
•
NDFDTR (0xC000): Read 6 bytes ECC data.
First
data:
LPR[7:0]
Second
data: LPR[15:8]
Third data:
CPR[5:0], 2’b11
Fourth
data: LPR[23:16]
Fifth
data:
LPR[31:24]
Sixth data:
CPR[11:6], 2’b11
Содержание TMPR4925
Страница 1: ...64 Bit TX System RISC TX49 Family TMPR4925 Rev 3 0 ...
Страница 4: ......
Страница 15: ...Handling Precautions ...
Страница 16: ......
Страница 18: ...1 Using Toshiba Semiconductors Safely 1 2 ...
Страница 40: ...3 General Safety Precautions and Usage Considerations 3 18 ...
Страница 42: ...4 Precautions and Usage Considerations 4 2 ...
Страница 43: ...TMPR4925 ...
Страница 44: ......
Страница 54: ...Chapter 1 Features 1 8 ...
Страница 58: ...Chapter 2 Block Diagram 2 4 ...
Страница 88: ...Chapter 4 Address Mapping 4 12 ...
Страница 226: ...Chapter 8 DMA Controller 8 58 ...
Страница 260: ...Chapter 9 SDRAM Controller 9 34 ...
Страница 480: ...Chapter 15 Interrupt Controller 15 32 ...
Страница 554: ...Chapter 19 Real Time Clock RTC 19 8 ...
Страница 555: ...Chapter 20 Removed 20 1 20 Removed ...
Страница 556: ...Chapter 20 Removed 20 2 ...
Страница 564: ...Chapter 21 Extended EJTAG Interface 21 8 ...
Страница 580: ...Chapter 22 Electrical Characteristics 22 16 ...
Страница 586: ...Chapter 23 Pin Layout Package 23 6 23 2 Package Package Type Package Code 256 pin PBGA PBGA 4L P BGA256 2727 1 27A4 ...
Страница 588: ...Chapter 24 Usage Notes 24 2 ...
Страница 590: ...Appendix A TX49 H2 Core Supplement A 2 ...