![](http://datasheet.mmic.net.cn/390000/HY29LV160BT-70_datasheet_16812410/HY29LV160BT-70_10.png)
10
Rev. 1.2/May 01
HY29LV160
Sector Protect Operation
The hardware sector protection feature disables
both program and erase operations in any sector
or combination of sectors. This function can be
implemented either in-system or by using program-
ming equipment.
The method intended for programming equipment
requires a high voltage (V
ID
) on address pin A[9]
and the control pins. Refer to the Appendix at the
end of this document for additional information.
The in-system method requires V
ID
only on the
RESET# pin and uses standard microprocessor
bus cycle timing to implement sector protection.
The flow chart in Figure 1 illustrates the algorithm.
The HY29LV160 is shipped with all sectors un-
protected. It is possible to determine whether a
sector is protected or unprotected. See the Elec-
tronic ID Mode section for details.
Sector Unprotect Operation
The hardware sector unprotection feature re-en-
ables both program and erase operations in pre-
viously protected sectors. This function can be
implemented either in-system or by using program-
ming equipment. Note that to unprotect any sec-
START
RESET# = V
ID
Wait 1 us
Write 0x60 to device
Write 0x60 to Address
Wait 150 us
Write 0x40 to Address
Read from Address
Data = 0x01
Protect Another
Sector
YES
TRYCNT = 25
NO
Increment TRYCNT
NO
YES
DEVICE FAILURE
YES
NO
RESET# = V
IH
Write Reset Command
SECTOR PROTECT
COMPLETE
TRYCNT = 1
Set Address:
A[19:12] = Sector to Protect
A[6] = 0, A[1] = 1, A[0] = 0
Figure 1. Sector Protect Algorithm
tor, all unprotected sectors must first be protected
prior to the first sector unprotect write cycle. Also,
the unprotect procedure will cause all sectors to
become unprotected, thus, sectors that require
protection must be protected again after the un-
protect procedure is run.
The method intended for programming equipment
requires a high voltage (V
ID
) on address pin A[9]
and the control pins. Refer to the Appendix for
additional information.
The in-system method requires V
ID
only on the
RESET# pin and uses standard microprocessor
bus cycle timing to implement sector unprotection.
The flow chart in Figure 2 illustrates the algorithm.
Temporary Sector Unprotect Operation
This feature allows temporary unprotection of pre-
viously protected sectors to allow changing the
data in-system. Sector Unprotect mode is activated
by setting the RESET# pin to V
ID
. While in this
mode, formerly protected sectors can be pro-
grammed or erased by invoking the appropriate
commands (see Device Commands section).
Once V
ID
is removed from RESET#, all the previ-
ously protected sectors are protected again. Fig-
ure 3 illustrates the algorithm.