8 sector erase – Rainbow Electronics AT45DB161E User Manual

Page 13

Advertising
background image

13

Adesto AT45DB161E [DATASHEET]

8782D–DFLASH–11/2012

Table 6-1.

Block Erase Addressing

6.8

Sector Erase

The Sector Erase command can be used to individually erase any sector in the main memory.

The main memory array is comprised of 17 sectors, and only one sector can be erased at a time. To perform an erase of
Sector 0a or Sector 0b with the standard DataFlash page size (528 bytes), an opcode of 7Ch must be clocked into the
device followed by three address bytes comprised of two dummy bits, nine page address bits (PA11 - PA3), and
13 dummy bits. To perform a Sector 1-15 erase, an opcode of 7Ch must be clocked into the device followed by three
address bytes comprised of two dummy bits, four page address bits (PA11 - PA8), and 18 dummy bits.

To perform a Sector 0a or Sector 0b erase with the binary page size (512 bytes), an opcode of 7Ch must be clocked into
the device followed by three address bytes comprised of three dummy bits, nine page address bits (A20 - A12), and
12 dummy bits. To perform a Sector 1-15 erase, an opcode of 7Ch must be clocked into the device followed by three
dummy bits, four page address bits (A20 - A17), and 17 dummy bits.

The page address bits are used to specify any valid address location within the sector to be erased. When a
low-to high transition occurs on the CS pin, the device 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 RDY/BUSY

bit in the Status Register will

indicate that the device is busy.

The device also incorporates an intelligent algorithm that can detect when a byte location fails to erase properly. If an
erase error arises, it will be indicated by the EPE bit in the Status Register.

PA11/

A20

PA10/

A19

PA9/

A18

PA8/

A17

PA7/

A16

PA6/

A15

PA5/

A14

PA4/

A13

PA3/

A12

PA2/

A11

PA1/

A10

PA0/

A9

Block

0

0

0

0

0

0

0

0

0

X

X

X

0

0

0

0

0

0

0

0

0

1

X

X

X

1

0

0

0

0

0

0

0

1

0

X

X

X

2

0

0

0

0

0

0

0

1

1

X

X

X

3



























1

1

1

1

1

1

1

0

0

X

X

X

508

1

1

1

1

1

1

1

0

1

X

X

X

509

1

1

1

1

1

1

1

1

0

X

X

X

510

1

1

1

1

1

1

1

1

1

X

X

X

511

Advertising