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.

TMS320F28035: TMS320F28035

Part Number: TMS320F28035


Dear all,

what does that mean the instructions on the lines from 70 to 80?

i'd like to know how to deal with things relevant to linker command.

could you let me know the all documents that i have to refer to deal with that fluently?

many thanks. 

  • yoonseok shim said:

    i'd like to know how to deal with things relevant to linker command.

    could you let me know the all documents that i have to refer to deal with that fluently?

    Yoonseok,

    The technical description of the linker, and linker options, and linker command files, are documented in TMS320C28x Assembly Language Tools (http://www.ti.com/lit/spru513).  Note that the CLA specifics are mentioned in the section called "C28x CLA Extensions".

    For C-code specifics related to the CLA (ex: what is a scratchpad) refer to the TMS320C28x C/C++ Compiler Guide (http://www.ti.com/lit/spru514)

    Having said that, this linker command file is a bit confusing.  

    Line 71: sets the heap size for the C28x (not the CLA)

    Line 72: sets the stack size for the C28x (again not the CLA)

    Both line 71 and 72 can be done through compiler command line options instead of through the linker file.

    The scratchpad area is where the compiler stores local variables for the CLA in memory.  It is like a stack, but since  the CLA doesn't have a stack pointer, it has to be setup differently.  The scratchpad size is commented out because one of the revisions simplified CLA scratchpad management; it is no longer necessary to specify a size for the scratchpad in the linker command file.

    I think you will find the C2000 MCU Device Workshops helpful. Here is the link to the device workshops:

    The CLA specific hands-on-workshop is very good at describing the CLA, how to develop code for it, and also how to debug it in Code Composer Studio. I think you will find it helpful. It is for a more recent device than you have, but the concepts still apply. Here is the link to the workshop:

    Click here for more CLA FAQs and resources.

    I hope this helps. If this answers your question, please click the green "Verified Answer" button.

  • Thanks Lori for your sincere help!

    I could save my time tremendously because of your help!