English
Language : 

AT45DB321_14 Datasheet, PDF (18/21 Pages) ATMEL Corporation – Page Program Operation
Figure 2. Algorithm for Randomly Modifying Data
START
provide address of
page to modify
MAIN MEMORY PAGE
to BUFFER TRANSFER
(53H, 55H)
If planning to modify multiple
bytes currently stored within
a page of the Flash array
MAIN MEMORY PAGE PROGRAM
(82H, 85H)
BUFFER WRITE
(84H, 87H)
BUFFER to MAIN
MEMORY PAGE PROGRAM
(83H, 86H)
(2)
Auto Page Rewrite
(58H, 59H)
INCREMENT PAGE
(2)
ADDRESS POINTER
END
Notes: 1. To preserve data integrity, each page of a DataFlash sector must be updated/rewritten at least once within every 10,000
cumulative page erase/program operations within that sector.
2. A Page Address Pointer must be maintained to indicate which page is to be rewritten. The Auto Page Rewrite command
must use the address specified by the Page Address Pointer.
3. Other algorithms can be used to rewrite portions of the Flash array. Low power applications may choose to wait until 10,000
cumulative page erase/program operations have accumulated before rewriting all pages of the sector. See application note
AN-4 (“Using Atmel’s Serial DataFlash”) for more details.
Sector Addressing
PA12
0
0
0
0
•
•
•
1
1
1
1
PA11
0
0
0
0
•
•
•
1
1
1
1
PA10
0
0
0
1
•
•
•
0
0
1
1
PA9
PA8
PA7
PA6
PA5
PA4
PA3
0
0
0
0
0
0
0
0
X
X
X
X
X
X
1
X
X
X
X
X
X
0
X
X
X
X
X
X
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
0
X
X
X
X
X
X
1
X
X
X
X
X
X
0
X
X
X
X
X
X
1
X
X
X
X
X
X
Sector
0
1
2
3
•
•
•
13
14
15
16
18
AT45DB321