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.

TMS320F280039: How to get the compiler version, compiling time info from .out or hex file directly?

Part Number: TMS320F280039
Other Parts Discussed in Thread: C2000WARE

Hi Expert,

is it able to get the compiler version, compiling time info from .out or hex file directly?  customer did not store these information in flash by flash api function in application code, is it possible to get the compiler version, compiling time info from .out or hex file that generated by CCS?

 for example. we have example code "adc_ex1_soc_software" from C2000ware below path, without modifying the C code, is it ok to get  the compiler version, compiling time info from out or hex file generated? 

C:\ti\c2000\C2000Ware_5_00_00_00\driverlib\f28003x\examples\adc

  • I presume you build with the newer EABI.  You can use the object file display utility ofd2000 to get the version of the linker.  For example ...

    $ ofd2000 --obj_display=none,header file.out
    
    OBJECT FILE:  file.out
    
     Object File Information
    
        File Name:           file.out
        Format:              ELF Version 1
        File Type:           executable file
        Machine:             TI C2000
        Machine Endian:      little endian
        Entry Point:         0x00000a83
        Vendor:              Texas Instruments, Inc.
        Producer:            Linker
        Linker Version:      22.6.0
        Number of Sections:  23
        File Length:         56564
        ELF Class:           32-bit objects
        ELF e_flags:         0

    Unfortunately, the build time is not recorded.  Do you have the linker map file?  It appears in the first few lines.

    ******************************************************************************
                 TMS320C2000 Linker PC v22.6.0
    ******************************************************************************
    >> Linked Mon Aug 21 13:47:27 2023

    Thanks and regards,

    -George