Renesas 6NM Laptop User Manual


 
Rev.1.10 Jul 01, 2005 page 247 of 318
REJ09B0124-0110
M16C/6N Group (M16C/6NK, M16C/6NM) 20. Flash Memory Version
Under development
This document is under development and its contents are subject to change.
Figure 20.7 Processing Before and After Low Power Dissipation Mode
Transfer a low power dissipation mode program
to a space other the flash memory
Set the FMSTP bit to "1" (the flash memory stops
operating. It is in a low power dissipation state)
(1)
Set the FMR01 bit to "1" after setting it to "0"
(CPU rewrite mode enabled)
Switch the clock source of the CPU clock.
Turn main clock stops.
(2)
Process in low power dissipation mode or
on-chip oscillator low power dissipation mode
(4)
Start Wait Switch
main clock
-
>
until oscillation
-
>
clock source of
oscillation stabilizes the CPU clock
(2)
Set the FMSTP bit to "0" (flash memory operation)
Set the FMR01 bit to "0"
(CPU rewrite mode disabled)
Wait until the flash memory circuit
stabilizes (tps µs)
(3)
Jump to a desired address in the flash memory
Jump to the low power dissipation mode program
transferred to a space other than the flash memory
(In the following steps, use the low power dissipation
mode in a space other than the flash memory.)
Low power dissipation
mode program
NOTES:
1.Set the FMSTP bit in the FMR0 register to "1" after setting the FMR01 bit in the FMR0 register to "1" (CPU rewrite mode).
2.Wait until clock stabilizes to switch clock source of the CPU clock to the main clock or sub clock.
3.Add tps µs wait time by program. Do not access the flash memory during this wait time.
4.Before entering wait mode or stop mode, be sure to set the FMR01 bit to "0" (CPU rewrite disabled).