Hello.
When the device (TMS320C6745) is taken out of reset, he copied data from external flash (W25X32) to internal SHDSPL2RAM - > it's works good.
But the SHDSPL2RAM memory space is only 256-KB and it is not enough for my application.
1) Tell me please, may be not all of section need copy from external flash to the SHDSPL2RAM memory space (Without external SDRAM).
2) If I am using external SDRAM, how to distribute the section between SHDSPL2RAM and SDRAM. For example: section -> text must be locate in SHDSPL2RAM or SDRAM. May be section -> text, can be left on external flash.
This is my cmd file:
MEMORY
{
DSPL2ROM o = 0x00700000 l = 0x00100000 /* 1MB L2 Internal ROM */
DSPL2RAM o = 0x00800000 l = 0x00040000 /* 256kB L2 Internal RAM */
DSPL1PRAM o = 0x00E00000 l = 0x00008000 /* 32kB L1 Internal Program RAM */
DSPL1DRAM o = 0x00F00000 l = 0x00008000 /* 32kB L1 Internal Data RAM */
SHDSPL2ROM o = 0x11700000 l = 0x00100000 /* 1MB L2 Shared Internal ROM */
SHDSPL2RAM o = 0x11800000 l = 0x00040000 /* 256kB L2 Shared Internal RAM */
SHDSPL1PRAM o = 0x11E00000 l = 0x00008000 /* 32kB L1 Shared Internal Program RAM */
SHDSPL1DRAM o = 0x11F00000 l = 0x00008000 /* 32kB L1 Shared Internal Data RAM */
EMIFACS2 o = 0x60000000 l = 0x02000000 /* 32MB Async Data (CS2) */
EMIFACS3 o = 0x62000000 l = 0x02000000 /* 32MB Async Data (CS3) */
EMIFACS4 o = 0x64000000 l = 0x02000000 /* 32MB Async Data (CS4) */
EMIFACS5 o = 0x66000000 l = 0x02000000 /* 32MB Async Data (CS5) */
EMIFBSDRAM o = 0xC0000000 l = 0x10000000 /* 256MB SDRAM Data */
}
SECTIONS
{
.isr_vectors > SHDSPL2RAM
.text > SHDSPL2RAM
.stack > SHDSPL2RAM
.bss > SHDSPL2RAM
.cio > SHDSPL2RAM
.const > SHDSPL2RAM
.data > SHDSPL2RAM
.switch > SHDSPL2RAM
.sysmem > SHDSPL2RAM
.far > SHDSPL2RAM
.args > SHDSPL2RAM
.ppinfo > SHDSPL2RAM
.ppdata > SHDSPL2RAM
/* COFF sections */
.pinit > SHDSPL2RAM
.cinit > SHDSPL2RAM
/* EABI sections */
.binit > SHDSPL2RAM
.init_array > SHDSPL2RAM
.neardata > SHDSPL2RAM
.fardata > SHDSPL2RAM
.rodata > SHDSPL2RAM
.c6xabi.exidx > SHDSPL2RAM
.c6xabi.extab > SHDSPL2RAM
}
I would appreciate if you could give me the examples.
Great Thanks.