![](http://datasheet.mmic.net.cn/330000/MBM29F160BE-55PFTN_datasheet_16438796/MBM29F160BE-55PFTN_14.png)
MBM29F160TE
-55/-70/-90
/MBM29F160BE
-55/-70/-90
14
Write
Device erasure and programming are accomplished via the command register. The command register serve as
inputs to the internal state machine. The state machine outputs dictate the function of the device.
The command register itself does not occupy any addressable memory location. The register is latch used to
store the commands, along with the address and data information needed to execute the command. The
command register is written by bringing WE to V
IL
, while CE is at V
IL
and OE is at V
IH
. Addresses are latched on
the falling edge of CE or WE, whichever occurs later, while data is latched on the rising edge of CE or WE pulse,
whichever occurs first. Standard microprocessor write timings are used.
Refer to AC Write Characteristics and the Erase/Programming Waveforms for specific timing parameters.
Write Protect (WP)
The write Protect function provides a hardware method of protecting certain boot sectors without using V
ID
.
If the system asserts V
IL
on the WP pin, the device disables program and erase functions in the "outermost" 16K
byte boot sectors independently of whether this sector was protected or unprotected using the method described
in "Sector / Sector Block Protection and Unprotection". The outmost 16K byte boot sector is the sector containing
the lowest addresses in a bottom-boot-configured devices, or the sector containing the highest addresses in a
top-boot-configured device.
If the system asserts V
IH
on the WP pin, the devices reverts to whether the outmost 16K byte boot sector was
last set to be protected or unprotected. That is, sector protection or unprotection for this sector depends on
whether it was last protected or unprotected using the method describe in "Sector / Sector Block Protection and
Unprotection".
Sector Protection
The MBM29F160TE/BE features hardware sector protection. This feature will disable both program and erase
operations in any number of sectors (0 through 34). The sector protection feature is enabled using programming
equipment at the user’s site. The device is shipped with all sectors unprotected.
To activate this mode, the programming equipment must force V
ID
on address pin A
9
and control pin OE, (suggest
V
ID
= 11.5V), CE = V
IL
, and A
6
= V
IL
. The sector addresses (A
19
, A
18
, A
17
, A
16
, A
15
, A
14
, A
13
, and A
12
) should be set
to the sector to be protected. Tables 5 and 6 define the sector address for each of the thirty five (35) individual
sectors. Programming of the protection circuitry begins on the falling edge of the WE pulse and is terminated
with the rising edge of the same. Sector addresses must be held constant during the WE pulse. See figures 16
and 24 for sector protection waveforms and algorithm.
To verify programming of the protection circuitry, the programming equipment must force V
ID
on address pin A
9
with CE and OE at V
IL
and WE at V
IH
. Scanning the sector addresses (A
19
, A
18
, A
17
, A
16
, A
15
, A
14
, A
13
, and A
12
)
while (A
6
, A
1
, A
0
) = (0, 1, 0) will produce a logical “1” code at device output DQ
0
for a protected sector. Otherwise
the devices will read 00H for unprotected sector. In this mode, the lower order addresses, except for A
0
, A
1
, and
A
6
are DON’T CARES. Address locations with A
1
= V
IL
are reserved for Autoselect manufacturer and device
codes. A
-1
requires to apply to V
IL
in byte mode.
It is also possible to determine if a sector is protected in the system by writing an Autoselect command. Performing
a read operation at the address location XX02H, where the higher order addresses pins (A
19
, A
18
, A
17
, A
16
, A
15
,
A
14
, A
13
, and A
12
) represents the sector address will produce a logical “1” at DQ
0
for a protected sector. See
Tables 4.1 and 4.2 for Autoselect codes.
Temporary Sector Unprotection
This feature allows temporary unprotection of previously protected sectors of the MBM29F160TE/BE devices
in order to change data. The Sector Unprotection mode is activated by setting the RESET pin to high voltage
(12 V). During this mode, formerly protected sectors can be programmed or erased by selecting the sector
addresses. Once the 12 V is taken away from the RESET pin, all the previously protected sectors will be protected
again. Refer to Figures 18 and 25.