Hello,
I have spent the past few days trying to locate example codes/projects that illustrate executing code from a programmed flash device using the Spectrum Digitals TMS320C5515 evm development board. Have not been able to locate any code example which specifically uses the TMS320C5515 development board and execute code from its external flash device.
I have used the hex55.exe to create a simple program and have used Code Composer to load it into the external FLASH device and it seems to work(Code << 320k). However, when I try to compile and link my project with Code Composer it states that the code is to large (the project code is >320K).
Here is the command file that I have downloaded from Spectrum Digital for the TMS320C5515 development board.
*-c
/*-stack 0x7000 /* PRIMARY STACK SIZE */
/*-sstack 0x2000 /* SECONDARY STACK SIZE */
/*-heap 0x1000 /* HEAP AREA SIZE */
_RTDX_interrupt_mask = ~0x06000010;
/* Set entry point to Reset vector */
/* - Allows Reset ISR to force IVPD/IVPH to point to vector table. */
/*-e reset_isr */
MEMORY
{
MMR (RW) : origin = 0000000h length = 0000c0h
/* MMRs */
VEC (RX) : origin = 00000C0h length = 000300h
/* on-chip ROM vectors */
DARAM (RW) : origin = 0000400h length = 00fa00h
SARAM_3 (RW) : origin = 0010000h length = 03A000h
SAROM_0 (RX) : origin = 0fe0000h length = 008000h /* on-chip ROM 0 */
SAROM_1 (RX) : origin = 0fe8000h length = 008000h /* on-chip ROM 1 */
SAROM_2 (RX) : origin = 0ff0000h length = 008000h /* on-chip ROM 2 */
SAROM_3 (RX) : origin = 0ff8000h length = 008000h /* on-chip ROM3 */
EMIF_CS0 (RW) : origin = 0050000h length = 07B0000h /* mSDR */
EMIF_CS2 (RW) : origin = 0800000h length = 0400000h /* ASYNC1 : NAND */
EMIF_CS3 (RW) : origin = 0C00000h length = 0200000h /* ASYNC2 : NOR */
EMIF_CS4 (RW) : origin = 0E00000h length = 0100000h /* ASYNC3 : SRAM */
EMIF_CS5 (RW) : origin = 0F00000h length = 00E0000h /* ASYNC4 : SRAM */
}
SECTIONS
{
vectors : > VEC
.text : > DARAM ALIGN = 4
stack : > DARAM ALIGN = 2
sstack : > DARAM ALIGN = 2
.switch : > SARAM_3
.data : > DARAM
.bss : > SARAM_3, fill = 0
.cinit : > SARAM_3
.const : > DARAM
.cio : > DARAM
sysmem : > DARAM
.WorkBuffer : > DARAM
.Coeff : > DARAM
.emif_cs0 : > EMIF_CS0
.emif_cs2 : > EMIF_CS2
.emif_cs3 : > EMIF_CS3
.emif_cs4 : > EMIF_CS4
.emif_cs5 : > EMIF_CS5
}
- Is there a Spectrum Digital TMS320C5515's project file that shows the command file modifications that will allow the linker to accomadate program >320K ?
- Is there a Spectrum Digital TMS320C5515's project file that shows the needed set ups to allow a program to execute from FLASH?
Thanks for your consideration