FLCTL_A Registers
566
SLAU356I – March 2015 – Revised June 2019
Copyright © 2015–2019, Texas Instruments Incorporated
Flash Controller A (FLCTL_A)
10.4.28 FLCTL_ERASE_CTLSTAT Register (offset = 00A0h)
Flash Erase Control and Status Register
Figure 10-34. FLCTL_ERASE_CTLSTAT Register
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
CLR_
STAT
ADDR
_ERR
STATUS
r
r
r
r
r
r
r
r
r
r
r
r
w
r-0
r-0
r-0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
TYPE
MODE
STAR
T
r
r
r
r
r
r
r
r
r
r
r
r
rw-0
rw-0
rw-0
w
(1)
Write '1' to CLR_STAT will clear the status bits 18:16 ONLY when erase status (17:16) shows completion state. In all other cases, 'write-
1' will have no effect. This is to allow deterministic behavior
(2)
This bit field is writable
ONLY
when status (17:16) of the FLCTL_ERASE_CTLSTAT shows the Idle state. In all other cases, the bits will
remain locked so as to not disrupt an operation that is in progress.
(3)
Important: Application must ensure that the writes in this mode follow the LSB/MSB loading order within the 128bit address boundary.
See for more details.
(4)
Writes to the START bit will be ignored if the device is in Low-Frequency Active and Low-Frequency LPM0 modes of operation
Table 10-40. FLCTL_ERASE_CTLSTAT Register Description
Bit
Field
Type
Reset
Description
31-20
Reserved
R
NA
Reserved. Reads return 0h
19
CLR_STAT
(1)
W
NA
Write '1' to clear status bits 18-16 of this register
Write '0' has no effect
18
ADDR_ERR
R
0h
If 1, indicates that Erase Operation was terminated due to attempted erase of
reserved memory address
17-16
STATUS
R
0h
Reflects the status of erase operations in the Flash memory
00b = Idle (no program operation currently active)
01b = Erase operation triggered to START but pending
10b = Erase operation in progress
11b = Erase operation completed (status of completed erase remains in this
state unless explicitly cleared by SW)
15-4
Reserved
R
NA
Reserved. Reads return 0h
3-2
TYPE
(2)
RW
0h
Type of memory that erase operation is carried out on (don't care if mass erase
is set to 1)
00b = Main Memory
01b = Information memory
10b = Reserved
11b = Reserved
1
MODE
(2)
RW
0h
Controls erase mode selected by application
0b = Sector Erase (controlled by FLTCTL_ERASE_SECTADDR)
1b = Mass Erase (includes all Main and Information memory sectors that don't
have corresponding WE bits set)
(3)
0
START
(4) (2)
W
NA
Write 1 triggers start of Erase operation