Flash Control Registers
371
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
F021 Level 2 Flash Module Controller (L2FMC)
Table 7-30. Flash Module Status Register (FMSTAT) Field Descriptions (continued)
Bit
Field
Value
Description
10
EV
Erase Verify
1
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
CV
Compact Verify
1
When set, indicates that a sector contains one or more bits in depletion after an erase operation
with CMPV_ALLOWED set. During compact verify command, this flag is set immediately if a bit is
found to be 1.
8
BUSY
Busy
1
When set, this bit indicates that a program, erase, or suspend operation is being processed.
7
ERS
Erase Active
1
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
1
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
1
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.
4
CSTAT
Command Status
1
Once the FSM starts any failure will set this bit. When set, this bit informs the host that the
program, erase, or validate sector command failed and the command was stopped. This bit is
cleared by the Clear Status command. For some errors, this will be the only indication of an FSM
error because the cause does not fall within the other error bit types.
3
VOLTSTAT
Core Voltage Status
1
When set, this bit indicates that the core voltage generator of the pump power supply dipped below
the lower limit allowable during a program or erase operation. This bit is cleared by the Clear Status
command.
2
ESUSP
Erase Suspended
1
When set, this bit indicates that the Flash module has received and processed an erase suspend
operation. This bit remains set until the erase resume command has been issued or until the
Clear_More command is run.
1
PSUSP
Program Suspended
1
When set, this bit indicates that the Flash module has received and processed a program suspend
operation. This bit remains set until the program resume command has been issued or until the
Clear_More command is run.
0
SLOCK
Sector Lock Status
1
When set, this bit indicates that the operation was halted because the target sector was locked for
erasing and programming either by the sector protect bit or by OTP write protection disable bits.
(BSE bits in the FBSE register or OTPPROTDIS bits in the FBAC register). This bit is cleared by
the Clear Status command.
No SLOCK FSM error will occur if all sectors in a bank erase operation are set to 1. All the sectors
will be checked but no SLOCK will be set if no operation occurs due to the SECT_ERASED bits
being set to all 1s. A SLOCK error will occur if attempting to do a sector erase with either BSE is
cleared or SECT_ERASED is set.