6 sector erase – Rainbow Electronics AT45DB011D User Manual

Page 9

Advertising
background image

9

3639J–DFLASH–11/2012

AT45DB011D

7.6

Sector Erase

The Sector Erase command can be used to individually erase any sector in the main memory.
There are four sectors and only one sector can be erased at one time. To perform sector 0a or
sector 0b erase for the DataFlash standard page size (264-bytes), an opcode of 7CH must be
loaded into the device, followed by three address bytes comprised of five don’t care bits, seven-
page address bits (PA9 - PA3) and 12 don’t care bits. To perform a sector 1-3 erase, the opcode
7CH must be loaded into the device, followed by three address bytes comprised of six don’t care
bits, two page address bits (PA8 - PA7) and 16 don’t care bits. To perform sector 0a or sector 0b
erase for the binary page size (256-bytes), an opcode of 7CH must be loaded into the device,
followed by three address bytes comprised of six don’t care bits and seven page address bits
(A17 - A11) and 11 don’t care bits. To perform a sector 1-3 erase, the opcode 7CH must be
loaded into the device, followed by three address bytes comprised of seven don’t care bit and
two page address bits (A16 - A15) and 16 don’t care bits. The page address bits are used to
specify any valid address location within the sector which is to be erased. When a low-to-high
transition occurs on the CS pin, the part will erase the selected sector. The erase operation is
internally self-timed and should take place in a maximum time of t

SE

. During this time, the status

register will indicate that the part is busy.

Table 7-1.

Block Erase Addressing

PA8/

A16

PA7/

A15

PA6/

A14

PA5/

A13

PA4/

A12

PA3/

A11

PA2/

A10

PA1/

A9

PA0/

A8

Block

0

0

0

0

0

0

X

X

X

0

0

0

0

0

0

1

X

X

X

1

0

0

0

0

1

0

X

X

X

2

0

0

0

0

1

1

X

X

X

3

1

1

1

1

0

0

X

X

X

60

1

1

1

1

0

1

X

X

X

61

1

1

1

1

1

0

X

X

X

62

1

1

1

1

1

1

X

X

X

63

Table 7-2.

Sector Erase Addressing

PA8/

A16

PA7/

A15

PA6/

A14

PA5/

A13

PA4/

A12

PA3/

A11

PA2/

A10

PA1/

A9

PA0/

A8

Sector

0

0

0

0

0

0

X

X

X

0a

0

0

0

0

0

1

X

X

X

0b

0

1

0

0

0

0

0

0

0

1

1

0

X

X

X

X

X

X

X

2

1

1

X

X

X

X

X

X

X

3

Advertising