Hello,
I am using DSP/BIOS v 5.33.01, code generation tools v6.15, CCS v 3.3.81.11 and OMAPL-137 EVM.
I am following the example provided in SPRUG82A (TMS320C674x DSP Cache User's Guide), on page 56, that demonstrates the usage of multiple sections of memory to define the order in which functions are located in memory. The CMD file in example look like this:
MEMORY
{ L2SRAM: o = 00800000h l = 00010000h EXT_MEM: o = 80000000h l = 01000000h } SECTIONS { .cinit > L2SRAM .GROUP > L2SRAM {
.text:_function_1 .text:_function_2 .text } ......... (another sections) ....... } Also a -mo option is required to add to compiler's options, which I also did. I tried to implement this in my project, but I get this error at the end of compilation: <Linking> "E:\\Projects\\DSP_CODE\\evm6747\\c6747.cmd", line 18: error: cannot There is another method of implementation introduced in the document, that has a slightly different syntax and also not working. Please help. Regards Arye
find file ".text"
"E:\\Projects\\DSP_CODE\\evm6747\\c6747.cmd", line 18: error: filename
or assignment expected instead of ":"
"E:\\Projects\\DSP_CODE\\evm6747\\c6747.cmd", line 20: error: cannot
find file "_function_1"
"E:\\Projects\\DSP_CODE\\evm6747\\c6747.cmd", line 20: error: cannot
find file "_function_2"