Tool/software: TI C/C++ Compiler
please explain about Linker setting and teach how can i extend Program RAM
In "Technical Reference Manual", we have:
MSS_TCMA_ROM 0x0000_0000 0x0001_7FFF 128KiB MSS_TCMA_ROM (TCMA) Program ROM (refer to ROM Eclipsing section)
MSS_TCMA_RAM 0x0020_0000 0x07FF_FFFF 512KiB MSS_TCMA_RAM (TCMA) size varies based on device and DSS_L3 (L3) sharing options configured (refer to ROM Eclipsing section)
MSS_TCMB 0x0800_0000 0x0C1F_FFFF 192KiB MSS_TCMB (TCMB)
DSS_L3RAM 0x5100_0000 0x51FF_FFFF 2MB DSS_L3RAM (L3) shared memory space
In lab03 OD demo, we have r4f_linker.cmd as below
/* Memory Map */
MEMORY{
VECTORS (X) : origin=0x00000000 length=0x00000100
PROG_RAM (RX) : origin=0x00000100 length=0x0003FF00
DATA_RAM (RW) : origin=0x08000000 length=0x00030000
L3_RAM (RW) : origin=0x51000000 length=0x000A0000
HS_RAM (RW) : origin=0x52080000 length=0x8000
}
- Why Program_RAM in "Linkder" overlap ROM address in "Tech Ref Manual" ?
Is this software run in ROM or RAM ?
- if I would like to load ROM from external flash and run in RAM, what is the correct setting?
- if my mss software overflow 512KB and I would like use L3 RAM for Program, could you please give me example ?