M16C/64C Group
Write command code xx20h
Write xxD0h to BA address
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 30.12 Block Erase Flowchart in EW1 Mode (Suspend Function Enabled)
R01UH0092EJ0110 Rev.1.10
Jul 31, 2012
Start
I flag ← 0
Write 0 and then 1
to the FMR30 bit
to X address
I flag ← 1
NOP instruction × 6
FMR31 ← 0
FMR31 = 0 ?
Yes
Full status check
Block erase completed
Maskable interrupt
Interrupt
Access flash memory
disabled
Suspend
enabled
Interrupt
enabled
Command
restart
No
30. Flash Memory
(1)
REIT
Page 683 of 807