We have a project which gets built on code composer 3. but when we built it on code composer 4 we had error.
the project consists of a set of routines implemented to be used by our applications.
the project doesnt have a single global data, has only text and constants.
The error messages sums up to a single point
" INCOMPLETELY DEFINED PAGE".
we have a linker command file, with the memory defined as follows.
MEMORY
{
PAGE 0:
A :
origin = 0x3F6FD0, length = 0x000030
B :
origin = 0x3F7000, length = 0x000020
C:
origin = 0x3F7020, length = 0x000F5F
PAGE
1:
}
.
.
.
/* have the following sections */
.stack : PAGE = 1
.data : PAGE = 1
.ebss : PAGE = 1
.bss : PAGE = 1
.econst : PAGE = 1
.const : PAGE = 1
.cio : PAGE = 1
the page 1 is left simply without any details.
This linker command file works to completion with code composer 3 but with code composer 4 it says it is not able to find the memory ranges for sections like .data and .ebss whose size is zero.
the error details are
--------------------------------------------------------
run placement fails for object ".stack",
size 0x0 (page 1)
"../DSP_TL_CSCI.cmd", line 122: error: run placement fails for object ".ebss",
size 0x0 (page 1)
"../DSP_TL_CSCI.cmd", line 124: error: run placement fails for object
".econst", size 0x0 (page 1)
"../DSP_TL_CSCI.cmd", line 125: error: run placement fails for object ".const",
size 0x0 (page 1)
"../DSP_TL_CSCI.cmd", line 126: error: run placement fails for object ".cio",
size 0x0 (page 1)
----------------------------------
is there a way to fix this without specifying memory address for page 1?
Thanks
Karthick.