Automatic Chip Erasing; Automatic Area Erasing - Toshiba TXZ Reference Manual

32-bit risc microcontroller
Table of Contents

Advertisement

4.1.3.2. Automatic chip erasing

(1) Operation
Automatic chip erasing erases memory cells in all addresses. It erases in order of a data flash and a code flash.
If protected pages or blocks are contained, the automatic chip erasing is performed on unprotected pages or
blocks (Note1). After erased, flash memory returns to command sequence input mode.
Erasing target: Code Flash, Data Flash
Since a protect bits are not erased, when erasing protect bits are required, please erase by an automatic
protection bit erase command.
Another command sequence is not accepted during automatic operation. If the users attempt to stop the
automatic chip erase, refer to "4.1.4Stopping Automatic Chip Erasing". In this case, data may not be erased
properly. Thus, the automatic chip erasing must be performed again.
(2) How to set
The 1
to 6
st
th
sequences are input, the automatic chip erasing starts.
Note 1: When there is the block or page protected, erasing operation is repeated per page inside a flash
memory. It takes the time for the number of pages until erasing operation is completed.
Note 2: Automatic chip erasing cannot be performed continuously. When re-issue the chip erasing command,
after once performing a blank check.

4.1.3.3. Automatic Area Erasing

(1) Operation
The automatic area erasing command performs on the specified area. If protected pages or blocks are
contained, the automatic area erasing is performed on un-protected pages or blocks (Note1). After erased,
flash memory returns to command sequence input mode.
Another command sequence is not accepted during automatic operation.
After erased, flash memory returns to command sequence input mode.
(2) How to set
The 1
to 5
bus write cycles are the automatic area erasing command sequences. The area to be erased is
st
th
specified in the 6
After the command sequences are input, the automatic area erasing starts.
Note 1: When there is the block or page protected, erasing operation is repeated per page inside a flash
memory. It takes the time for the number of pages until erasing operation is completed.
Note 2: Automatic area erasing cannot be performed continuously. When re-issue the chip erasing command,
after once performing a blank check.
2018-06-05
bus write cycles are the automatic chip erasing command sequences. After the command
th
bus write cycle.
55 / 120
TXZ Family
Flash Memory
Rev. 2.0

Advertisement

Table of Contents
loading

Table of Contents