Hi,
I am facing issue when non DSP BIOS project linking.
Hardware TMS320F28377D Control Card and Compiler CCSV 6.2.5
In linked.cmd file I added overlay sections with same run address. And run address is 0x00008000.
SECTIONS
{
UNION : RUN = SRAM_L0_LOADABLE_RAM,
RUN_START(_RamTaskRunStart)
RUN_START(_RamTask)
RUN_END(_RamTaskRunEnd)
PAGE = 0
{
Sect_Ram_ReadTask: LOAD = CBB_FLASHB, // Load address from flash
LOAD_START(_Sect_Ram_ReadTaskLoadStart),
LOAD_END(_Sect_Ram_ReadTaskLoadEnd)
Sect_Ram_WriteTask: LOAD = CBB_FLASHB,
LOAD_START(_Sect_Ram_WriteTaskLoadStart),
LOAD_END(_Sect_Ram_WriteTaskLoadEnd)
}
}
And in application following #pragmas have been added
#pragma CODE_SECTION(Ram_ReadTask,"Sect_Ram_ReadTask");
void Ram_ReadTask(void)
{
//Added customized memcopy function.
}
#pragma CODE_SECTION(Ram_WriteTask,"Sect_Ram_WriteTask");
void Ram_WriteTask(void)
{
//Added customized memcopy function.
}
I observed in map file
Sect_Ram_ReadTask
* 0 00008000 00000000 UNINITIALIZED
Sect_Ram_WriteTask
* 0 00008000 00000000 UNINITIALIZED
For both the sections origin address is “0x00008000”, but origin should be any address from FLASH.
Due to this it shows above mentioned sections are uninitialized.
Could you please provide me solution for above mentioned problem.
Thanks and Regards,
Gajendra Ghate