M16C/29 Group
21.6.6 DMA Transfer
In EW1 mode, do not perform a DMA transfer while the FMR00 bit in the FMR0 register is set to "0". (the
auto-programming or auto-erasing duration ).
21.6.7 Writing Command and Data
Write the command code and data to even addresses in the user ROM area.
21.6.8 Wait Mode
When entering wait mode, set the FMR01 bit to "0" (CPU rewrite mode disabled) before executing the
WAIT instruction.
21.6.9 Stop Mode
When entering stop mode, the following settings are required:
• Set the FMR01 bit to "0" (CPU rewrite mode disabled) and disable the DMA transfer before setting the
CM10 bit to "1" (stop mode).
• Execute the instruction to set the CM10 bit to "1" (stop mode) and the JMP.B instruction.
Program example BSET
21.6.10 Low Power Consumption Mode and On-chip Oscillator-Low Power Consumption Mode
If the CM05 bit is set to "1" (main clock stopped), do not execute the following commands.
• Program
• Block erase
Rev.1.00 Nov 01,2004
REJ09B0101-0100Z
0, CM1
JMP.B
L1
L1:
Program after exiting stop mode
page 381 of 402
; Stop mode
21. Flash Memory Version