English
Language : 

M306H7MG-XXXFP Datasheet, PDF (296/329 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER
M306H7MG-XXXFP/MC-XXXFP/FGFP
17. FLASH MEMORY VERSION
Lock Bit Program Command
This command sets the lock bit for a specified block to “0” (locked).
Write ‘exx7716’ in the first bus cycle and write ‘exxD016’ to the uppermost address of a block (even address,
however) in the second bus cycle, and the lock bit for the specified block is cleared to “0”.
Make sure the address value specified in the first bus cycle is the same uppermost block address that is specified
in the second bus cycle.
Figure 17.10 shows an example of a lock bit program flowchart. The lock bit status (lock bit data) can be read
using the Read Lock Bit Status command.
Check the FMR0 register’s FMR00 bit to see if writing has finished.
For details about the lock bit function, and on how to set the lock bit to “1”, refer to “Data Protect Function.”
Start
Write command code ‘xx7716’ to
the uppermost block address
Write ‘xxD016’ to the uppermost
block address
NO
FMR00=1?
YES
Full status check
Lock bit program completed
Note: Write the command code and data at even number.
Figure 17.10 Lock Bit Program Command
Rev.2.10 Oct 25, 2006 Page 296 of 326
REJ03B0152-0210