English
Language : 

M30222 Datasheet, PDF (231/237 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
dUevnedloSeprpmeenctifications in this manual are tentative and subject to change
MITSUBISHI MICROCOMPUTERS
M30222 Group
Rev. G
Serial I/O Mode 2 (Flash Memory Version)
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
(8) Lock Bit Program Command
This command writes "0" (lock) for the lock bit of the specified block. To execute the lock bit program com-
mand :
(1) Transfer the "7716" command code with the 1st byte.
(2) Transfer addresses A8 to A15 and A16 to A23 with the 2nd and 3rd bytes.
(3) Transfer the verify command code "D016" with the 4th byte. With the verify command code, "0" is written for
the lock bit of the specified block. Write the highest address of the specified block for address A8 to A23.
When writing ends, RTS1 (BUSY) signal changes from the "H" to "L". Lock bit status can be read with the read
lock bit status command.
RxD1
(M16C receive data)
7716
A8 to
A15
A16 to
A23
D016
TxD1
(M16C transmit data)
Figure 1.191. Timing for the lock bit program
(9) Lock Bit Enable Command
This command enables the lock bit in blocks whose bit was disabled with the lock bit disable command. The
command code "7A16" is sent with the 1st byte of the serial transmission. This command only enables the lock
bit function; It does not set the lock bit itself.
RxD1
(M16C receive data)
TxD1
(M16C transmit data)
Figure 1.192. Timing for enabling the lock bit
7A16
(10) Lock Bit Disable Command
This command disables the lock bit. The command code "7516" is sent with the 1st byte of the serial transmis-
sion. This command only disables the lock bit function; It does not set the lock bit itself. However, if an erase
command is executed after executing the lock bit disable command, "0" (locked) lock bit data is set to "1"
(unlocked) after the erase operation ends. In any case, after the reset is cancelled, the lock bit is enabled.
RxD1
(M16C receive data)
TxD1
(M16C transmit data)
Figure 1.193. Timing for disabling the lock bit
7516
1-232