ST10F272M-4Q3 STMICROELECTRONICS [STMicroelectronics], ST10F272M-4Q3 Datasheet - Page 34

no-image

ST10F272M-4Q3

Manufacturer Part Number
ST10F272M-4Q3
Description
16-bit MCU with 256 Kbyte Flash memory and 20 Kbyte RAM
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
Internal Flash memory
5.4.10
5.4.11
34/176
Flash address register high (FARH)
FARH (0x08 0012)
Table 17.
Flash error register (FER)
The Flash Error register, as well as all the other Flash registers, can be read only once the
LOCK bit of register FCR0L is low. Nevertheless, the FER content is updated after
completion of the Flash operation, that is, when BSY0 is reset. Therefore, the FER content
can only be read once the LOCK and BSY0 bits are cleared.
FER (0x8 0014h)
Table 18.
4:0 ADD[20:16]
Bit
Bit
0
1
2
3
15
15
PGER
Name
ERER
14
Name
14
10ER
ERR
Flash address register high
Flash error register
13
13
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.
Address 20:16
These bits must be written with the Address of the Flash location to program in the
following operations: Word Program and Double Word Program.
12
12
-
11
11
Reserved
10
10
-
9
9
FCR
FCR
WPF RESER SEQER
RC
8
8
RC
7
7
Function
Function
RC
6
6
5
5
Reserved
-
ADD20 ADD19 ADD18 ADD17 ADD16
RW
4
4
10ER PGER ERER
RW
RC
3
3
Reset value: 0000h
Reset value: 0000h
RW
RC
2
2
ST10F272M
RW
RC
1
1
RW
ERR
RC
0
0

Related parts for ST10F272M-4Q3