Memory Map; Location Of Flash Ecc Bits - Texas Instruments TMS570LC4357 Technical Reference Manual

Tms570lc43 series 16/32-bit risc flash microcontrollers
Table of Contents

Advertisement

www.ti.com
7.5

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 CPUs 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 storage such as EEPROM Emulation.

7.5.1 Location of Flash ECC Bits

The ECC bits are packed in their memory space as shown in
NOTE: Unlike previous versions of this module, all the ECC bytes corresponding to the address and
size of access are returned. For example, if a Load Multiple (LDM) was used to fetch
32 bytes of ECC, all of the actual bytes corresponding to the range of the access are
returned. There is no replication of the bytes returned.
64– bit data word 5
0x00000028
0x00000020
64– bit data word 4
0x00000018
64– bit data word 3
0x00000010
64– bit data word 2
0x00000008
64– bit data word 1
0x00000000
64– bit data word 0
0xF0200028
0xF0200020
0xF0200018
0xF0200010
0xF0200008
0xF0200000
SPNU563A – March 2018
Submit Documentation Feedback
Figure 7-1. ECC Organization for Bank 0-1 (288-Bits Wide)
32-bit Read
ECC4 ECC5 ECC6 ECC7
0xF0400004
ECC0 ECC1ECC2 ECC3
0xF0400000
Figure 7-2. ECC Organization for Bank 7 (72-Bits Wide)
64 – bit data word 5
64 – bit data word 4
64 – bit data word 3
64 – bit data word 2
64 – bit data word 1
64 – bit data word 0
Copyright © 2018, Texas Instruments Incorporated
Figure 7-1
Big Endian
16-bit Read
0xF0400004
0xF0400002
0xF0400000
Big Endian
8-bit Read
0xF0100005
0xF0100004
0xF0100003
0xF0100002
0xF0100001
0xF0100000
F021 Level 2 Flash Module Controller (L2FMC)
Memory Map
and
Figure
7-2.
8-bit Read
0xF0400005
0xF0400004
0xF0400003
0xF0400002
ECC4
ECC5
0xF0400001
ECC2
ECC3
ECC0
ECC1
0xF0400000
ECC5
ECC4
ECC3
ECC2
ECC1
ECC0
ECC5
ECC4
ECC3
ECC2
ECC1
ECC0
345

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS570LC4357 and is the answer not in the manual?

Table of Contents

Save PDF