ST10F272B_12 STMICROELECTRONICS [STMicroelectronics], ST10F272B_12 Datasheet - Page 32

no-image

ST10F272B_12

Manufacturer Part Number
ST10F272B_12
Description
16-bit MCU with 256 Kbyte Flash memory and 12/20 Kbyte RAM
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
Internal Flash memory
5.4
5.4.1
32/188
Registers description
Flash control register 0 low
The Flash Control Register 0 Low (FCR0L) together with the Flash Control Register 0 High
(FCR0H) is used to enable and to monitor all the write operations on the IFLASH. The user
has no access in write mode to the Test-Flash (B0TF). Besides, Test-Flash block is seen by
the user in Bootstrap Mode only.
FCR0L (0x08 0000)
Table 7.
BSY0
LOCK
15
Bit
14
Flash control register 0 low
13
Bank 0 Busy (IFLASH)
This bit indicates that a write operation is running on Bank 0 (IFLASH). It is
automatically set when bit WMS is set. Setting Protection operation sets bit BSY0
(since protection registers are in this Block). When this bit is set, every read
access to Bank 0 will output invalid data (software trap 009Bh), while every write
access to the Bank will be ignored. At the end of the write operation or during a
Program or Erase Suspend this bit is automatically reset and the Bank returns to
read mode. After a Program or Erase Resume this bit is automatically set again.
Flash Registers Access Locked
When this bit is set, it means that the access to the Flash Control Registers
FCR0H/-FCR1H/L, FDR0H/L-FDR1H/L, FARH/L and FER is locked by the FPEC:
any read access to the registers will output invalid data (software trap 009Bh) and
any write access will be ineffective. LOCK bit is automatically set when the Flash
bit WMS is set.
This is the only bit the user can always access to detect the status of the Flash:
once it is found low, the rest of FCR0L and all the other Flash registers are
accessible by the user as well.
Note that FER content can be read when LOCK is low, but its content is updated
only when also BSY0 bit is reset.
12
11
reserved
Doc ID 11917 Rev 3
10
9
FCR
8
7
Function
6
5
LOCK
R
4
ST10F272B/ST10F272E
res.
3
Reset Value: 0000h
res.
2
BSY0
R
1
res.
0
:

Related parts for ST10F272B_12