English
Language : 

M32C86 Datasheet, PDF (434/505 Pages) Renesas Technology Corp – RENESAS 16/32-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M32C/80 SERIES
M32C/86 Group (M32C/86, M32C/86T)
25. Flash Memory Version
25.3.5.8 Read Lock Bit Status Command
The read lock bit status command reads the lock bit state (the lock bit data) of a specified block.
By writing command code "xx7116" in the first bus cycle and "xxD016" to the highest-order even ad-
dress of a block in the second bus cycle, the FMR16 bit in the FMR1 register stores information on
whether or not the lock bit of a specified block is locked. Read the FMR16 bit after the FMR00 bit in the
FMR0 register is set to "1" (ready).
Figure 25.12 shows a flow chart of the read lock bit status command programming.
Start
Write the command code "xx7116"
Write "xxD016" to the highest-
order block address
NO
FMR00=1?
YES
NO
FMR16=0?
YES
Block is locked
Block is not locked
NOTES:
1. Write the command code and data to even addresses.
Figure 25.12 Read Lock Bit Status Command
Rev. 1.00 Sep. 08, 2005 Page 411 of 479
REJ09B0204-0100