English
Language : 

M16C1N Datasheet, PDF (196/238 Pages) Renesas Technology Corp – RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/10 SERIES
M16C/1N Group
19. Flash Memory Version
EW1 mode operation procedure
Program in ROM
Single-chip mode
Set CM0, CM1, and PM1 registers (Note 1)
Set the FMR01 bit by writing "0" and then "1" (CPU
rewrite mode enabled)
Set the FMR11 bit by writing "0" and then "1" (EW1
mode) (Note 2)
Execute software commands
Write "0" to the FMR01 bit
(CPU rewrite mode disabled)
Note 1: Select 10 MHz or less for CPU clock using the CM0 register’s CM06 bit and CM1
register’s CM17 to 6 bits. Also, set the PM1 register’s PM17 bit to "1" (with wait
state).
Note 2: To set the FMR01 bit to "1", write "0" and then "1" in succession. Make sure no
interrupts will occur before writing "1" after writing "0".
Figure 19.7 Setting and resetting of EW1 mode
Rev.1.00 Oct 20, 2004 page 184 of 222
REJ09B0007-0100Z