This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Warning: The project has no cmd file while the Text Linker is selected...

Other Parts Discussed in Thread: CCSTUDIO, TMS320F2812

Hello to everyone,

I have a proyect with the F2812. After compiling my file, I get no errors but i got a warning:

Warning: The project has no cmd file while the Text Linker is selected [Linking...] "C:\CCStudio_v3.1\C2000\cgtools\bin\cl2000" -@"Debug.lkf"

<Linking>

>> warning: creating output section .ebss without SECTIONS specification

>> warning: creating output section .econst without SECTIONS

>> specification

>> warning: creating output section .reset without SECTIONS

>> specification

>> warning: creating .stack section with default size

does someone could tell me what does this means and how could i create this SECTIONS specification?

Thanks in advance

  • I added a new instruction to my programm and the same warning apeared. However, It was abled to compile and build the obj. But when i try to load the program in the target i get the next error:

    Loader: one or more sections of your programm falls into a memmory region that is not writtable. This regions will not actually be written to the target. Check your linker configuration and/or your memory maps.

    Could someone tell me where can i find information about creating the section specification?

    Thanks in advance

  • Hello Maria,

    Could you tell me if you see a linker command file in your project folder tree? Files with .cmd extensions are linker command files and are needed in order for the linker to place your compiled code into specific memory regions.  Could you list the names of all files in your CCS project with a .cmd extension?

    If you navigate to the TMS320F2812 Product Folder on ti.com and download the code examples found at the bottom of this table you can import existing example projects which will contain command linker files to get you started.  Many of the examples will run from RAM with one of the linker command files containing the word 'RAM' in the title.  The project found in the DSP281x_examples_ccsv4\flash folder contains a project which runs from the F2812's Flash and should be a great starting point if you want your program to also execute from Flash.

    To import an existing project in CCSv5 (very similar process in CCSv4), from the top menu select Project -> Import Existing CCS/CCE Eclipse Project -> Browse (from within the new screen) -> C:\tidcs\c28\DSP281x\v120\DSP281x_examples_ccsv4\flash (if you selected the default install directory) -> Make sure the project's check box is selected -> Finish.  A new project should appear in your Project Explorer view within CCS and you can then Build or Debug your project and open the command linker file for reference.

    The Assembly Language Tools User's Guide Section 7.5 Linker Command File has more information about the various components and options of the command linker file.

    Hope this helps,

    Mark-

  • Hallo Mark,

    There are no linker command files, not any *.cmd files. I read the Section 7.5 of the Assembly Language Tools and now i understand about portions of the memory and sections, i want to see the examples. Thanks a lot.