English
Language : 

M16C65 Datasheet, PDF (764/829 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/60
Under development
M16C/65 Group
Preliminary Specification
This is a preliminary specification and is subject to change.
30. Flash Memory
Start
Write 0 and then 1
to the FMR30 bit
Suspend
enabled
Write the command code XX20h to
the desired block address
I flag ← 1
Interrupt
enabled
Write XXD0h to the highest-order
block address
NOP instruction × 6
Maskable interrupt (1)
Access flash memory
REIT
FMR31 ← 0
FMR00 = 1 ?
Yes
Full status check
Command
restart
No
Block erase completed
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.16 Block Erase Flowchart in EW1 Mode (Suspend Function Enabled)
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 729 of 791