Under development
This document is under development and its contents are subject to change.
M16C/6N5 Group
Read Lock Bit Status Command (71
This command reads the lock bit status of a specified block.
Write "xx71
" in the first bus cycle and write "xxD0
16
address, however) in the second bus cycle, and the lock bit status of the specified block is stored in the
FMR1 register's FMR16 bit. Read the FMR16 bit after the FMR0 register's FMR00 bit is set to "1"
(ready).
Figure 1.22.11 shows an example of a read lock bit status flowchart.
Figure 1.22.11 Read Lock Bit Status Command
Rev.1.00
2003.05.30
page 274
)
16
" to the uppermost address of a block (even
16
Start
Write the command code "xx71
Write "xxD0
" to the uppermost
16
block address
NO
FMR00=1?
YES
NO
FMR16=0?
YES
Locked
Note: Write the command code and data at even number
"
16
Not locked
.
Flash Memory