Download Print this page

Renesas M16C/50 Series User Manual page 713

Advertisement

M16C/5L Group, M16C/56 Group
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.
Figure 26.13 Lock Bit Program Flowchart in EW1 Mode (Suspend Function Enabled)
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
Start
I flag ← 0
Write 0 and then 1
to the FMR30 bit
Write the command code
XX77h to BA address
Write XXD0h to BA address
I flag ← 1
NOP instruction × 6
FMR31 ← 0
FMR31 = 0 ?
Yes
Full status check
Program completed
Maskable interrupt
Interrupt
Access flash memory
disabled
Suspend
enabled
Interrupt
enabled
Command
restart
No
26. Flash Memory
(1)
REIT
Page 676 of 803

Advertisement

loading