EasyManuals Logo

Renesas M32R/ECU Series User Manual

Renesas M32R/ECU Series
839 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #135 background imageLoading...
Page #135 background image
6
6-6
INTERNAL MEMORY
32180 Group Users Manual (Rev.1.0)
6.4 Registers Associated with the Internal Flash Memory
This status register is included in the internal flash memory, and can be enabled for read by writing the Read
Status command (H7070) to any address of the internal flash memory. For details, see Section 6.5, Program-
ming the Internal Flash Memory.
Flash Status Register 2 (FSTAT2) consists of the following four read-only status bits that indicate the operation
condition of the internal flash memory.
(1) FBUSY (Flash Busy) bit (Bit 8)
The FBUSY bit is used to determine whether the operation on the internal flash memory is finished when it is
being programmed or erased. When FBUSY = "0", it means that the programming or erase operation is being
executed; when FBUSY = "1", the operation is finished.
(2) ERASE (Erase status) bit (Bit 10)
The ERASE bit is used to determine after execution of processing whether the erase operation performed on
the internal flash memory resulted in an error. When ERASE = "0", it means that the erase operation termi-
nated normally; when ERASE = "1", the erase operation terminated in an error.
(3) WRERR1 (Write status 1) bit (Bit 11)
The WRERR1 bit is used to determine after completion of processing whether the programming operation
performed on the internal flash memory resulted in an error. When WRERR1 = "0", it means that the pro-
gramming operation terminated normally; when WRERR1 = "1", the programming operation terminated in an
error.
The condition under which WRERR1 is set to "1" is when any bit other than those that must be "0" is found to
be "0" by comparison between the write data and the data in the internal flash memory.
(4) WRERR2 (Write status 2) bit (Bit 12)
The WRERR2 bit is used to determine after execution of processing whether the programming operation
performed on the internal flash memory resulted in an error. When WRERR2 = "0", it means that the pro-
gramming operation terminated normally; when WRERR2 = "1", the programming operation terminated in an
error.
The condition under which WRERR2 is set to "1" is when the internal flash memory cannot be written to even
by repeating the programming operation a specified number of times.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas M32R/ECU Series and is the answer not in the manual?

Renesas M32R/ECU Series Specifications

General IconGeneral
BrandRenesas
ModelM32R/ECU Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals