R01UH0092EJ0110 Rev.1.10
Page 684 of 807
Jul 31, 2012
M16C/64C Group
30. Flash Memory
Figure 30.13 Lock Bit Program Flowchart in EW1 Mode (Suspend Function Enabled)
Start
Write the command code
XX77h to BA address
Write XXD0h to BA address
FMR31 = 0 ?
Full status check
Program completed
No
Yes
Write 0 and then 1
to the FMR30 bit
Maskable interrupt
(1)
REIT
Access flash memory
FMR31
←
0
Note:
1. An interrupt request is not accepted until td(SR-SUS) elapses after the interrupt request is
generated. Enable interrupts used to enter suspend mode beforehand.
I flag
←
1
Suspend
enabled
Interrupt
enabled
Command
restart
NOP instruction
×
6
I flag
←
0
Interrupt
disabled
Summary of Contents for M16C Series
Page 846: ...M16C 64C Group R01UH0092EJ0110...