R01UH0092EJ0110 Rev.1.10
Page 687 of 807
Jul 31, 2012
M16C/64C Group
30. Flash Memory
30.8.5
Suspend Function
The suspend function suspends automatic programming and erasure. It can be used for an interrupt
operation because program ROM 1, program ROM 2, and data flash can be read while automatic
programming or erasure is suspended. Enable the interrupts used to enter suspend mode beforehand.
The program command, erase command, and lock bit program command are subjects for suspend.
Suspend operation is the same for the program command and lock bit program command, so both
commands are described together as program suspend.
Do not suspend again in suspend mode. Table 30.15 lists Operation after Command is Issued during
Suspend.
Note:
1.
If the command sequence error occurs after executing block erase, program, or lock bit program
commands mistakenly during program suspend. Execute the clear status register command, then
restart suspend.
Table 30.15
Operation after Command is Issued during Suspend
Suspend
Command
Operation
Blocks erased or programmed
before suspend
Other blocks
Erase suspend
(Suspend while
executing erase
command)
Block erase
The command is not executed. A command sequence error occurs.
Program
The command is not executed.
A command sequence error
occurs.
The command can be executed.
Program suspend does not start or
an error does not occur even
when setting the FMR31 bit to 1
(suspend request).
Lock bit program
The command is not executed.
A command sequence error
occurs.
The command can be executed.
Read array
The command can be executed.
Read status register
Clear status register
Read lock bit status
The command is not executed. A
command sequence error occurs.
The command can be executed.
Block blank check
Do not execute the command.
Program suspend
(Suspend while
executing program
or lock bit program
command)
Block erase
The command is not executed. A command sequence error occurs.
(1)
Program
Lock bit program
Read array
The command can be executed.
Read status register
Clear status register
Do not execute the command.
(1)
Read lock bit status
Do not execute the command.
Block blank check
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...