English
Language : 

M16C65 Datasheet, PDF (760/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
request
Write the command code
XX77h to the highest-order
block address
I flag ← 1
Interrupt
enabled (2)
Write XXD0h to the highest-
order block address
No
FMR00 = 1 ?
Yes
Full status check
Program completed
Maskable interrupt (1)
FMR00 = 0 ?
Yes
FMR31 ← 1 (3)
No
Suspend
request
No
FMR33 = 1 ?
Access flash memory
Yes
Program suspend accepted
Access flash memory
FMR31 ← 0
Command
restart
REIT
Notes :
1. In EW0 mode, set the interrupt vector table for interrupts to be used and the interrupt routine in areas other than flash memory.
2. When interrupts are not used, an instruction to enable interrupts are not necessary.
3. Program is not suspended until td(SR-SUS) elapses after the FMR31 bit is set to 1.
Figure 30.12 Lock Bit Program Flowchart in EW0 Mode (Suspend Function Enabled)
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 725 of 791