M29W800DT, M29W800DB Block protection
45/52
Appendix C Block protection
Bloc k protect ion can be used to prevent any operation from modifying the data stored in th e
Flash. Each block can be protected individually. Once protected, program and erase
operations on the b lock fail to change the data.
There are three techniques that can be used to cont rol block protection, these are the
programmer technique, the in-system technique and temporary unprotection. Temporary
unprotection is controlled by the reset/block temporar y unprotection pin, RP; this is
descr i be d in th e Section 2: Signal descriptions.
Unlike the command inte rface of the program/erase controller, the techniques f or protecting
and unprotecting blocks change between different Flash memory suppliers. For example,
the techniques for AMD parts will not work on Numonyx parts. Care should be taken when
changing drivers for one part to work on another.
C.1 Programmer technique
The programmer technique uses high (VID) voltage levels on some of the bus pins. These
cannot be achieved using a standard microprocessor bus, therefore the technique is
recommended only for use in programming equipment.
To protect a block follow the flowchart in Fi gu re 18: Programmer eq uip m en t block protect
flowchart. To unprotect t he whole chip it is ne cessary to protect all of the b loc ks f irst, then all
bl ocks can be unprotected at the same time. To unprotect the chip f ollow Figure 19:
Programmer equipment chip unprotect flowchart. Table 28: Programmer technique bus
operations, BYTE = VIH or VIL, gives a summary of each operation.
The timing on these flowcharts is critical. Care should be taken to ensure that, where a
pause is specified, it is followed as closely as possible. Do not abort the procedure before
reaching the end. Chip unprotect can take several seconds and a user message should be
provided to show th at the operation is progressing.
C.2 In-system technique
The in-system technique requires a high voltage level on the reset/blocks temporary
unprotect pin, RP. This can be achieved without violating the maximum ratings of the
components on the micro processor b us , ther ef or e this technique is suit ab le for use after the
Flash has been fitted to the system.
To protect a block follow the flowchart in Figure 20: In-system equipment block protect
flowchart. To unprotect t he whole chip it is ne cessary to protect all of the b loc ks f irst, then all
the blocks can be unprotected at the same time. To unprotect the chip follow Figure 21: In-
system equipm en t ch ip un pr otect flowchart.
The timing on these flowcharts is critical. Care should be taken to ensure that, where a
pause is specified, it is followed as closely as possible. Do not allow the microprocessor to
service interrupts that will upset the timing and do not abort the procedure before reaching
the end. Chip unprotect can take several seconds and a user message should be provided
to show that the operation is progressing.