English
Language : 

M16C Datasheet, PDF (237/262 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Preliminary Specifications REV.B
Specifications in this manual are tentative and subject to change.
Mitsubishi microcomputers
M16C / 6N Group
Parallel I/O Mode
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Block Erase Command (2016/D016)
Writing the "2016" command code for the first bus cycle and, after that, the "D016" verify command code
and the block address of a block for the second bus cycle starts the auto erase (erase and erase verify)
operation for the specified block.
Auto erase end can verified by reading the status register or the status of the RY/BY signal. At the start
of the auto erase operation, the read status register mode is automatically engaged, so the contents of the
status register can be read from the data I/O pins (D0 – D7). Status register bit 7 (SR7) becomes "0" when
the auto erase operation starts and returns to "1" when it ends. In this way, the read status register mode
is maintained until the next read array command (FF16) or read lock bit status command (7116) is written.
Similar to the status register bit 7, the RY/BY pin is "L" level during auto erase operations and becomes
"H" level when auto erase ends.
After the block erase operation ends, the result of the operation can be known by reading the status
register. For more information, see the section on the status register.
Figure 24-4 shows a flowchart of block erasing. For the block erase operation timing, see time chart in the
section on electric characteristics.
Each block can be erase-protected with the lock bit. For more information, see the section on the data
protection function.
Start
Write 2016
Write D016 and block
address
Read status register
NO
SR7=1?
YES
Run full status check if
needed
Block erase end
Figure 24-4. Block erase flowchart
237