English
Language : 

M30222 Datasheet, PDF (196/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
Data Protect Function (Block Lock)
Each block in Figure 1.156 has a nonvolatile lock bit to specify that the block be protected (locked) against erase
or write. The lock bit program command is used to set the lock bit to 0 (locked). The lock bit of against each block
can be read out using the read lock bit status command.
Whether block lock is enabled or disabled is determined by the status of the lock bit and how the flash memory
control register 0's lock bit disable bit is used.
(1) When the lock bit disable bit = 0, a specified block can be locked or unlocked by the lock bit
status (lock bit data). Blocks whose lock bit data = 0 are locked, so they are disabled against
erase/write. On the other hand, the blocks where the lock bit data =1 are not locked, they're
enabled for erase/write.
(2) When the lock bit disable bit =1, all blocks are unlocked regardless of the lock bit data, so they
are enabled for erase/write. In this case, the lock bit data, that is 0 (locked), is set to 1 (unlocked)
after erase, so that the lock bit lock is removed.
Block 8 : 4 Kbytes
7D00016
7E00016
Flash
Flash memory
memory size start address
260 Kbytes
7D00016
C000016
Fig. 1.156. Block diagram of user area
Block 7 : 64 Kbytes
Block 6 : 64 Kbytes
Block 5 : 64 Kbytes
Block 4 : 32 Kbytes
Block 3 : 24 Kbytes
Block 2: 4 K byte
Block 1: 4 K byte
BFFFF16
C000016
D000016
E000016
F0000 16
F8000 16
FE00016
FF00016
FFFFF 16
1-197