RX610 Group
26. ROM (Flash Memory for Code Storage)
R01UH0032EJ0120 Rev.1.20
Page 839 of 1006
Feb 20, 2013
26.2.13
Flash P/E Status Register (FPESTAT)
b7
b6
b5
b4
b3
b2
b1
b0
Value after reset:
0
0
0
0
0
0
0
0
Address: 007F FFCCh
b15
b14
b13
b12
b11
b10
b9
b8
Value after reset:
0
0
0
0
0
0
0
0
—
—
—
—
—
—
—
—
PEERRST[7:0]
Bit
Symbol
Bit Name
Description
R/W
b7 to b0
PEERRST[7:0] P/E Error Status
01h: Programming error against areas protected by a lock bit
02h: Programming error due to sources other than the lock bit protection
11h: Erasure error against areas protected by a lock bit
12h: Erasure error due to sources other than the lock bit protection
(Values other than above are reserved)
R
b15 to b8
Reserved
These bits are always read as 0 and cannot be modified.
R
FPESTAT is a register to indicate the result of the programming/erasure processing for the ROM/data flash.
When on-chip ROM is disabled, the data read from FPESTAT is 0000h and writing is disabled.
FPESTAT is initialized by a reset, or when the FRESET bit in FRESETR is set to 1.
PEERRST[7:0] Bits (P/E Error Status)
These bits are used to indicate the reason of an error that occurs during the programming/erasure processing for the
ROM/data flash.
The value of the PEERRST[7:0] bits is valid only when the ERSERR bit or PRGERR bit in FSTATR0 is 1. The value of
the reason of the past error is retained in the PEERRST[7:0] bits when the ERSERR bit and PRGERR bit is 0.