English
Language : 

M16C1N Datasheet, PDF (203/238 Pages) Renesas Technology Corp – RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/10 SERIES
M16C/1N Group
19. Flash Memory Version
(EW0 mode)
Start
FMR40=1
Write the command code ’xx2016’
(Note 1)
Write ’xxD016’ to uppermost block
address (Note1)
NO
FMR00=1?
YES
Full status check (Note 2, 3)
Block erase completed
Interrupt (Note 4)
FMR41=1
NO
FMR46=1?
YES
Access to flash memory
FMR41=0
REIT
(EW1 mode)
Start
FMR40=1
Write the command code ’xx2016’
(Note 1)
Write ’xxD016’ to the uppermost
block address (Note 1)
Interrupt (Note 4)
Access to flash memory
REIT
FMR41=0
NO
FMR00=1?
YES
Full status check (Note 2, 3)
Block erase completed
Note 1: Write the command code and data at even number.
Note 2: See Figure 19.12 Full status check flowchart, handling each error generated.
Note 3: When the erase error occurred, repeat the operation executing the clear status register
command and then the block erase command in succession at least 3 times until the error is
eliminated.
Note 4: In EW0 mode, allocate the interrupt vector table of used interrupt to the internal RAM.
Figure 19.11 Block erase flowchart (when using the erasure suspend feature)
Rev.1.00 Oct 20, 2004 page 191 of 222
REJ09B0007-0100Z