Control Registers
266
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
F021 Flash Module Controller (FMC)
5.7.2 Flash Error Detection and Correction Control Register 1 (FEDACCTRL1)
This register controls ECC event detection for the main Flash banks. For the equivalent register that
controls ECC event detection for the EEPROM Emulation Flash bank (bank 7), see
Figure 5-9. Flash Error Detection and Correction Control Register 1 (FEDACCTRL1) [offset = 08h]
31
25
24
Reserved
SUSP_IGNR
R-0
R/WP-0
23
20
19
16
Reserved
EDACMODE
R-0
R/WP-Ah
15
11
10
9
8
Reserved
EOFEN
EZFEN
EPEN
R-0
R/WP-0
R/WP-0
R/WP-0
7
4
3
0
Reserved
EDACEN
R-0
R/WP-5h
LEGEND: R/W = Read/Write; R = Read only; WP = Write in Privilege Mode; -
n
= value after reset
Table 5-14. Flash Error Detection and Correction Control Register 1 (FEDACCTRL1)
Field Descriptions
Bit
Field
Value
Description
31-25
Reserved
0
Reads return 0. Writes have no effect.
24
SUSP_IGNR
Suspend Ignore
In emulation mode, for example, viewing memory in the debugger's window, the CPU
suspend signal is set. This bit determines whether the CPU suspend signal is ignored by the
Flash module.
0
CPU suspend signal blocks error bits setting and unfreezing.
The Flash module blocks all errors from setting the error bits in emulation mode and blocks
the unfreezing of the bits and registers by reading the FUNC_ERR_ADD register.
1
CPU suspend has no effect on error bit setting and unfreezing.
The Flash module ignores the CPU suspend signal and allows the error bits to set even in
emulation mode. It also allows the Flash module to unfreeze the error bits and other registers
by reading the FUNC_ERR_ADD register even in emulation mode.
23-20
Reserved
0
Reads return 0. Writes have no effect.
19-16
EDACMODE
Error Correction Mode for the main Flash banks. For EEPROM Emulation Flash bank (bank
7), see
.
5h
Single-bit errors during reads from OTP, ECC and the mirrored space (starting at
0x20000000) of banks 0 through 6, will be treated as uncorrectable errors by the Flash
wrapper. The wrapper will assert an ESM group 3 error on channel 7 and the ERROR pin
will be activated. No abort will be taken by the CPU.
All Other Values Single-bit errors during reads from OTP, ECC and the mirrored space (starting at
0x20000000) of banks 0 through 6, will be treated as correctable errors by the Flash
wrapper. The wrapper will assert an ESM group 1 error on channel 6. The single-bit error will
be corrected.
Note:
This mode does not affect reads from the main program Flash starting at address 0.
Note:
Reading ECC bits will generate an ECC error based on the contents of the 8 ECC bits
and the 64 data bits they protect.
15-11
Reserved
0
Reads return 0. Writes have no effect.