Hi manju:
Thank you, it is ok follow your opinion.
I have another question, I define the symbol in link file like below:
SECTIONS
{
___INTERNAL_SRAM_BASE = 0x20000000;
…………
.kernel_data : AT(ADDR(.main_application_data) + SIZEOF(.main_application_data))
{
. = ALIGN(0x10);
___EXTERNAL_SRAM_DATA_START = .;
}
…………
}
but the CW report a link error like below:
Link Error : Illegal 16-bit small data area relative reference to symbol '___EXTERNAL_SRAM_DATA_START'
from address 0x01F07DCC in section '.text' of file 'm548xbsp_d.a raminit.o '.
Do you know where is the problem? Iused the CW7.1.
Thank you again.
Jason