Other Parts Discussed in Thread: SYSBIOS, EK-TM4C1294XL
Tool/software: Code Composer Studio 6.0.1, TI-RTOS
Hello Everyone,
I am trying to implement Low power mode operation by putting controller in sleep mode in TM4C129ENCPDT (TI-RTOS) by referring example code
So I created interrupt vector table (tried with two different section) in application code.
While building project, I am facing below mentioned issue
CASE-01:
#pragma DATA_SECTION(g_pfnVectors, ".intvecs")
<-------- Start -------->
program will not fit into available memory. placement with alignment fails for section ".resetVecs" size 0x3c , overlaps with ".intvecs", size 0x200 (page 0)
linker.cmd /CSL1601/Release/configPkg line 209 C/C++ Problem
<-------- End -------->
CASE-02:
#pragma DATA_SECTION(g_pfnVectors, ".vtable")
<-------- Start -------->
program will not fit into available memory. placement with alignment fails for section ".vtable" size 0x200 , overlaps with ".vecs", size 0x360 (page 0) EK_TM4C1294XL.cmd /CSL1601 line 39 C/C++ Problem
<-------- End -------->
############################################################
Below is the address mentioned in .cmd and .cfg file of TI-RTOS project,
<-------- Start .cmd-------->
#define APP_BASE 0x00008000
MEMORY
{
FLASH (RX) : origin = APP_BASE, length = 0x00100000
SRAM (RWX) : origin = 0x20000000, length = 0x00040000
}
SECTIONS
{
.intvecs: > APP_BASE
.text : > FLASH
.const : > FLASH
.cinit : > FLASH
.pinit : > FLASH
.init_array : > FLASH
.vtable : > 0x20000000
.data : > SRAM
.bss : > SRAM
.sysmem : > SRAM
.stack : > SRAM
}
__STACK_TOP = __stack + 512;
<-------- End -------->
<-------- Start .cfg -------->
var m3Hwi = xdc.useModule('ti.sysbios.family.arm.m3.Hwi');
m3Hwi.resetVectorAddress = 0x8000;
<-------- End -------->
Please do suggest, where and all I should do moification to resolve this issue