Suspend Function - Renesas M16C/64C User Manual

Table of Contents

Advertisement

M16C/64C Group
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.
Table 30.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.
R01UH0092EJ0110 Rev.1.10
Jul 31, 2012
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
30. 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 687 of 807
(1)

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/60 seriesM16c series

Table of Contents