R01UH0092EJ0110 Rev.1.10
Page 683 of 807
Jul 31, 2012
M16C/64C Group
30. Flash Memory
Figure 30.12 Block Erase Flowchart in EW1 Mode (Suspend Function Enabled)
Start
Write command code xx20h
to X address
Write xxD0h to BA address
FMR31 = 0 ?
Full status check
Block erase 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
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...