Renesas M16C/62P Hardware Manual page 266

Renesas 16-bit single-chip microcomputer
Hide thumbs Also See for M16C/62P:
Table of Contents

Advertisement

M16C/62P Group (M16C/62P, M16C/62PT)
Procedure to Enter EW1 Mode
NOTES:
1. In EW1 mode, do not enter memory expansion or boot mode.
2. In CPU rewrite mode, set the CM06 bit in the CM0 register and the CM17 to 6 bits in the
CM1 register to CPU clock frequency of 10.0 MHz or less. Set the PM17 bit in the PM1
register to "1" (with wait state).
3. Set the FMR01 bit to "1" immediately after setting it to "0". Do not generate an interrupt or a
DMA transfer between setting the bit to "0" and setting it to "1".
Set the FMR11 bit to "1" immediately after setting it to "0" while the FMR01 bit is set to "1".
Do not generate an interrupt or a DMA transfer between setting the FMR11 bit to "0" and
setting it to "1".
Set the FMR01 and FMR11 bits while "H" is applied to the NMI pin.
Figure 22.6 Setting and Resetting of EW1 Mode
R
e
. v
2
3 .
0
S
e
p
0
, 1
2
0
0
4
R
E
J
0
9
B
0
1
8
5
0 -
2
3
0
Z
Program in the ROM
Single-chip mode
Set the CM0, CM1, PM1 registers
Set the FMR01 bit to "1" (CPU rewrite mode
enabled) after writing "0"
Set the FMR11 bit to "1" (EW1 mode) after writing
(3)
"0" (EW1 mode)
Execute the software commands
Set the FMR01 bit to "0"
(CPU rewrite mode disabled)
page 252
f o
3
6
4
22. Flash Memory Version
(1)
(2)

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/62pt

Table of Contents