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.

CCS/TMS320C6742: Linker command file MEMORY section error

Part Number: TMS320C6742


Tool/software: Code Composer Studio

Hello,

I am compiling for a C674x Simulator, in the screenshot you can see the linker command file I use for the compilation. I get a set of similar errors for each line of the MEMORY section on my linker cmd file. The person who gave me this cmd file told me that it worked before on the target that I am working on. I've tried with a different linker cmd file and I get similar errors (one for every line of the MEMORY section with no more explanation "SECTION memory". I am a novice user of CCS, can anyone help me ?


Thank you very much.

  • From what I see here I cannot be certain what is wrong.  Please copy-n-paste, from the Console (not Problems) view, the full text of the linker invocation and all the resulting diagnostics.

    Based on what I do see, my guess is that you are using multiple linker command files, and they each define a memory range named CACHE_L1D and so on.  A memory range can be defined only once.  You probably need to remove one of the linker command files from the project.

    Thanks and regards,

    -George

  • I had a second linker command file hidden in a folder, the memory zones were defined twice... Thank you for your help !

    Best Regards