Flash Control Registers
381
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
F021 Level 2 Flash Module Controller (L2FMC)
7.10.33 FSM Sector Register 1 (FSM_SECTOR1)
This is a banked register. A separate register is implemented for each bank, but they all occupy the same
address. The correct bank must be selected in the FMAC register before reading or writing this register.
See
Figure 7-43. FSM Sector Register 1 (FSM_SECTOR1) (offset = 2C0h)
31
16
SECT_ERASED[31:16]
R/WP-1
15
0
SECT_ERASED[15:0]
R/WP-1
LEGEND: R/W = Read/Write; WP = Write in Privilege Mode; -
n
= value after reset
Table 7-45. FSM Sector Register 1 (FSM_SECTOR1) Field Descriptions
Bit
Field
Value
Description
31-0
SECT_ERASED
Sectors Erased. Each bit corresponds to a Flash sector in the bank specified by the
FMAC register. Bit 0 corresponds to sector 0, bit 1 corresponds to sector 1, and so on.
0
During bank erase, each sector whose corresponding bit is 0 will be erased. After bank
erase, the bit corresponding to each sector that is erased will be changed from 0 to 1.
1
During bank erase, each sector whose corresponding bit is 1 will not be erased.
NOTE:
If the bank has less than 32 sectors, only those many LSB bits of FSM_SECTOR1 are valid.
For EEPROM bank having more than 32 sectors, use this register in conjunction with
FSM_SECTOR2.
7.10.34 FSM Sector Register 2 (FSM_SECTOR2)
This register is applicable to EEPROM bank having more than 32 sectors only. Refer to the device
datasheet to find the number of EEPROM sectors in a particular device.
Figure 7-44. FSM Sector Register 2 (FSM_SECTOR2) (offset = 2C4h)
31
16
SECT_ERASED[63:48]
R/WP-1
15
0
SECT_ERASED[47:32]
R/WP-1
LEGEND: R/W = Read/Write; WP = Write in Privilege Mode; -
n
= value after reset
Table 7-46. FSM Sector Register 2 (FSM_SECTOR2) Field Descriptions
Bit
Field
Value
Description
31-0
SECT_ERASED
Sectors Erased. Each bit corresponds to a Flash sector in the bank specified by the
FMAC register. Bit 0 corresponds to sector 32, bit 1 corresponds to sector 33, and so
on.
0
During bank erase, each sector whose corresponding bit is 0 will be erased. After bank
erase, the bit corresponding to each sector that is erased will be changed from 0 to 1.
1
During bank erase, each sector whose corresponding bit is 1 will not be erased.