English
Language : 

M30218 Datasheet, PDF (168/179 Pages) Mitsubishi Electric Semiconductor – M30218 Group
Appendix Standard Serial I/O Mode
Mitsubishi microcomputers
M30218 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Block Erase Command
This command erases the data in the specified block. Execute the block erase command as explained
here following.
(1) Send the “2016” command code in the 1st byte of the transmission.
(2) Send addresses A8 to A15 and A16 to A23 in the 2nd and 3rd bytes of the transmission respec-
tively.
(3) Send the verify command code “D016” in the 4th byte of the transmission. With the verify com-
mand code, the erase operation will start for the specified block in the flash memory. Write the
highest address of the specified block for addresses A16 to A23.
When block erasing ends, the RTS0 (BUSY) signal changes from the “H” to the “L” level. After block
erase ends, the result of the block erase operation can be known by reading the status register. For
more information, see the section on the status register.
Each block can be erase-protected with the lock bit. For more information, see the section on the data
protection function.
CLK0
RxD0
TxD0
RTS0(BUSY)
2016
A8 to A16 to
A15
A23
D016
Figure DD-6.Timing for block erasing
167