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.

Compiler/TMS320F28069: Compile procedure

Part Number: TMS320F28069

Tool/software: TI C/C++ Compiler

Hi expert,

My customer is using F28069 in their project.

And they want to just use the .obj file to generate the .out file, and just delete the .c and .h files.

I want to know does this doable?

And customer is aking this for security, my question is ,will this method give the final .out file more secure?

Can you share more material about C2000 product compile procedure by CCS.

BR

Emma

  • I do not completely understand what the customer wants to accomplish.  But I can point out a few ideas worth considering.

    A typical CCS project creates an executable which runs on a C28x system.  Such a project requires source code such as .c and .h files.

    However, it is possible for the end result of a CCS project to be a library of object files instead of an executable.  To create a library project in CCS, set the Output Type to Static Library.  For more details, see the documentation on Creating a New CCS Project.  The resulting library could then be offered as a product that is used in a yet larger project which creates an executable that runs on a C28x system.

    Emma Wang said:
    And customer is aking this for security

    To understand the security that comes from supplying only object files, you need to understand the tools that are available for displaying the information encoded in an object file.  All of these tools execute from the command line, and not from within CCS.

    • nm2000 : name utility
    • ofd2000 : object file display utility
    • dis2000 : disassembler

    All of these tools are documented in the C28x assembly tools manual.  I recommend you try each one on an object file or executable file, and see what happens.

    Another utility to learn about is strip2000, which removes the debug information and symbols from an object file.  This step makes it more difficult to understand the contents of the file.  It is documented in the same manual.

    Thanks and regards,

    -George