Hi am working on DSK6713 processor on ccs3.1. Getting an error: invalid stack:0x800
how to debug this error?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi am working on DSK6713 processor on ccs3.1. Getting an error: invalid stack:0x800
how to debug this error?
Hi,
The error seems to be probelm with linker command file.
Which project are you building ?
Could you please provide error log and also attach the screen shot of your project explorer.
following is the command file i used
/*C6713dsk.cmd Linker command file*/
MEMORY
{
IVECS: org=0h, len=0x220
IRAM: org=0x00000220, len=0x0002FDE0 /*internal memory*/
SDRAM: org=0x80000000, len=0x01000000 /*external memory*/
FLASH: org=0x90000000, len=0x00020000 /*flash memory*/
}
SECTIONS
{
.EXT_RAM :> SDRAM
.vectors :> IVECS /*in vector file*/
.text :> IRAM /*Created by C Compiler*/
.bss :> IRAM
.cinit :> IRAM
.stack :> IRAM
.sysmem :> IRAM
.const :> IRAM
.switch :> IRAM
.far :> IRAM
.cio :> IRAM
.csldata :> IRAM
}
--diag_suppress=16002
--stack=0x800
--heap=0x800
Hi,
Try to remove the "stack, heap and suppress args" in linker command file (c6713dsk.cmd) then try to build the CCS project.
P.S : CCSv3 is very old release so please try to use the latest CCS version (CCSv5.4 & CCSv5.5)
http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/115/t/351975.aspx
Hi,
I will try to work on CCS5. Right now i have removed stack, heap and diag supress and i run the program. I got the following error:
c6713dsk.cmd: error: system, can't open file '/.obj' for input :No such file or directory.
Hi Jyothi,
What example code are you building ?
Is this own code or TI examples provided ?
Is the linker command file default one or newly attached by you ?
Try to use "Rebuild Project" for rebuilding the CCS projects since you have changed the linker file.
i tried to rebuild the project but showing error.Following is my program.i want to generate a sine wave and see it on oscilloscope..its a basic program but unable to run it please help me out
Hi Jyothi,
You can search in e2e forums for your problem.
Please refer the following e2e posts.
It seems to be library link problem.
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/241993.aspx
http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/115/p/215890/763724.aspx
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/292559.aspx