English
Language : 

ST10F296E Datasheet, PDF (55/346 Pages) STMicroelectronics – High performance 16-bit CPU with DSP functions
ST10F296E
Internal Flash memory
Flash error register (FER)
The Flash error register (and all other Flash registers) can only be properly read once the
LOCK bit of the FCR0L register is low. Nevertheless, its content is updated when the BSY
bits are reset. For this reason, it is meaningful to read the FER register content only when
the LOCK bit and all BSY bits are cleared.
FER (0xE 0014)
FCR
Reset value: 0000h
15 14 13 12 11 10 9 8
7
6
54 3
2
10
Reserved
WPF RESER SEQER Reserved 10ER PGER ERER ERR
-
RC RC
RC
-
RC RC RC RC
) Table 24.
t(s Bit
uc 15-9
Prod t(s) 8
bsolete Produc 7
ct(s) - Obsolete 6
rodu ) - O 5-4
lete P duct(s 3
OObbssoolete Pro 2
FER register description
Bit name
Function
-
Reserved
WPF
Write protection flag
This bit is automatically set when trying to program or erase in a sector
that is write protected. In the case of a multiple sector erase,
unprotected sectors are erased, protected sectors are not erased, and
the WPF bit is set. The WPF bit has to be reset by software.
RESER
Resume error
This bit is automatically set when a suspended program or erase
operation is not resumed correctly due to a protocol error. In this case
the suspended operation is aborted. This bit has to be reset by software.
SEQER
Sequence error
This bit is automatically set when the control registers (FCR1H/L-
FCR0H/L, FARH/L, FDR1H/L-FDR0H/L) are not correctly filled to
execute a valid write operation. In this case no write operation is
executed. This bit has to be reset by software.
-
10ER
Reserved
1 over 0 error
This bit is automatically set when trying to program bits to 1 that have
previously been set to 0 (this does not happen when programming the
protection bits). This error is not due to a failure of the Flash cell. It flags
that the desired data has not been written. The 10ER bit has to be reset
by software.
PGER
Program error
This bit is automatically set when a program error occurs during a Flash
write operation. This error is due to a failure of a Flash cell that can no
longer be programmed. The word where this error occurred must be
discarded. This bit has to be reset by software.
55/346