6
6-6
INTERNAL MEMORY
32180 Group User’s 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 (H’7070) 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.
Summary of Contents for M32R/ECU Series
Page 17: ...12 This page is blank for reasons of layout...
Page 712: ...CHAPTER 18 OSCILLATOR CIRCUIT 18 1 Oscillator Circuit 18 2 Clock Generator Circuit...
Page 794: ...CHAPTER 22 TYPICAL CHARACTERISTICS...
Page 796: ...APPENDIX 1 MECHANICAL SPECIFICAITONS Appendix 1 1 Dimensional Outline Drawing...
Page 798: ...APPENDIX 2 INSTRUCTION PROCESSING TIME Appendix 2 1 32180 Instruction Processing Time...
Page 802: ...APPENDIX 3 PROCESSING OF UNUSED PINS Appendix 3 1 Example Processing of Unused Pins...