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.

CCSTUDIO: With the same project the .hex/.out/.map files generated are different if project is located at a different path

Part Number: CCSTUDIO
Other Parts Discussed in Thread: SYSCONFIG, TMS320F280039C, C2000WARE

Tool/software:

Team,

Can you please help with the below?
It is required that the same .hex/.out/.map files are generated from the exact same project even if projects are located at different paths (and/or on different PCs).

With the same exact project, the output files (map, out, hex) are different when the Project path change. It is not only the path that is indicated into the files but also the memory mapping (Const area size change and so everything are modified in hex file).

In fact only two files are impacting in Output/syscfg folder:

Board and clb_config: these 2 files are generated from sysconfig, the source files are identical but when compiling we can see that the Const memory allocation depends on path of the project.

Today, that means that we need to always use the same path to compile the project for each developer.

I will provide offline the:
4 generated files for Board and clb_config (board.c, board.h, cld_config.c, clb_config.h). These files stay unchanged while path changes

2 generated map files with the modification of the project path
  First path is C:/Data/Git/Gen2/DcDcGEN2_SW_Control_Appli_SW_Integration
  Second path is C:/Data/Git/Gen2/DcDcGEN2_SW_Control_Appli_SW

Thanks in advance,

Anthony

  • Hello,

    To complete the request I made to Anthony, I am using

    CCS: 12.5.0.00007

    C2800 Compiler: 22.6.1.LTS

    SysConfig: 1.18.0.3266

    I don't know if it can have an impact but I am also using optimization:

    Optimization level: 2 - Global Optimization

    Speed vs. Size: 4

    Thanks in advance for your support

    Christian

  • Hello Christian,

    What is your target device?

    Best Regards,

    Ralph Jacobi

  • Hello Ralph,

    the target is a C20000 TMS320F280039C

  • It is required that the same .hex/.out/.map files are generated from the exact same project even if projects are located at different paths (and/or on different PCs).

    My understanding was that this is not possible with *.out file with debug symbols since the symbols can have various path information that would vary depending on the host environment.

    With the same exact project,

    I assume that any dependencies (like SDK version, etc) are exactly the same too?

    I will provide offline the:
    4 generated files for Board and clb_config (board.c, board.h, cld_config.c, clb_config.h). These files stay unchanged while path changes

    2 generated map files with the modification of the project path
      First path is C:/Data/Git/Gen2/DcDcGEN2_SW_Control_Appli_SW_Integration
      Second path is C:/Data/Git/Gen2/DcDcGEN2_SW_Control_Appli_SW

    Please start a private E2E conversation with me to share the files.

    Thanks

    ki

  • Hi Ki,
    I have sent you the files via email.

    I assume that any dependencies (like SDK version, etc) are exactly the same too?

    Yes this is the same SW install base (CCS, sysconfig, Compiler, C2000Ware, ..etc.
    It is just installed on an other PC.

    Do you need more information and/or additional files?

    Thanks in advance,

    Anthony

  • Thank you for the files. I will try to investigate further later today. I will keep you posted of my progress.