English
Language : 

M16C65 Datasheet, PDF (751/829 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/60
Under development
M16C/65 Group
Preliminary Specification
This is a preliminary specification and is subject to change.
30. Flash Memory
30.8.4.6 Lock Bit Program Command
The lock bit program command is used to set 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 address of a block specified in the second bus cycle.
Figure 30.5 shows a Flow Chart of the Lock Bit Program Command Programming (Suspend Function
Disabled). Execute the read lock bit status command to read the lock bit state (lock bit data).
The FMR00 bit in the FMR0 register indicates whether a lock bit program operation has been
completed.
Refer to 30.8.2 “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
Note:
1. Write the command code and data to even addresses.
Figure 30.5 Lock Bit Program Command (Suspend Function Disabled)
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 716 of 791