61
6174B–ATARM–07-Nov-05
AT91FR40162S Preliminary
11.5
Flash Memory Command Definitiion
Notes:
1. The DATA FORMAT shown for each bus cycle is as follows; I/O7 - I/O0 (Hex). In word operation I/O15 - I/O8
are don’t care. The ADDRESS FORMAT shown for each bus cycle is as follows: A11 - A0 (Hex). Address A19 through A11
are don’t care in the word mode. Address A19 through A11 and A-1 are don’t care in the byte mode.
2. Since A11 is a Don’t Care, AAA can be replaced with 2AA.
3. SA = sector address. Any byte/word address within a sector can be used to designate the sector address (see
for details).
4. Once a sector is in the lockdown mode, data in the protected sector cannot be changed unless the chip is reset or power
cycled.
5. Either one of the Product ID Exit commands can be used.
6. If data bit D1 is “0”, block B is locked. If data bit D1 is “1”, block B can be reprogrammed.
7. The default state (after power-up) of the configuration register is “00”.
8. Bytes of data other than F0 may be used to exit the Product ID mode. However, it is recommended that F0 be used.
9. This fast programming option enables the user to program two words in parallel only when V
PP
= 12V. The Addresses, Addr1
and Addr2, of the two words, D
IN1
and D
IN2
, must only differ in address A0. This command should be used during manufac-
turing purposes only.
Table 11-2.
Command Definition Table
Command
Sequence
Bus
Cycles
1st Bus
Cycle
2nd Bus
Cycle
3rd Bus
Cycle
4th Bus
Cycle
5th Bus
Cycle
6th Bus
Cycle
Addr
Data
Addr
Data
Addr
Data
Addr
Data
Addr
Data
Addr
Data
Read
1
Addr
D
OUT
Chip Erase
6
555
AA
AAA
(2)
55
555
80
555
AA
AAA
55
555
10
Sector Erase
6
555
AA
AAA
55
555
80
555
AA
AAA
55
SA
(3)(4)
30
Byte/Word Program
4
555
AA
AAA
55
555
A0
Addr
D
IN
Dual Byte/Word
Program
5
555
AA
AAA
55
555
E0
Addr1
D
IN1
Addr2
D
IN2
Enter Single Pulse
Program Mode
6
555
AA
AAA
55
555
80
555
AA
AAA
55
555
A0
Single Pulse
Byte/Word Program
1
Addr
D
IN
Sector Lockdown
6
555
AA
AAA
(2)
55
555
80
555
AA
AAA
55
SA
(3)(4)
60
Erase/Program
Suspend
1
XXX
B0
Erase/Program
Resume
1
XXX
30
Product ID Entry
3
555
AA
AAA
55
555
90
Product ID Exit
(5)
3
555
AA
AAA
55
555
Product ID Exit
(5)
1
XXX
F0
Program Protection
Register
4
555
AA
AAA
55
555
C0
Addr
D
IN
Lock Protection
Register - Block B
4
555
AA
AAA
55
555
C0
080
X0
Status of Block B
Protection
4
555
AA
AAA
55
555
90
80
D
OUT
Set Configuration
Register
4
555
AA
AAA
55
555
D0
XXX
00/01
CFI Query
1
X55
98