Renesas M16C/64C User Manual page 726

Table of Contents

Advertisement

M16C/64C Group
30.8.6.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 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 address of a block specified in the second bus cycle.
Figure 30.21 shows a flowchart of the Lock Bit Program Command (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. Do not execute other commands while the FMR00 bit is 0.
Refer to 30.8.4 "Data Protect Function", for details on lock bit functions and how to set it to 1
(unlocked).
Figure 30.21 Lock Bit Program Command (Suspend Function Disabled)
R01UH0092EJ0110 Rev.1.10
Jul 31, 2012
Start
Write command code xx77h
to BA address
Write xxD0h to BA address
No
FMR00 = 1?
Yes
Full status check
Lock bit program command
completed
30. Flash Memory
Page 693 of 807

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/60 seriesM16c series

Table of Contents