Download Print this page

Renesas M16C/50 Series User Manual page 716

Advertisement

M16C/5L Group, M16C/56 Group
26.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 26.15 lists Operation after Command is Issued during
Suspend.
Table 26.15
Operation after Command is Issued during Suspend
Suspend
Erase suspend
(Suspend while
executing erase
command)
Program suspend
(Suspend while
executing program
or lock bit program
command)
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.
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
Command
Blocks erased or programmed
before suspend
Block erase
The command is not executed. A command sequence error occurs.
The command is not executed.
Program
A command sequence error
occurs.
The command is not executed.
Lock bit program
A command sequence error
occurs.
Read array
Read status register
The command can be executed.
Clear status register
The command is not executed. A
Read lock bit status
command sequence error occurs.
Block blank check
Do not execute the command.
Block erase
Program
The command is not executed. A command sequence error occurs.
Lock bit program
Read array
The command can be executed.
Read status register
Clear status register
Do not execute the command.
Read lock bit status
Do not execute the command.
Block blank check
26. Flash Memory
Operation
Other blocks
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).
The command can be executed.
The command can be executed.
(1)
Page 679 of 803
(1)

Advertisement

loading