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/TMS320C28346: Partial(section) Out file generate

Part Number: TMS320C28346

Tool/software: Code Composer Studio

I am trying to update functions partially with serial communication.

First, I want to generate the code for a specific section as a separate file.
Link certain functions to the same section,
Is there a way to create that section as a separate file?

  • Please read the first part of the article Linker Command File Primer to learn about how you can form output sections from input sections.  You will learn you can create an output section from one input section in one  file.  In addition, search for #pragma DATA_SECTION in the C28x compiler manual.  Between these two techniques, you can do a lot of what you are propose.  However, there is no support for dynamic linking, so I suspect this part ...

    jungsoo kang said:
    update functions partially with serial communication

    ... cannot be implemented.

    Thanks and regards,

    -George

  • Thank you very much for your reply.
    I think it would be possible to output the function I want in a particular section.

    What's more,
    It is to make the contents of the section (program code) into a separate file.
    Is there a way?

  • jungsoo kang said:
    It is to make the contents of the section (program code) into a separate file.
    Is there a way?

    I think you are asking whether the output of the linker can be split into multiple files.  Unfortunately, the answer is no.

    Thanks and regards,

    -George

  • Thanks for your reply.

    I learned that it can't generate multi out file on CCS.

    Additional question is

    - Is there a way to open and edit the .out file?

    - and copy only the function part of the outfile
    - Create a file with the copied part
    - Loading the file into a predetermined memory location

    Best regards,

  • jungsoo kang said:

    - Is there a way to open and edit the .out file?

    - and copy only the function part of the outfile
    - Create a file with the copied part
    - Loading the file into a predetermined memory location

    Unfortunately, there is no support for any of these steps.

    Thanks and regards,

    -George