TMP19A71
multi-block erase operation, the failing block can be identified by running Auto Block Erase
on each of the blocks selected for multi-block erasure.
Block Protect command
The block protection feature disables both program and erase operations in any block. After
completion of the seventh bus write cycle, the RDY/BSY bit in the FLCS register is cleared to
0 during the block protect operation. Once the block protect operation is complete, this bit is
set again and the flash memory automatically returns to Read mode.
If any failure occurred during the Block Protect operation, the flash memory remains locked
in Embedded Operation mode with FLCS.RDY/BSY = 0. To put the flash memory back in
Read mode, a software or hardware reset must be executed.
7)
Table 17.4.2
Effects of the Program and Erase Commands on the Protected Blocks
Command
Operation
Program command on a protected block
No programming operation is performed, and the flash
memory automatically returns to Read mode.
No erase operation is performed, and the flash memory
automatically returns to Read mode.
No erase operation is performed, and the flash memory
automatically returns to Read mode.
Only the unprotected blocks are erased. Upon completion,
the flash memory automatically returns to Read mode.
Only the unprotected blocks are erased. Upon completion,
the flash memory automatically returns to Read mode.
Block Erase command on a protected block
Chip Erase command when all the blocks are protected
Chip Erase command when any blocks are protected
Multi-Block Erase command when any blocks are protected
Any commands written during the Block Protect algorithm are ignored. A hardware reset
immediately terminates the block protect operation. The Block Protect command that was
interrupted should be re-initiated once the flash memory is ready to accept another command
sequence.
8) Block Unprotect command
The Block Unprotect command requires seven bus cycles. After completion of the seventh
bus write cycle, the RDY/BSY bit in the FLCS register is cleared to 0 during the block
unprotect operation. Once the block unprotect operation is complete, this bit is set again and
the flash memory automatically returns to Read mode.
If any failure occurred during the block unprotect operation, the flash memory remains
locked in Embedded Operation mode with FLCS.RDY/BSY = 0. To put the flash memory back
in Read mode, a software or hardware reset must be executed.
Any commands written during the Block Unprotect algorithm are ignored. A hardware reset
immeidately terminates the block unprotect operation. In this case, the block unprotect
operation must be performed again by starting with protecting all the blocks again. Use the
Verify Block Protect command to verify the protect status of a block.
9)
Verify Block Protect command
The Verify Block Protect command is used to verify the protect status of a block. Verify Block
Protect is a four-bus-cycle operation. The address of the block to be verified is given in the
fourth cycle. Any address within the block range will suffice, provided A[3:0] = 0, A4 = 1 and
A6 = 0. To get correct data, a 32-bit read must be performed at least twice. Use the last read as
valid data. If the selected block is protected, a value of 0x0000_0001 is returned. If the selected
block is not protected, a value of 0x0000_0000 is returned. Following the fourth bus cycle, an
TMP19A71
17-55