Renesas M16C/62P Hardware Manual page 274

Renesas 16-bit single-chip microcomputer
Hide thumbs Also See for M16C/62P:
Table of Contents

Advertisement

M16C/62P Group (M16C/62P, M16C/62PT)
22.3.5.8 Read Lock Bit Status Command (71h)
The read lock bit status command reads the lock bit state of a specified block.
By writing "xx71h" in the first bus cycle and "xxD0h" to the highest-order even address 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 22.11 shows a flow chart of the read lock bit status command programming.
Figure 22.11 Read Lock Bit Status Command
R
e
. v
2
3 .
0
S
e
p
0
, 1
2
0
0
4
R
E
J
0
9
B
0
1
8
5
0 -
2
3
0
Z
Write the command code "xx71h"
Write "xxD0h" to the highest-
order block address
FMR00=1?
FMR16=0?
Block is locked
NOTES:
1. Write the command code and data to even addresses.
page 260
f o
3
6
4
Start
NO
YES
NO
YES
Block is not locked
22. Flash Memory Version

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/62pt

Table of Contents