![Atmel AT91SAM9 Application Note Download Page 14](http://html1.mh-extra.com/html/atmel/at91sam9/at91sam9_application-note_3003277014.webp)
14
6255B–ATARM–26-Jun-09
Application Note
7.2
16-bit NAND Flash
7.2.1
Hardware Configuration
7.2.2
Software Configuration
The software configuration is the same as for 8-bit NAND Flash except the data bus width pro-
grammed in the mode register of the Static Memory Controller.
8. NAND Flash Access on AT91SAM9260
8.1
Boot on NAND Flash
Each AT91SAM9 product embeds a Boot Program that integrates different programs permitting
download and/or upload into the different memories of the product.
For the NAND Flash, an initialization phase is done and the NAND Flash Boot program is then
executed.
Refer to the section “AT91SAM Boot Program” of the product datasheet for more details.
8.1.1
NAND Flash Initialization
The following actions compose the initialization phase of the “CE don’t Care” NAND.
• NAND Flash logic is enabled on NCS3 through EBI_CSA.
• NAND Flash timings are programmed with SMC_SETUP3, PULSE3, CYCLE3 and MODE3
SMC registers.
• PC13 PIO line is dedicated to handle NAND R/B#.
D6
D0
D3
D4
D2
D1
D5
D7
D14
D8
D11
D12
D10
D9
D13
D15
NANDOE
NANDWE
(ANY PIO)
ALE
CLE
D[0..15]
(ANY PIO)
3V3
3V3
2 Gb
TSOP48 PACKAGE
R1
10K
R1
10K
R2
10K
R2
10K
C2
100NF
C2
100NF
C1
100NF
C1
100NF
U1
MT29F2G16AABWP-ET
U1
MT29F2G16AABWP-ET
WE
18
N.C
6
VCC
37
CE
9
RE
8
N.C
20
WP
19
N.C
5
N.C
1
N.C
2
N.C
3
N.C
4
N.C
21
N.C
22
N.C
23
N.C
24
R/B
7
I/O0
26
I/O8
27
I/O1
28
I/O9
29
N.C
34
N.C
35
N.C
36
PRE
38
N.C
39
VCC
12
VSS
13
ALE
17
N.C
11
N.C
10
N.C
14
N.C
15
CLE
16
VSS
25
I/O11
33
I/O2
30
I/O3
32
I/O10
31
I/O15
47
I/O7
46
I/O14
45
I/O6
44
I/O13
43
I/O5
42
I/O12
41
I/O4
40
VSS
48