Download Print this page

Renesas M16C/50 Series User Manual page 737

Advertisement

M16C/5L Group, M16C/56 Group
26.11.3.10 Software Command
Observe the notes below when using the following commands.
• Program
• Block erase
• Lock bit program
• Read lock bit status
• Block blank check
(a) The FMR00 bit in the FMR0 register indicates the status while executing these commands. Do not
execute other commands while the FMR00 bit is 0 (busy).
(b) Use these commands in 40 MHz on-chip oscillator mode, high-speed mode, medium-speed mode,
and PLL operating mode. Do not change clock modes while the FMR00 bit in the FMR0 register is
0 (busy).
(c) After executing the program, block erase, or lock bit program command, perform a full status check
per command (Do not execute multiple commands or same command more than once before
performing a full status check).
(d) Do not execute the program, block erase, lock bit program, or block blank check command when
either or both bits FMR06 and FMR07 in the FMR0 register are 1 (error).
(e) Do not use these commands in slow read mode (when the FMR22 bit is 1) or low current
consumption read mode (when both bits FMR22 and FMR23 are 1).
26.11.3.11 Program and Erase Cycles and Execution Time
Execution time of the program, block erase, and lock bit program commands becomes longer as the
number of programming and erasing increases.
26.11.3.12 Suspending the Auto-Erase and Auto-Program Operations
When the program, block erase, and lock bit program commands are suspended, the blocks for
those commands must be erased. Execute the program and lock bit program commands again after
erasing.
Those commands are suspended by the following reset or interrupts:
• Hardware, power-on, voltage monitor 0, voltage monitor 2, oscillator stop detect, watchdog timer,
software resets.
• NMI , watchdog timer, oscillator stop/restart detect, and voltage monitor 2 interrupts.
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
26. Flash Memory
Page 700 of 803

Advertisement

loading