Control Registers
288
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
F021 Flash Module Controller (FMC)
5.7.25 EEPROM Emulation Address Register (FEMU_ADDR)
The Flash module controller includes hardware support computing the check bits for ECC, based on the
data and address being programmed into the EEPROM emulation array. To utilize this capability, the
address to be programmed is written to the FEMU_ADDR register and the data to be programmed is
written to the FEMU_DMSW and FEMU_DLSW registers. The write to FEMU_DLSW triggers an ECC
calculation and the resulting check bits are available in the FEMU_ECC register. The value from
FEMU_ECC can then be used to program the check bits into the EEPROM emulation array for the
particular data word over which they were calculated.
Figure 5-32. EEPROM Emulation Address Register (FEMU_ADDR) [offset = 68h]
31
22
21
16
Reserved
EMU_ADDR[21:16]
R-0
R/WP-0
15
3
2
0
EMU_ADDR[15:3]
Reserved
R/WP-0
R-0
LEGEND: R/W = Read/Write; R = Read only; WP = Write in Privilege mode; -
n
= value after reset
Table 5-37. EEPROM Emulation Address Register (FEMU_ADDR) Field Descriptions
Bit
Field
Value
Description
31-22
Reserved
0
Reserved. Writes have no effect. It is not necessary to mask these upper ten bits when
writing the address of bank 7 locations (0xF002xxxx); however, these bits are not used in
calculating the ECC value and will read back as 0.
21-3
EMU_ADDR
0-7 FFFFh
EEPROM Emulation Address.
The address of the 64-bit data word over which ECC is to be calculated is written to this
field. Note that only bits 21:3 are actually written and used for the calculation. The other bits
(31:22 and 2:0) are ignored, but do not need to be masked off before being written to this
register.
This register is also used in diagnostic modes 1 and 2 where it supplies the address bits for
checking the SECDED hardware.
2-0
Reserved
0
Reserved. Writes have no effect. The lower three bits of the CPU address are not used in
the ECC calculation to align the data on a 64-bit boundary. These bits will read back as 0.