Download Print this page

Renesas M16C/50 Series User Manual page 723

Advertisement

M16C/5L Group, M16C/56 Group
26.8.6.7
Read Lock Bit Status
The read lock bit status command is used to read the lock bit state of a specified block.
By writing xx71h in the first bus cycle and xxD0h to the highest even address of a block in the second
bus cycle, the FMR16 bit in the FMR1 register stores information on the lock bit status of a specified
block. Read the FMR16 bit after the FMR00 bit in the FMR0 register becomes 1 (ready). Do not
execute other commands while the FMR00 bit is 0.
Figure 26.22 shows a flowchart of the Read Lock Bit Status Command.
Figure 26.22 Read Lock Bit Status Command
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
Start
Write command code xx71h
to X address
Write xxD0h to BA address
No
FMR00 = 1?
Yes
Read the FMR16 bit
Read lock bit status
completed
26. Flash Memory
Page 686 of 803

Advertisement

loading