Hi,
I am migrating a DSP/BIOS project to legacy SYS/BIOS and I am facing problems with the final linking of the legacy out file.
The initial DSP/BIOS project builds with Makefile (no CCS) and uses the following tools-packages:
DSP/BIOS 05.41.04.18, CGT 06.1.22
For the migration to legacy SYS/BIOS, I am using the following tools:
CGT 7.4.8, bios_6_34_05_24, xdctools_3_24_07_73
The initial .tcf configuration file for DSP/BIOS had some memory sections defined, like the one:
LOGRAM = MEM.create("LOGRAM");
LOGRAM.heapSize = 0x00E01F00
LOGRAM.len = 0x00E01F00
LOGRAM.base = 0xC91FE100
First, I used the conversion tool to create the cfg file for the legacy project.
The definition of the memory section is the same, in the new "legacy" .cfg file, as expected I suppose.
Then. I used the configuro tool to build the compiler.opt and linker.cmd files that I need to build with SYS/BIOS. The linker.cmd includes the memory sections in the MEMORY struct definition:
MEMORY
{
//some other memory sections
LOGRAM : org = 0xc91fe100, len = 0xe01f00
//some other memory sections...
}
When I build my final project, I get "undefined symbols" errors referring to these memory sections, although I include the linker.cmd in the linking command. Also, I see these memory sections created in my projects .map file.
My questions are:
1) Should I expect any other files generated by the conversion of the tcf->cfg file to include this memory sections? I need to confirm that the conversion is done OK, I have seen various problems in the past.
2) Should I use any other files generated by the conversion or build (configuro) of the cfg file, in the build process of the whole project? I only use the compiler.opt and linker.cmd. Should I use the platform generated in the conversion step?
In simple words: I cannot figure out how my linking process can discover these memory sections (although I see them created in the map file)
Any help would be appreciated.