Renesas M16C/62P Series Hardware Manual page 297

6-bit single-chip microcomputer
Table of Contents

Advertisement

M16C/62P Group (M16C/62P, M16C/62PT)
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
3. Set the FMR01 bit to "1" immediately after setting it to "0". Do not generate an interrupt or a
Figure 22.8
Setting and Resetting of EW1 Mode
Rev.2.41
Jan 10, 2006
REJ09B0185-0241
http://www.xinpian.net
Procedure to Enter EW1 Mode
Program in the ROM
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
"0" (EW1 mode)
Execute the software commands
(CPU rewrite mode disabled)
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).
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.
Page 282 of 390
提供单片机解密、IC解密、芯片解密业务
(1)
Single-chip mode
(2)
(3)
Set the FMR01 bit to 0
22. Flash Memory Version
010-62245566 13810019655

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/62pM16c/62pt

Table of Contents