English
Language : 

M30222 Datasheet, PDF (194/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
CPU Rewrite Mode (Flash Memory Version)
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Start
Write 771 6
Write 771 6
Block address
RY/BY
NO
Status Flag =1?
YES
NO
SR4= 0?
YES
Lock bit program
completed
Lock bit
program error
Fig. 1.154. Lock Bit Program Flowchart
Lock Bit Program Command (7716/D016)
This command is available only when the lock bit is enabled. For CPU rewrite mode bit 4 must be a "1". In parallel
mode WPB must be a "0". By writing the command code ("7716") in the first bus cycle and the confirmation code
("D016") and block address in the second cycle the lock bit can be programmed for the block specified. The lock
bit protects the block against erase during the erase all unlocked blocks command. The status of the lock bit can
be read by issuing the Lock bit status read command.
Figure 1.154 is an example of a lockbit program flowchart.
1-195