Programming algorithm shown in – Rainbow Electronics AT45DB642 User Manual

Page 62

Advertising
background image

62

AT45DB321E [PRELIMINARY DATASHEET]

8784B–DFLASH–11/2012

Figure 26-2. Algorithm for Programming or Re-programming of the Entire Array Randomly

Notes: 1. To preserve data integrity, each page of an DataFlash sector must be updated/rewritten at least once within

every 20,000 cumulative page erase and program operations

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 20,000 cumulative page erase and program operations have accumulated before rewriting all
pages of the sector. See application note AN-4 (“Using Adesto’s Serial DataFlash”) for more details

START

Main Memory Page

to Buffer Transfer

(53h, 55h)

Increment Page

Address Pointer

(2)

Auto Page Rewrite

(2)

(58h, 59h)

END

Provide Address of

Page to Modify

If planning to modify multiple

bytes currently stored within

a page of the Flash array

Main Memory Page Program

through Buffer

(82h, 85h)

Buffer Write

(84h, 87h)

Buffer to Main

Memory Page Program

(83h, 86h)

Advertising