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/CCSTUDIO-KEYSTONE: Verification of the program file loaded from CCS debug window

Part Number: CCSTUDIO-KEYSTONE

Tool/software: Code Composer Studio

Hi Team,

I am working with C2000 series device with CCS platform.

I recently noticed one issue: While trying to load a program from the debug window ;the program gets flash in to the device.

Now after rebuilding the project without cleaning the project , the .out file that is generated has gets some changes.

With cleaning the same project and building it ; I found the file got some changes. (compared through a file comparator).

There is one more issue with the program building is : the instructions / logic in the program isn't changed , but it happed a couple of time that the program halts / stops working on the same hardware.

When looking for the fault, probing through XDS110 and taking some tests through Debug window- results are good.

I am unable to understand this issue.

Please help me out in leaning how building a project works and the .OUT file is processed + generated every time the build command is executed.

Thanks and Regards,

Jesal Patel

  • Hello,

    Jesal Patel said:
    With cleaning the same project and building it ; I found the file got some changes. (compared through a file comparator).

    Which file are you comparing? Note that it is not a good idea to diff the *.out file. That file contains meta information that can differ from build to build.

    Jesal Patel said:
    Please help me out in leaning how building a project works and the .OUT file is processed + generated every time the build command is executed.

    See: http://software-dl.ti.com/ccs/esd/documents/users_guide/ccs_project-management.html#build-rebuild-project

    Thanks

    ki

  • Hello Ki,

    Thank you for the help.

    But I have a doubt : I am not modifying a single line in the program; everything remains same, am just cleaning the same project and rebuilding it . Does it change a lot in .OUT file?

    Thanks 

    Jesal

  • Jesal Patel said:
    But I have a doubt : I am not modifying a single line in the program; everything remains same, am just cleaning the same project and rebuilding it . Does it change a lot in .OUT file?

    Not a lot, but some changes can be there. Things like timestamp information. If you are using  __DATE__ & __TIME__ macros in your code, this could also cause a change in your binary

    I would use the objdiff utility for comparisons. You can get it from cg_xml:

    Thanks

    ki

  • Hello,
    I haven’t heard back from you, hence this issue is being closed. If you wish to continue the discussion, please post a reply with an update below (or create a new thread).

    Thanks,
    ki