
Mitsubishi microcomputers
M16C / 6N0 / 6N1 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
267
RxD1
TxD1
A8 to
A15
A16 to
A23
7716
D016
(M16C reception data)
(M16C transmission data)
Appendix Standard Serial I/O Mode 2 (Flash Memory Version)
Lock Bit Program Command
This command writes "0" (lock) for the lock bit of the specified block. Execute the lock bit program
command as explained here following.
(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 respectively.
(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
addresses A8 to A23.
Lock bit status can be read with the read lock bit status command. For information on the lock bit
function, reset procedure and so on, see the section on the data protection function.
Read Lock Bit Status Command
This command reads the lock bit status of the specified block. Execute the read lock bit status com-
mand as explained here following.
(1) Transfer the "7116" command code with the 1st byte.
(2) Transfer addresses A8 to A15 and A16 to A23 with the 2nd and 3rd bytes respectively.
(3) The lock bit data of the specified block is output with the 4th byte. The lock bit data is the 6th
bit(D6) of the output data. Write the highest address of the specified block for addresses A8 to
A23.
Figure 1.29.7. Timing for reading lock bit status
RxD1
TxD1
A8 to
A15
A16 to
A23
7116
D6
(M16C reception data)
(M16C transmission data)
Figure 1.29.8. Timing for the lock bit program