NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
LAUNCHXL2 570LC43: LinkerECCRecommendation - VFILL
Answer:
Any line in the memory section that maps to the main FLASH array (no the ECC area..) This means any address between 0x00000000 and 0x003FFFFF.
For example, a simple HALCoGen project will have three memory regions mapped to the main flash array that need VFILL:
VECTORS (X) : origin=0x00000000 length=0x00000020 vfill = 0xffffffff FLASH0 (RX) : origin=0x00000020 length=0x001FFFE0 vfill = 0xffffffff FLASH1 (RX) : origin=0x00200000 length=0x00200000 vfill = 0xffffffff
On the other hand, memory that maps to on chip SRAM, the ECC area, or any other region in the memory map (such as EMIF) do not require a VFILL directive.
STACKS (RW) : origin=0x08000000 length=0x00001500 RAM (RW) : origin=0x08001500 length=0x0002EB00
ECC_VEC (R) : origin=0xf0400000 length=0x4 ECC={ input_range=VECTORS } ECC_FLA0 (R) : origin=0xf0400000 + 0x4 length=0x3FFFC ECC={ input_range=FLASH0 } ECC_FLA1 (R) : origin=0xf0440000 length=0x40000 ECC={ input_range=FLASH1 }
Note that the ECC area of the FLASH arrays are mapped to the high address space - 0xf0400000 - 0xf043FFFF. While these don't get a VFILL directive, they do get an ECC directive as shown above.