English
Language : 

M16C30P_07 Datasheet, PDF (231/317 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/30 SERIES
M16C/30P Group
19. Flash Memory Version
19.3.5.6 Lock Bit Program Command
The lock bit program command sets the lock bit for a specified block to “0” (locked).
By writing “xx77h” in the first bus cycle and “xxD0h” to the highest-order even address of a block in the
second bus cycle, the lock bit for the specified block is set to “0”. The address value specified in the first bus
cycle must be the same highest-order even address of a block specified in the second bus cycle.
Figure 19.11 shows a Flow Chart of the Lock Bit Program Command Programming. Execute read lock bit
status command to read lock bit state (lock bit data).
The FMR00 bit in the FMR0 register indicates whether a lock bit program operation is completed.
Refer to 19.3.6 Data Protect Function for details on lock bit functions and how to set it to “1” (unlocked).
Start
Write the command code “xx77h” to
the highest-order block address
Write “xxD0h” to the highest-order
block address
NO
FMR00=1?
YES
Full status check
Lock bit program operation
is completed
NOTES:
1. Write the command code and data to even addresses.
Figure 19.11 Lock Bit Program Command
Rev.1.22 Mar 29, 2007 Page 215 of 291
REJ09B0179-0122