64 – bit data word 0
0x00000000
0x00000008
0x00000010
0x00000018
0x00000020
ECC0
64 – bit data word 1
64 – bit data word 2
64 – bit data word 3
64 – bit data word 4
64 – bit data word 5
0x00000028
0xF0400000
ECC1
ECC2
0xF0400002
ECC3
ECC4
0xF0400004
ECC5
ECC1
0xF0400000
ECC0
0xF0400001
ECC3
0xF0400002
ECC2
ECC5
ECC4
0xF0400003
0xF0400004
0xF0400005
Little Endian
16-bit Read
8-bit Read
Memory Map
253
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
F021 Flash Module Controller (FMC)
5.4
Memory Map
The Flash module contains the program memory, which is mapped starting at location 0, and one
Customer OTP sector and one TI OTP sector per bank. The Customer OTP sectors may be programmed
by the customer, but cannot be erased. They are typically blank in new parts. The TI OTP sectors are
used to contain manufacturing information. They may be read by the customer but can not be
programmed or erased. The TI OTP sectors contain settings used by the Flash API to setup the Flash
state machine for erase and program operations.
All of these OTP regions are memory-mapped to facilitate ease of access by the CPU. They are memory
mapped to an offset starting at F000 0000h in the CPU’s memory map.
The RWAIT value is used to define the number of wait states for the program-memory Flash. The EWAIT
value is used to define the number of wait states for the data Flash in bank 7. Bank 7 starting at offset
F020 0000h is dedicated for data storages such as EEPROM Emulation.
5.4.1 Location of Flash ECC Bits
The Flash ECC bits can be read starting at address 0xF0400000. The ECC bits are packed in their
memory space as shown in
. The ECC bytes must be read as bytes or halfwords. Reading a
single ECC byte with ECC enabled will actually cause 144 bits to be read from the Flash, and the ECC
bits will be corrected if necessary. Any errors in either of the two double-words accessed will be recorded
in the FEDACSTATUS register (main memory) or the EE_STATUS register (bank 7).
Figure 5-1. ECC Organization for Program Flash (144-Bits Wide)