Control Registers
284
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
F021 Flash Module Controller (FMC)
5.7.21 Flash Module Status Register (FMSTAT)
Figure 5-28. Flash Module Status Register (FMSTAT) [offset = 54h]
31
24
Reserved
R-0
23
16
Reserved
R-0
15
14
13
12
11
10
9
8
Reserved
ILA
Reserved
PGV
Reserved
EV
Reserved
BUSY
R-0
R-0
R-0
R-0
R-0
R-0
R-0
R-0
7
6
5
4
3
2
1
0
ERS
PGM
INVDAT
CSTAT
VOLTSTAT
ESUSP
PSUSP
SLOCK
R-0
R-0
R-0
R-0
R-0
R-0
R-0
R-0
LEGEND: R = Read only; -
n
= value after reset
Table 5-33. Flash Module Status Register (FMSTAT) Field Descriptions
Bit
Field
Value
Description
31-15
Reserved
0
Reads return 0. Writes have no effect.
14
ILA
Illegal Address
When set, indicates that an illegal address is detected. Five conditions can set the illegal address
flag.
1.
Writing to a hole (unimplemented logical address space) within a Flash bank.
2.
Writing to an address location to an unimplemented Flash space.
3.
Input address for write is decoded to select a different bank from the bank ID register.
4.
The address range does not match the type of FSM command. For example, the erase_sector
command must match the address regions.
5.
TI-OTP address selected but CMD_EN in FSM_ST_MACHINE is not set.
13
Reserved
0
Reads return 0. Writes have no effect.
12
PGV
Program Verify
When set, indicates that a word is not successfully programmed after the maximum allowed
number of program pulses are given for program operation.
11
Reserved
0
Reads return 0. Writes have no effect.
10
EV
Erase Verify
When set, indicates that a sector is not successfully erased after the maximum allowed number of
erase pulses are given for erase operation. During Erase verify command, this flag is set
immediately if a bit is found to be 0.
9
Reserved
0
Reads return 0. Writes have no effect.
8
BUSY
Busy
When set, this bit indicates that a program, erase, or suspend operation is being processed.
7
ERS
Erase Active
When set, this bit indicates that the Flash module is actively performing an erase operation. This bit
is set when erasing starts and is cleared when erasing is complete. It is also cleared when the
erase is suspended and set when the erase resumes.
6
PGM
Program Active
When set, this bit indicates that the Flash module is currently performing a program operation. This
bit is set when programming starts and is cleared when programming is complete. It is also cleared
when programming is suspended and set when programming is resumes.
5
INVDAT
Invalid Data
When set, this bit indicates that the user attempted to program a 1 where a 0 was already present.
This bit is cleared by the Clear Status command.