st10f272z2 STMicroelectronics, st10f272z2 Datasheet - Page 36

no-image

st10f272z2

Manufacturer Part Number
st10f272z2
Description
16-bit Mcu With 256 Kbyte Flash Memory And 20 Kbyte Ram
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
st10f272z2Q3
Manufacturer:
E-CMOS
Quantity:
10 000
Part Number:
st10f272z2Q3
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
st10f272z2T3
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
st10f272z2T3
Manufacturer:
ST
0
Internal Flash memory
5.4.11
36/189
Flash error register
Flash Error register, as well as all the other Flash registers, can be properly read only once
LOCK bit of register FCR0L is low. Nevertheless, its content is updated when also BSY0 bit
is reset as well; for this reason, it is definitively meaningful reading FER register content only
when LOCK bit and BSY0 bit are cleared.
FER (0x8 0014h)
Table 19.
ERR
ERER
PGER
10ER
SEQER
RESER
WPF
15
Bit
14
13
Flash error register
reserved
Write Error
This bit is automatically set when an error occurs during a Flash write operation or
when a bad write operation setup is done. Once the error has been discovered
and understood, ERR bit must be software reset.
Erase Error
This bit is automatically set when an Erase error occurs during a Flash write
operation. This error is due to a real failure of a Flash cell, that can no more be
erased. This kind of error is fatal and the sector where it occurred must be
discarded. This bit has to be software reset.
Program Error
This bit is automatically set when a Program error occurs during a Flash write
operation. This error is due to a real failure of a Flash cell, that can no more be
programmed. The word where this error occurred must be discarded. This bit has
to be software reset.
1 over 0 Error
This bit is automatically set when trying to program at 1 bits previously set at 0
(this does not happen when programming the Protection bits). This error is not due
to a failure of the Flash cell, but only flags that the desired data has not been
written. This bit has to be software reset.
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 software
reset.
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 software reset.
Write Protection Flag
This bit is automatically set when trying to program or erase in a sector write
protected. In case of multiple Sector Erase, the not protected sectors are erased,
while the protected sectors are not erased and bit WPF is set. This bit has to be
software reset.
12
11
10
9
FCR
WPF RESER SEQER
RC
8
RC
7
Function
RC
6
5
reserved
4
10ER PGER ERER
RC
3
Reset value:
RC
2
ST10F272Z2
RC
1
0000h
ERR
RC
0

Related parts for st10f272z2