Chapter 18 NAND Flash Memory Controller
18-4
(3) Read ECC data
•
NDFMCR (0xC004): Set 0x50 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
(4) Compare ECC data and run the error routine if error occurs by Software.
(5) Read
other
pages
•
NDFMCR (0xC004): Set 0x10.
•
NDFSR (0xC008):
Check BUSY flag. If it’s zero, go to the next. If it’s one, wait till
it will become zero.
•
Continue from (1) to (4) but (2-1) to (2-5) can be skipped when Sequential Read.
18.3.1.4 ID Read
The ID read sequence is below.
(1) NDFMCR (0xC004): Set 0x11 to assert ND_CLE* signal and do the command mode.
(2) NDFDTR (0xC000): Set 0x90 to write the ID Read command.
(3) NDFMCR (0xC004): Set 0x12 to assert ND_ALE* signal and do the address mode.
(4) NDFDTR (0xC000): Set 0x00.
(5) NDFMCR (0xC004): Set 0x10 to do the data mode without ECC calculation.
(6) NDFDTR (0xC000): Read Maker Code.
(7) NDFDTR (0xC000): Read Device Code.
18.3.2 ECC
Control
NDFMC has the ECC calculating circuits. The circuits are controlled by NDFMCR. The Software
compares the ECC data and checks if error or not.
The calculated ECC data can be read from NDFDTR register when NDFMCR is 0xD0 (Write mode)
or 0x50 (Read mode). It is six bytes and six read operations for NDFDTR are needed. The order of the
data is following as.
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
Summary of Contents for TMPR4925
Page 1: ...64 Bit TX System RISC TX49 Family TMPR4925 Rev 3 0 ...
Page 4: ......
Page 15: ...Handling Precautions ...
Page 16: ......
Page 18: ...1 Using Toshiba Semiconductors Safely 1 2 ...
Page 40: ...3 General Safety Precautions and Usage Considerations 3 18 ...
Page 42: ...4 Precautions and Usage Considerations 4 2 ...
Page 43: ...TMPR4925 ...
Page 44: ......
Page 54: ...Chapter 1 Features 1 8 ...
Page 58: ...Chapter 2 Block Diagram 2 4 ...
Page 88: ...Chapter 4 Address Mapping 4 12 ...
Page 226: ...Chapter 8 DMA Controller 8 58 ...
Page 260: ...Chapter 9 SDRAM Controller 9 34 ...
Page 480: ...Chapter 15 Interrupt Controller 15 32 ...
Page 554: ...Chapter 19 Real Time Clock RTC 19 8 ...
Page 555: ...Chapter 20 Removed 20 1 20 Removed ...
Page 556: ...Chapter 20 Removed 20 2 ...
Page 564: ...Chapter 21 Extended EJTAG Interface 21 8 ...
Page 580: ...Chapter 22 Electrical Characteristics 22 16 ...
Page 588: ...Chapter 24 Usage Notes 24 2 ...