|
M306H7MG-XXXFP Datasheet, PDF (289/329 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER | |||
|
◁ |
M306H7MG-XXXFP/MC-XXXFP/FGFP
17. FLASH MEMORY VERSION
EW1 mode operation procedure
Program in ROM
Single-chip mode (Note 1)
Set CM0, CM1, and PM1 registers (Note 2)
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 3)
Execute software commands
Write â0â to the FMR01 bit
(CPU rewrite mode disabled)
Note 1: In EW1 mode, do not set the microcomputer in boot mode.
Note 2: 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 3: To set the FMR01 bit to â1â, write â0â and then â1â in succession. Make sure no
interrupts or no DMA transfers will occur before writing â1â after writing â0â.
Write to the FMR01 bit from a program in other than the flash memory. Also write
only when the NMI pin is âHâ level.
Figure 17.6 Setting and Resetting of EW1 Mode
Rev.2.10 Oct 25, 2006 Page 289 of 326
REJ03B0152-0210
|
▷ |