English
Language : 

M30222 Datasheet, PDF (211/237 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
dUevnedloerpment
Specifications in this manual are tentative and subject to change
MITSUBISHI MICROCOMPUTERS
M30222 Group
Rev. G
Serial I/O Mode 1 (Flash Memory Version)
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
(3) Block Erase Command
This command erases the data in the specified block. Execute the block erase command as explained here
following:
(1) Transfer the “2016” command code with the 1st byte.
(2) Transfer addresses A8 to A15 and A16 to A23 with the 2nd and 3rd bytes respectively.
(3) Transfer the verify command code “D016” with the 4th byte. With the verify command code, the erase
operation will start for the specified block in the flash memory. Write the highest address the specified block for
addresses A8 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 informa-
tion, see the section on the status register.
CLK0
RxD0
TxD0
2016
A8 to
A15
A16 to
A23
D016
RTS0(BUSY)
Fig. 1.164. Timing for block erase
(4) Erase All Unlocked Blocks Command
This command erases the content of all blocks. Execute the erase all unlocked blocks command explained
below.
(1) Transfer the "A716" command code with the 1st byte.
(2) Transfer the verify command code "D016" with the 2nd byte. With the verify command code, the erase
operation will start and continue for all blocks in the flash memory.
When block erase ends, the RTS0 (BUSY) signal changes from "H" to "L". The result of the erase operation
can be known by reading the status register. Each block can be erase protected with the lock bit. For more
information, see the Data Protection Function section.
CLK1
RxD1
(M16C receive data)
A716 D016
TxD1
(M16C transmit data)
RTS1(BUSY)
Fig.1.165. Timing for erasing all unlocked blocks
1-212