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.

cmd file for OMAP L137

Hello,

I'm starting with the OMAP L137 evaluation board, and I'm trying to just make a hello world or something like that on the ARM core of the OMAP L137. I already succeed in running a hello world on the dsp core because their is a demo program for the dsp core, but I didn't found any demo program for the ARM core so I'm trying to start from scratch for the ARM core. I have a main function with a loop function in it, but when I compile I got two warnings :

------------------------  test2HelloArthur.pjt - Debug  ------------------------
[Test1HelloArthur.c] "D:\Programs\CodeComposerStudio3.3\tms470\cgtools\bin\cl470" -g -pdsw225 -fr"D:/vault/training/Arthur Test Code/Project 1/test2HelloArthur/Debug" -d"_DEBUG" -me -mv4 --abi=tiabi -@"Debug.lkf" "Test1HelloArthur.c"

Warning: The project has no cmd file while the Text Linker is selected
[Linking...] "D:\Programs\CodeComposerStudio3.3\tms470\cgtools\bin\cl470" -@"Debug.lkf"
<Linking>
warning: creating ".stack" section with default size of 0x800; use the -stack
   option to change the default size

Build Complete,
  0 Errors, 2 Warnings, 0 Remarks.

And when I try to load the program I got one error :

Loader: One or more sections of your program falls into a memory region that is not writable.  These regions will not actually be written to the target.  Check your linker configuration and/or memory map.
Breakpoint Manager: Error programming AET Job: There is no AET resource to support this job.

I think the problem is the missing cmd file, so do you know where I can found a cmd file for the ARM core of the OMAP L137 evaluation board or how to create one ?


Thank you

  • Arthur,

    Please refer to the section 7.18 from the following document for example cmd file

    In the meantime, I am attaching the 2 sample linker command files that have worked for me on C6747. One file can be used to place code and data in L2 RAM and the linker command places code and data in external memory.
    cmd file for place code sections in L2 RAM :http://e2e.ti.com/cfs-file.ashx/__key/communityserver-discussions-components-files/42/3618.linker.cmd
    cmd filr for placing code and data in external memory: http://e2e.ti.com/cfs-file.ashx/__key/communityserver-discussions-components-files/42/6052.lnk.cmd
    Hope this helps.
    Regards,
    Rahul