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.

Issue with the code gen tool version change

Other Parts Discussed in Thread: TMS320F28335

Hi,

When I compared the library files with CG_XML , I got the results something like below.( For almost all the obj files)

**********************************************************************
Filename _lock.obj
**********************************************************************
======================================================================
Comparing Sections : section = $build.attributes
======================================================================
        Raw data is different
======================================================================
Comparing Sections : section = $build.attributes : build_attributes : vendor_sec
tion : vendor_name = TI : attribute_section : attribute_list : tag = Tag_Produce
r_VPatch : arguments
======================================================================
         Differences: C:\Release\rts_TMS320F28335_Flash.lib      c:\updated_with
_5.1.3\rts_TMS320F28335_Flash.lib
               const:                  0x2                        0x4
******************************************************

5001.Flash28_Prog.c
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
*-----------------------------------------------------------------------------
* Copyright Honeywell ASCa 2011. All Rights Reserved.
* This software and all information and expression are the property of
* Honeywell ASCa Inc., contain trade secrets and may not, in whole or in
* part, be licensed, used, duplicated, or disclosed for any purpose without
* prior written permission of Honeywell ASCa Inc. All Rights Reserved.
*-----------------------------------------------------------------------------
*
* File Name : Flash28_Prog.c
*
* CSCI Name : C Run Time Library for TMS320F28335 DSC
*
* CSU Name : Flash Program CSU
*
* SCI Number : 51352153
*
*-----------------------------------------------------------------------------
*
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
****************

Just want to decipher , whats the trigger for the lib change.

When we compared through the hex difference , I got to know the difference is generated in the functionality Flash28_Prog.obj and I have attached the file for reference.

 

Thanks,

Jeba

  • Build attributes are meta-data.  A change in build attributes will not affect the correctness of the code.  The build attributes encode the compiler version, so you are most likely seeing the change in compiler version being reflected in the build attributes.  Use ofd2000 on this library to interpret the build attributes in a human-readable fashion.

  • Jeba Sankar said:
    ======================================================================
    Comparing Sections : section = $build.attributes : build_attributes : vendor_sec
    tion : vendor_name = TI : attribute_section : attribute_list : tag = Tag_Produce
    r_VPatch : arguments
    ======================================================================
             Differences: C:\Release\rts_TMS320F28335_Flash.lib      c:\updated_with
    _5.1.3\rts_TMS320F28335_Flash.lib
                   const:                  0x2                        0x4

    That is saying the last digit in the compiler version changed from 1 to 3.  Using your directory name as a further hint, this probably means the compiler version changed from 5.1.1 to 5.1.3.  I agree it is quite a leap from that output to this conclusion.

    There is presently no option in objdiff to skip over the comparison of the build attributes.  Do you think it needs one?  If so, please explain why.  

    Jeba Sankar said:
    When we compared through the hex difference , I got to know the difference is generated in the functionality Flash28_Prog.obj

    Another way to see it is with the --verbose option of objdiff.

    Thanks and regards,

    -George