1 sector lockdown register, 2 reading the sector lockdown register – Rainbow Electronics AT45DB041D User Manual

Page 18

Advertising
background image

18

3595R–DFLASH–11/2012

AT45DB041D

10.1.1

Sector Lockdown Register

Sector Lockdown Register is a nonvolatile register that contains 16-bytes of data, as shown
below:

Table 10-2.

Sector Lockdown Register

10.1.2

Reading the Sector Lockdown Register

The Sector Lockdown Register can be read to determine which sectors in the memory array are
permanently locked down. To read the Sector Lockdown Register, the CS pin must first be
asserted. Once the CS pin has been asserted, an opcode of 35H and three dummy bytes must
be clocked into the device via the SI pin. After the last bit of the opcode and dummy bytes have
been clocked in, the data for the contents of the Sector Lockdown Register will be clocked out
on the SO pin. The first byte corresponds to sector 0 (0a, 0b) the second byte corresponds to
sector one and the las byte (byte 8) corresponds to sector seven. After the last byte of the Sector
Lockdown Register has been read, additional pulses on the SCK pin will simply result in unde-
fined data being output on the SO pin.

Deasserting the CS pin will terminate the Read Sector Lockdown Register operation and put the
SO pin into a high-impedance state.

Table 10-4

details the values read from the Sector Lockdown Register.

Figure 10-2. Read Sector Lockdown Register

Sector Number

0 (0a, 0b)

1 to 7

Locked

See Below

FFH

Unlocked

00H

Table 10-3.

Sector 0 (0a, 0b)

0a

0b

Bit 3, 2

Data

Value

(Page 0-7)

(Page 8-255)

Bit 7, 6

Bit 5, 4

Bit 1, 0

Sectors 0a, 0b Unlocked

00

00

00

00

00H

Sector 0a Locked (Page 0-7)

11

00

00

00

C0H

Sector 0b Locked (Page 8-255)

00

11

00

00

30H

Sectors 0a, 0b Locked (Page 0-255)

11

11

00

00

F0H

Table 10-4.

Sector Lockdown Register

Command

Byte 1

Byte 2

Byte 3

Byte 4

Read Sector Lockdown Register

35H

xxH

xxH

xxH

Note:

xx = Dummy Byte

Opcode

X

X

X

Data Byte

n

Data Byte

n + 1

CS

Data Byte

n + 3

SI

SO

Each transition
represents 8 bits

Advertising