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.

What toolchain built this code?

Other Parts Discussed in Thread: MSP430F2419, MSP430F2619, CCSTUDIO

I have inherited support for existing/deployed MSP430F2419 design.  There is very little existing documentation to rely on.  It appears the code was built with CCS 3.1.0 and 3.2.1.  I'd like to get confirmation and further details of build tools and environment.

I have these files from the last build:

.ccsproject

<?ccsproject version="1.0"?>
<projectOptions>
<deviceVariant value="MSP430F2619"/>
<deviceEndianness value="little"/>
<codegenToolVersion value="3.1.0"/>
<linkerCommandFile value="lnk_msp430f2619.cmd"/>
<rts value="rts430x.lib"/>
<defaultAssemblyOnly value="false"/>
</projectOptions>

.cdtbuild

<option id="com.ti.ccstudio.buildDefinitions.MSP430_3.2.compilerID.INCLUDE_PATH.1254895224" superClass="com.ti.ccstudio.buildDefinitions.MSP430_3.2.compilerID.INCLUDE_PATH" valueType="includePath">

.cdtproject

<?eclipse-cdt version="2.0"?>
<cdtproject id="org.eclipse.cdt.managedbuilder.core.managedMake">
<extension id="org.eclipse.cdt.managedbuilder.core.ManagedBuildManager" point="org.eclipse.cdt.core.ScannerInfoProvider"/>
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
<data>
<item id="org.eclipse.cdt.core.pathentry">
<pathentry kind="src" path=""/>
<pathentry kind="out" path=""/>
<pathentry kind="con" path="org.eclipse.cdt.managedbuilder.MANAGED_CONTAINER"/>
<pathentry kind="con" path="com.ti.ccstudio.managedbuild.core.CCS_CONTAINER"/>
</item>
</data>
</cdtproject>

.project

I'd like to identify the specific tools that were used to build this code.  i.e. Was this from CCS ver 3.1.0?  (There is mention of MSP430_3.2.compilerID in the .cdtbuild file.)  How do I figure out if this code was built with the optimized TI IDE or the free GNU IDE?

If the chip is a MSP430F2419, why the <deviceVariant value="MSP430F2619"/>?  i.e. Both devices exist, so why the difference?

There is mention of the Eclipse in the .project & .cdtproject files.  Is Eclipse part of the CCS, is it an add-on, or does it come from outside of CCS?  i.e. The the previous developer add Eclipse support or does it come w/ CCS?  Would I need it to recreate this build?

How can I tell if the build machine was Linux or Win based?

  • Hi Michael,

    Michael LAvole said:
    <codegenToolVersion value="3.1.0"/>

    It looks like the project is configured for compiler version 3.1.0. But that is no guarantee that the version of the build tools actually used to build a specific out file is the same. The best way is to run ofd on the actual out file.

    You can also run ofd430 (found in <MSP COMPILER DIR>\bin) via:

    > ofd430 outfile.out

    I like to pipe the output to a file like so:

    > ofd430 outfile.out > ofdoutput.txt

    under the object file information, you can see the version of the build tools used.

    You won't be able to determine the CCS version used however. But it is the compiler version that is most important.

    Thanks

    ki

  • Thanks ki.
    The info is useful but does not help me. I don't have the direct output files from the build. They have been packaged into a loadable image (single bin file). I suspect it has been packaged with Platform Builder.
    An ELF file decodes to: Tool Version: 0.0.0 I suspect the "Tool" refers to the linker. There is no mention of a compiler version.

    I finding what looks like 2 version of the CCS.  One version appears to be Ver4 (setup_CCS_4_Platinum.zip).   Can I install both versions on one machine?  (Can I expect ver 3 & ver 4 to peacefully coexist?)

    The other,..
    I did find this install file: setup_CCE_3.2.4.3.8_MSP430_CE.exe
    Is this a TI file naming convention? i.e. Has the file name been changed?

    CCE = Code Composer Essentials  But what is the other CE?
    i.e. What is the significance of the CE (_CE.exe)?

    Thanks,
    ML

  • Michael LAvole said:
    An ELF file decodes to: Tool Version: 0.0.0 I suspect the "Tool" refers to the linker. There is no mention of a compiler version.

    That version number seems invalid. The linker version is the same as the compiler version

    Michael LAvole said:
    I finding what looks like 2 version of the CCS.  One version appears to be Ver4 (setup_CCS_4_Platinum.zip).   Can I install both versions on one machine?  (Can I expect ver 3 & ver 4 to peacefully coexist?)

    CCE and CCS versions can peacefully co-exist

    Michael LAvole said:
    I did find this install file: setup_CCE_3.2.4.3.8_MSP430_CE.exe
    Is this a TI file naming convention? i.e. Has the file name been changed?

    That is the installer for CCE. The file name has the version number - 3.2.4.3.8.


    CE = Core Edition. This is the free version with 16KB code size limit.

    Thanks

    ki

  • In a list of pouplar IDE's, I found this:
    TI Code Composer Studio (CCS) Microcontroller or Platinum editions

    What is the difference?
  • This is specific to CCSv4. There was the full Platinum image or the Microcontroller (Core) image.

    For more details, see:
    processors.wiki.ti.com/.../Category:Code_Composer_Studio_v4

    Thanks
    ki
  • There is no mention of the Platinum version on that wiki.
    There is a description on the license page: processors.wiki.ti.com/.../Licensing_-_CCS
  • "There are two CCS images that can be downloaded, DVD and Microcontroller Core."

    Platinum image = DVD image
  • That helps, Thanks