AT45DB321D-SU-SL954 ATMEL [ATMEL Corporation], AT45DB321D-SU-SL954 Datasheet - Page 12

no-image

AT45DB321D-SU-SL954

Manufacturer Part Number
AT45DB321D-SU-SL954
Description
32-megabit 2.7-volt DataFlash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
8.1
8.1.1
8.1.2
8.1.3
12
Software Sector Protection
AT45DB321D
Enable Sector Protection Command
Disable Sector Protection Command
Various Aspects About Software Controlled Protection
Sectors specified for protection in the Sector Protection Register can be protected from program
and erase operations by issuing the Enable Sector Protection command. To enable the sector
protection using the software controlled method, the CS pin must first be asserted as it would be
with any other command. Once the CS pin has been asserted, the appropriate 4-byte command
sequence must be clocked in via the input pin (SI). After the last bit of the command sequence
has been clocked in, the CS pin must be deasserted after which the sector protection will be
enabled.
Figure 8-1.
To disable the sector protection using the software controlled method, the CS pin must first be
asserted as it would be with any other command. Once the CS pin has been asserted, the
appropriate 4-byte sequence for the Disable Sector Protection command must be clocked in via
the input pin (SI). After the last bit of the command sequence has been clocked in, the CS pin
must be deasserted after which the sector protection will be disabled. The WP pin must be in the
deasserted state; otherwise, the Disable Sector Protection command will be ignored.
Figure 8-2.
Software controlled protection is useful in applications in which the WP pin is not or cannot be
controlled by a host processor. In such instances, the WP pin may be left floating (the WP pin is
internally pulled high) and sector protection can be controlled using the Enable Sector Protection
and Disable Sector Protection commands.
If the device is power cycled, then the software controlled protection will be disabled. Once the
device is powered up, the Enable Sector Protection command should be reissued if sector pro-
tection is desired and if the WP pin is not used.
Command
Enable Sector Protection
Command
Disable Sector Protection
Enable Sector Protection
Disable Sector Protection
CS
CS
SI
SI
Each transition
represents 8 bits
Each transition
represents 8 bits
Opcode
Opcode
Byte 1
Byte 1
Byte 1
Byte 1
Opcode
Opcode
Byte 2
Byte 2
3DH
3DH
Opcode
Opcode
Byte 3
Byte 3
Byte 2
Byte 2
2AH
2AH
Opcode
Opcode
Byte 4
Byte 4
Byte 3
Byte 3
7FH
7FH
3597N–DFLASH–04/09
Byte 4
Byte 4
A9H
9AH

Related parts for AT45DB321D-SU-SL954