English
Language : 

AT45DB161D Datasheet, PDF (13/53 Pages) ATMEL Corporation – 16-megabit 2.5-volt or 2.7-volt DataFlash
AT45DB161D
9. Hardware Controlled Protection
Sectors specified for protection in the Sector Protection Register and the Sector Protection Reg-
ister itself can be protected from program and erase operations by asserting the WP pin and
keeping the pin in its asserted state. The Sector Protection Register and any sector specified for
protection cannot be erased or reprogrammed as long as the WP pin is asserted. In order to
modify the Sector Protection Register, the WP pin must be deasserted. If the WP pin is perma-
nently connected to GND, then the content of the Sector Protection Register cannot be changed.
If the WP pin is deasserted, or permanently connected to VCC, then the content of the Sector
Protection Register can be modified.
The WP pin will override the software controlled protection method but only for protecting the
sectors. For example, if the sectors were not previously protected by the Enable Sector Protec-
tion command, then simply asserting the WP pin would enable the sector protection within the
maximum specified tWPE time. When the WP pin is deasserted; however, the sector protection
would no longer be enabled (after the maximum specified tWPD time) as long as the Enable Sec-
tor Protection command was not issued while the WP pin was asserted. If the Enable Sector
Protection command was issued before or while the WP pin was asserted, then simply deassert-
ing the WP pin would not disable the sector protection. In this case, the Disable Sector
Protection command would need to be issued while the WP pin is deasserted to disable the sec-
tor protection. The Disable Sector Protection command is also ignored whenever the WP pin is
asserted.
A noise filter is incorporated to help protect against spurious noise that may inadvertently assert
or deassert the WP pin.
The table below details the sector protection status for various scenarios of the WP pin, the
Enable Sector Protection command, and the Disable Sector Protection command.
Figure 9-1. WP Pin and Protection Status
1
WP
2
3
Table 9-1. WP Pin and Protection Status
Time
Period
1
2
3
WP Pin
High
Low
High
Enable Sector Protection
Command
Command Not Issued Previously
–
Issue Command
X
Command Issued During Period 1
or 2
–
Issue Command
Disable Sector
Protection Command
X
Issue Command
–
X
Not Issued Yet
Issue Command
–
Sector Protection
Status
Disabled
Disabled
Enabled
Enabled
Enabled
Disabled
Enabled
Sector
Protection
Register
Read/Write
Read/Write
Read/Write
Read Only
Read/Write
Read/Write
Read/Write
13
3500J–DFLASH–4/08