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.

Code Composer Studio old project

Hello,

I am a newcomer in Code Composer Studio. I have inherited

some software project which is written in some old version

of Code Composer Studio but I don't know exactly in what

version. Does it exist some possibility how to find out the

version of CCS in which the project was developed? Is it

possible to open the project in Code Composer Studio v6.2.0?

Thanks for any ideas.  

  • Hello,
    What format is the project files?

    If the project file is a *.mak extension, it is older than CCS 2.0
    If it is a *.pjt extenstion, it from CCSv2.0 to CCSv3.3
    If it is a project folder with the following files .cdtbuild, .cdtproject, .cproject, then it is CCSv4
    If it is a project folder with the following files .ccsproject, .cproject, .project, then it is CCSv5 to current

    You can import *.pjt files into CCSv6 via the Import Legacy Project Wizard ('Project-> Import Legacy CCSv3.3 Project Wizard')
    You can import CCSv4 - CCSv6 projects via the standard Import Wizard ('Project-> Import CCS Projects')

    Note that your project may have dependencies on various components (compiler version, DSP/BIOS, etc) that are not available with CCSv6.2.0 so you will have to resolve those.

    Thanks
    ki
  • Thanks ki. I found *.pjt file and I launched Import Wizard. Now I have to choose compiler version.
    Does it exist some possibility how to find out the compiler version used for compilation of the
    original project? Thanks.
  • Compiler version information is not stored in the *.pjt file. If you have an existing *.out file for the project, you may be able to parse the symbols.
  • Hello ki,

    I have found some *.out file but I don't know
    in what program I should this file open. I tried
    to open it in NotePad but it is not readable.
    Please, can you tell me what program to use.
    By the way I have found following information
    concerning with compiler in *.pjt file:

    ["Compiler" Settings: "Release"]
    Options=-pdsw225 -o3 -fr"$(Proj_dir)\Release" -d"LARGE_MODEL" -ml -v28.

    Would it be possible to deduce what compiler was used
    for compilation?

    Thanks.

    Steven
  • You can try using a utility called OFD (Object File Display) that comes with the compiler. See chapter 11 of the below document:

    http://downloads.ti.com/docs/esd/SPRU513/index.html#SPRU513J_HTML/object_file_utilities.html#11_Object_File_Utilities%3FTocPath%3D11%2520Object%2520File%2520Utilities%7C_____0

    I would stream output to some text file

    > ofd2000 outfile.out > file.txt

    At the top of the file, you will see some information about the out file. Like the linker version:

    OBJECT FILE:  c2.out

    Object File Information

       File Name:                 c2.out                                    

       Format:                    TI-COFF Version 2                        

       File Type:                 executable file                          

       Time Stamp:                Mon Sep 19 10:24:26 2016                  

       Machine:                   TI C2000                                  

       Machine Endian:            little endian                            

       Entry Point:               0x003f8002                                

       Vendor:                    Texas Instruments, Inc.                  

       Producer:                  Linker                                    

       Linker Version:            6.4.8                                    

       Number of Sections:        19                                        

       File Length:               9579                                      

       Symbol Table File Offset:  0x00001a73                                

       String Table File Offset:  0x000023a9                                

       TI-COFF f_flags:           0x00001113                                

       TI-COFF f_flag:            F_RELFLG (relocation info stripped)      

       TI-COFF f_flag:            F_SYMMERGE (debug type information merged)

       CPU Generation:            C2800                                    

       Control Data Endian:       little endian                            

       Start of .text Section:    0x003f8002                                

       Start of .data Section:    0x00000000                                

       Size of .text Section:     129                                      

       Size of .data Section:     0                                        

       Size of .bss Section:      0    

  • Hello ki,

    thank you very much for your help. I have found that

    the developer of my software used linker version

    5.2.11. Unfortunately I have installed along with CCS v6

    only c2000_15.12.3.LTS compiler. If I use this compiler

    and try to build the project, I receive following warning:

    Buildfile generation error occurred..

    Product 'XDAIS' v1.0.0 is not currently installed and no

    compatible version is available. Please install this product

    or a compatible version. Build stopped..

    I visited following website for download XDAIS v1.0.0:

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/xdais/

    But I couldn't find v1.0.0 version there. Please, can you tell me

    which of the offered versions is appropriate? Thank you.

  • Hello,
    You can install other version of the compiler via the steps below:
    processors.wiki.ti.com/.../Updating_CCSv6

    I'm not sure if that is the root cause however, given your warning about XDAIS. As for finding an old version of XDAIS, I can't help you much with that, perhaps the people in the TI-RTOS forum can help.

    Thanks
    ki