background image

3

6320B–ATARM–05-Nov-07

Application Note

Figure 3-1.

 Small Page 8-bit Device Organization

Figure 3-2.

Small Page 16-bit Device Organization 

Figure 3-3.

Large Page 8-bit Device Organization

Figure 3-4.

Large Page 16-bit Device Organization

Abbreviations as used in 

Figure 3-1

 through 

Figure 3-4

 above

LSN0

LSN1

LSN2

Reserved Reserved

Reserved Reserved Reserved Reserved Reserved

BI

ECC0

ECC1

ECC2

S-ECC0 S-ECC1

Cell Array
512 Bytes

SpareCell Array

16 Bytes

1

st

B

2

nd

B

3

rd

B

4

th

B

5

th

B

6

th

B

7

th

B

8

th

B

9

th

B

10

th

B

11

th

B

12

th

B

13

th

B

14

th

B

15

th

B

16

th

B

LSN0

LSN1

LSN2

B1

ECCa

ECCb

ECCc

S-ECCa S-ECCb

LSB

MSB

LSB

MSB

LSB

MSB

LSB

MSB

LSB

MSB

LSB

MSB

LSB

MSB

LSB

MSB

Cell Array

256 Half Words

SpareCell Array

8 Half Words

Reserved Reserved Reserved

Reserved Reserved Reserved Reserved

1

st

Half Word

2

nd

Half Word

3

rd

Half Word

4

th

Half Word

5

th

Half Word

6

th

Half Word

7

th

Half Word

8

th

Half Word

BI

LSN1

LSN0

LSN2

Reserved

Reserved

Reserved

Reserved

Reserved

Reserved Reserved

ECC0

ECC1

ECC2

S-ECC0 S-ECC1

Cell Array
512 Bytes

Cell Array
512 Bytes

Cell Array
512 Bytes

Cell Array
512 Bytes

Spare Cell

Area

16 Bytes

Spare Cell

Area

16 Bytes

Spare Cell

Area

16 Bytes

Spare Cell

Area

16 Bytes

1

st

B

2

nd

B

3

rd

B

4

th

B

5

th

B

6

th

B

7

th

B

8

th

B

9

th

B

10

th

B

11

th

B

12

th

B

13

th

B

14

th

B

15

th

B

16

th

B

BI

BI

LSN0

S-ECC0

ReservedReserved ECC0

ECC1

ECC2

LSB

MSB

LSB

MSB

LSB

MSB

LSB

MSB

LSB

MSB

LSB

MSB

LSB

MSB

LSB

MSB

LSN1

LSN2

Reserved

S-ECC1 Reserved Reserved Reserved

Cell Array

256 

Half Words

Cell Array

256 

Half Words

Cell Array

256 

Half Words

Cell Array

256 

Half Words

Spare Cell

Area

Half Words

Spare Cell

Area

Half Words

Spare Cell

Area

Half Words

Spare Cell

Area

Half Words

1

st

Half Word

2

nd

Half Word

3

rd

Half Word

4

th

Half Word

5

th

Half Word

6

th

Half Word

7

th

Half Word

8

th

Half Word

• BI

Invalid block information

• ECC

ECC code for Cell Array data

• S-ECC

ECC code for LSN data

• HW

Half Word

• LSN

Logical sector number

Summary of Contents for AT91 ARM Series

Page 1: ...of bad blocks does not affect the good ones because each block is indepen dent and individually isolated from the bit lines by block select transistors Because NAND Flash devices have a finite lifetim...

Page 2: ...in Section 2 1 Internal Array Architecture NAND flash devices contain a certain percentage of invalid blocks at the end of the production process Invalid blocks are defined as blocks that contain one...

Page 3: ...Half Word 7thHalf Word 8thHalf Word BI LSN1 LSN0 LSN2 Reserved Reserved Reserved Reserved Reserved Reserved Reserved ECC0 ECC1 ECC2 S ECC0 S ECC1 Cell Array 512 Bytes Cell Array 512 Bytes Cell Array 5...

Page 4: ...8 bit devices or sixth half word 16 bit devices in the spare area of Small Page devices Manufacturers make sure that every invalid block has non FFh 8 bit devices or non FFFFh 16 bit devices data in...

Page 5: ...e bit correction per 512 1024 2048 4096 8 or 16 bit words Of the 32 ECC bits 26 bits are for line parity and 6 bits are for column parity They are generated according to the schemes shown in Figure 4...

Page 6: ...ARM 05 Nov 07 Application Note Figure 4 2 Parity Generation for 512 1024 2048 4096 16 bit Words 1st word 2nd word 3rd word 4th word Page size 3 th word Page size 2 th word Page size 1 th word Page siz...

Page 7: ...vice type is performed to NAND Flash or the SmartMedia device The ECC is refreshed at each write access of the page until the last byte or half word of the main area is written Once the whole main are...

Page 8: ...CLE 0 the ECC controller ignores any other command which is performed to the NAND Flash or the SmartMedia device The ECC controller performs error detection automatically by applying an XOR operation...

Page 9: ...d Sequence without Random Read Spare Area Main Area Size I Ox Address Read Command 1 Read Command 2 Address Cycles ECC Controller Reset Data Accesses Main Area Read Accesses Accesses allowing ECC calc...

Page 10: ...ytes ECC for 512 bytes of data per page The AT91SAM ECC controller manages ECC as 4 bytes ECC for 512 1024 2048 4096 bytes of data per page Since the ECC offset in the spare area and the number of ECC...

Page 11: ...05 Nov 07 Application Note 7 Revision History Doc Rev Comments Change Request Ref 6320A First issue 6320B Figure 4 3 and Figure 4 4 updated Section 3 2 Spare Area Assignment updated sentence refering...

Page 12: ...ELATING TO ITS PRODUCTS INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTY OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE OR NON INFRINGEMENT IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT INDIR...

Reviews: