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.

TMS320C6678: TMS320C6678

Part Number: TMS320C6678
Other Parts Discussed in Thread: MATHLIB, SYSBIOS

Hi

 I am migrating a platform project from TI Processor SDK RTOS C667x 03.03.00.04 on CCSv6 to TI Processor SDK RTOS C667x 06.03.00.106 on CCSv9.3.0.  Following is the error from the build of the platform project. The error indicates unlink of a generated file is unsuccessful. Attached is the platform project. I checked that file file in windows file explorer and the permission was ok. Any kind of help is greatly appreciated.
Wai Kwok
**** Build of configuration Default for project PhoenixPlatformCfg ****
"C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 8 all -O
 
Building file: "../Phx_C6678_configuration.cfg"
Building file: "../RTSC_Platform/PhoenixPlat_C6678/package/build.cfg"
Invoking: XDCtools
Invoking: XDCtools
"C:/ti/xdctools_3_55_02_22_core/xs" --xdcpath="C:/ti/bios_6_76_03_01/packages;C:/git/phx_main_tool_upgrade/PhoenixPlatformCfg/RTSC_Platform;C:/ti/uia_2_30_01_02/packages;C:/ti/ccs930/ccs/ccs_base;C:/ti/pdk_c667x_2_0_16/packages;C:/ti/ipc_3_50_04_08/packages;C:/ti/xdais_7_24_00_04/packages;C:/ti/xdais_7_24_00_04/examples;C:/ti/pdk_c667x_2_0_16/packages;C:/ti/mathlib_c66x_3_1_2_4/packages;C:/ti/dsplib_c66x_3_4_0_4/packages;C:/ti/ipc_3_50_04_08/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p PhoenixPlat_C6678 -r release -b "C:/git/phx_main_tool_upgrade/PhoenixPlatformCfg/RTSC_Platform/PhoenixPlat_C6678/config.bld" -c "C:/ti/ti-cgt-c6000_8.3.2" "../RTSC_Platform/PhoenixPlat_C6678/package/build.cfg"
"C:/ti/xdctools_3_55_02_22_core/xs" --xdcpath="C:/ti/bios_6_76_03_01/packages;C:/git/phx_main_tool_upgrade/PhoenixPlatformCfg/RTSC_Platform;C:/ti/uia_2_30_01_02/packages;C:/ti/ccs930/ccs/ccs_base;C:/ti/pdk_c667x_2_0_16/packages;C:/ti/ipc_3_50_04_08/packages;C:/ti/xdais_7_24_00_04/packages;C:/ti/xdais_7_24_00_04/examples;C:/ti/pdk_c667x_2_0_16/packages;C:/ti/mathlib_c66x_3_1_2_4/packages;C:/ti/dsplib_c66x_3_4_0_4/packages;C:/ti/ipc_3_50_04_08/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p PhoenixPlat_C6678 -r release -b "C:/git/phx_main_tool_upgrade/PhoenixPlatformCfg/RTSC_Platform/PhoenixPlat_C6678/config.bld" -c "C:/ti/ti-cgt-c6000_8.3.2" "../Phx_C6678_configuration.cfg"
making package.mak (because of package.bld) ...
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring Phx_C6678_configuration.xe66 from package/cfg/Phx_C6678_configuration_pe66.cfg ...
configuring Phx_C6678_configuration.xe66 from package/cfg/Phx_C6678_configuration_pe66.cfg ...
Application Logger num records: 128
Application Logger Entry Size: 32
Application Logger Size (MAUs): 4096
-mv6600 --abi=eabi -q -mi10 -mo -pdr -pden -pds=238 -pds=880 -pds1110  --program_level_compile -o3 -g  -Dxdc_FILE=__FILE__
isLoaded: true
Application Logger num records: 128
Application Logger Entry Size: 32
Application Logger Size (MAUs): 4096
-mv6600 --abi=eabi -q -mi10 -mo -pdr -pden -pds=238 -pds=880 -pds1110  --program_level_compile -o3 -g  -Dxdc_FILE=__FILE__
isLoaded: true
generating custom ti.sdo.utils library makefile ...
generating custom ti.sdo.ipc library makefile ...
generating custom ti.sysbios library makefile ...
generating custom ti.sdo.utils library makefile ...
generating custom ti.sdo.ipc library makefile ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
Starting build of library sources ...
making C:/git/phx_main_tool_upgrade/PhoenixPlatformCfg/src/ipc.ae66 ...
making C:/git/phx_main_tool_upgrade/PhoenixPlatformCfg/src/ipc.ae66 ...
making C:/git/phx_main_tool_upgrade/PhoenixPlatformCfg/src/sysbios/sysbios.ae66 ...
making C:/git/phx_main_tool_upgrade/PhoenixPlatformCfg/src/sysbios/sysbios.ae66 ...
making C:/git/phx_main_tool_upgrade/PhoenixPlatformCfg/src/utils.ae66 ...
making C:/git/phx_main_tool_upgrade/PhoenixPlatformCfg/src/utils.ae66 ...
Build of libraries done.
Build of libraries done.
cle66 package/cfg/Phx_C6678_configuration_pe66.c ...
cle66 package/cfg/Phx_C6678_configuration_pe66.c ...
 
>> Compilation failure
RTSC_Platform/PhoenixPlat_C6678/package/subdir_rules.mk:12: recipe for target 'build-1980734785-inproc' failed
warning: ti.sysbios.BIOS: "C:/ti/bios_6_76_03_01/packages/ti/sysbios/BIOS.xs", line 888: ti.sysbios.BIOS getTimestampFreqMeta: WARNING: Timestamp provider ti.uia.family.c66.TimestampC66XGlobal does not implement getFreqMeta(). BIOS.getTimestampFreqMeta() is returning 0!
warning: ti.uia.runtime.UIAMetaData: "C:/ti/uia_2_30_01_02/packages/ti/uia/runtime/UIAMetaData.xs", line 1298: [object Object] timestampFreq: BIOS could not determine the timestamp frequency of device. Setting timestamp frequency to cpu frequency.To override this setting, set UIAMetaData.timestampFreq in your configuration (.cfg) file.
warning: ti.sysbios.BIOS: "C:/ti/bios_6_76_03_01/packages/ti/sysbios/BIOS.xs", line 888: ti.sysbios.BIOS getTimestampFreqMeta: WARNING: Timestamp provider ti.uia.family.c66.TimestampC66XGlobal does not implement getFreqMeta(). BIOS.getTimestampFreqMeta() is returning 0!
warning: ti.uia.runtime.UIAMetaData: "C:/ti/uia_2_30_01_02/packages/ti/uia/runtime/UIAMetaData.xs", line 1298: [object Object] timestampFreq: BIOS could not determine the timestamp frequency of device. Setting timestamp frequency to cpu frequency.To override this setting, set UIAMetaData.timestampFreq in your configuration (.cfg) file.
gmake.exe: *** [package/cfg/Phx_C6678_configuration_pe66.mak:18: package/cfg/Phx_C6678_configuration_pe66.oe66] Error 1
gmake.exe: *** Deleting file 'package/cfg/Phx_C6678_configuration_pe66.oe66'
gmake.exe: unlink: package/cfg/Phx_C6678_configuration_pe66.oe66: Permission denied
js: "C:/ti/xdctools_3_55_02_22_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[2]: *** [build-1980734785-inproc] Error 1
gmake[1]: *** [build-1980734785] Error 2
RTSC_Platform/PhoenixPlat_C6678/package/subdir_rules.mk:9: recipe for target 'build-1980734785' failed
Finished building: "../Phx_C6678_configuration.cfg"
 
makefile:130: recipe for target 'all' failed
gmake[1]: Target 'configPkg/linker.cmd' not remade because of errors.
gmake: *** [all] Error 2

**** Build Finished ****
  • Dear Customer,

    Good day!.

    Before, we get into the migration, are you able to successfully build the TI Processor SDK RTOS C667x 06.03.00.106 on CCS 9.3/10.4?

    Once that is done, with reference to that successful build, we can migrate the older one into the latest.

    Few other points from your build errors.

    1. 'linker.cmd' deleted. -- Linker.cmd is required right? Please check whether linker.cmd exist or not....

    2. Please try building the library source separately before linking them into the SDK build.

    Regards

    Shankari

  • Hi ShankariI can only build it successfully once but then cannot repeat it after. I think we can focus on the build issue. Thanks!

  • Hi ShankariI can only build it successfully once but then cannot repeat it after. I think we can focus on the build issue. Thanks!

  • Hi ShankariI can only build it successfully once but then cannot repeat it after. I think we can focus on the build issue. Thanks!

  • OK.

    Revert if any help needed.

    Regards

    Shankari

  • Hi Shankari

    TI Processor SDK RTOS C667x 06.03.00.106 is the latest SK I am trying to migrate to. My current project, PhoenixPlatformCfg , which is based on  TI Processor SDK RTOS C667x 06.03.00.04, can be built successfully in CCS 6.2.0.

    When I  import my current project based on TI Processor SDK RTOS C667x 06.03.00.04 in CCS 9.3, the build fails with the following errors.

        **** Clean-only build of configuration Default for project PhoenixPlatformCfg ****

    "C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 8 clean -O

    DEL /F "PhoenixPlatformCfg.lib" "configPkg\linker.cmd" "configPkg\compiler.opt"
    DEL /F "RTSC_Platform\PhoenixPlat_C6678\package\package_PhoenixPlat_C6678.obj"
    DEL /F "RTSC_Platform\PhoenixPlat_C6678\package\package_PhoenixPlat_C6678.d"
    RMDIR /S/Q "configPkg\" "configPkg\"
    Could Not Find C:\git\phx_main_tool_upgrade_2\PhoenixPlatformCfg\Default\RTSC_Platform\PhoenixPlat_C6678\package\package_PhoenixPlat_C6678.obj
    Could Not Find C:\git\phx_main_tool_upgrade_2\PhoenixPlatformCfg\Default\RTSC_Platform\PhoenixPlat_C6678\package\package_PhoenixPlat_C6678.d
    Finished clean

    **** Build Finished ****

    **** Build of configuration Default for project PhoenixPlatformCfg ****

    "C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

    Building file: "../Phx_C6678_configuration.cfg"
    Building file: "../RTSC_Platform/PhoenixPlat_C6678/package/build.cfg"
    Invoking: XDCtools
    Invoking: XDCtools
    "C:/ti/xdctools_3_32_01_22_core/xs" --xdcpath="C:/ti/ipc_3_44_01_01/packages;C:/ti/bios_6_46_04_53/packages;C:/ti/xdais_7_24_00_04/packages;C:/ti/xdais_7_24_00_04/examples;C:/git/phx_main_tool_upgrade_2/PhoenixPlatformCfg/RTSC_Platform;C:/ti/uia_2_00_06_52/packages;C:/ti/dsplib_c66x_3_4_0_0/packages;C:/ti/pdk_c667x_2_0_5/packages;C:/ti/mathlib_c66x_3_1_2_4/packages;C:/ti/ccs930/ccs/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p PhoenixPlat_C6678 -r release -b "C:/git/phx_main_tool_upgrade_2/PhoenixPlatformCfg/RTSC_Platform/PhoenixPlat_C6678/config.bld" -c "C:/ti/c6000_7.4.21" "../RTSC_Platform/PhoenixPlat_C6678/package/build.cfg"
    "C:/ti/xdctools_3_32_01_22_core/xs" --xdcpath="C:/ti/ipc_3_44_01_01/packages;C:/ti/bios_6_46_04_53/packages;C:/ti/xdais_7_24_00_04/packages;C:/ti/xdais_7_24_00_04/examples;C:/git/phx_main_tool_upgrade_2/PhoenixPlatformCfg/RTSC_Platform;C:/ti/uia_2_00_06_52/packages;C:/ti/dsplib_c66x_3_4_0_0/packages;C:/ti/pdk_c667x_2_0_5/packages;C:/ti/mathlib_c66x_3_1_2_4/packages;C:/ti/ccs930/ccs/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p PhoenixPlat_C6678 -r release -b "C:/git/phx_main_tool_upgrade_2/PhoenixPlatformCfg/RTSC_Platform/PhoenixPlat_C6678/config.bld" -c "C:/ti/c6000_7.4.21" "../Phx_C6678_configuration.cfg"
    making package.mak (because of package.bld) ...
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring Phx_C6678_configuration.xe66 from package/cfg/Phx_C6678_configuration_pe66.cfg ...
    configuring Phx_C6678_configuration.xe66 from package/cfg/Phx_C6678_configuration_pe66.cfg ...
    Application Logger num records: 128
    Application Logger Entry Size: 32
    Application Logger Size (MAUs): 4096
    -mv6600 --abi=eabi -q -mi10 -mo -pdr -pden -pds=238 -pds=880 -pds1110 --program_level_compile -o3 -g --optimize_with_debug -Dxdc_FILE=__FILE__
    isLoaded: true
    Application Logger num records: 128
    Application Logger Entry Size: 32
    Application Logger Size (MAUs): 4096
    -mv6600 --abi=eabi -q -mi10 -mo -pdr -pden -pds=238 -pds=880 -pds1110 --program_level_compile -o3 -g --optimize_with_debug -Dxdc_FILE=__FILE__
    isLoaded: true
    generating custom ti.sdo.utils library makefile ...
    generating custom ti.sdo.ipc library makefile ...
    generating custom ti.sdo.utils library makefile ...
    generating custom ti.sysbios library makefile ...
    generating custom ti.sdo.ipc library makefile ...
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    making C:/git/phx_main_tool_upgrade_2/PhoenixPlatformCfg/src/ipc.ae66 ...
    Starting build of library sources ...
    gmake[1]: Entering directory `C:/git/phx_main_tool_upgrade_2/PhoenixPlatformCfg/src/ipc'
    gmake[1]: Nothing to be done for `all'.
    gmake[1]: Leaving directory `C:/git/phx_main_tool_upgrade_2/PhoenixPlatformCfg/src/ipc'
    making C:/git/phx_main_tool_upgrade_2/PhoenixPlatformCfg/src/ipc.ae66 ...
    making C:/git/phx_main_tool_upgrade_2/PhoenixPlatformCfg/src/sysbios/sysbios.ae66 ...
    gmake[1]: Entering directory `C:/git/phx_main_tool_upgrade_2/PhoenixPlatformCfg/src/ipc'
    gmake[1]: Nothing to be done for `all'.
    gmake[1]: Leaving directory `C:/git/phx_main_tool_upgrade_2/PhoenixPlatformCfg/src/ipc'
    gmake[1]: Entering directory `C:/git/phx_main_tool_upgrade_2/PhoenixPlatformCfg/src/sysbios'
    gmake[1]: Nothing to be done for `all'.
    gmake[1]: Leaving directory `C:/git/phx_main_tool_upgrade_2/PhoenixPlatformCfg/src/sysbios'
    making C:/git/phx_main_tool_upgrade_2/PhoenixPlatformCfg/src/sysbios/sysbios.ae66 ...
    making C:/git/phx_main_tool_upgrade_2/PhoenixPlatformCfg/src/utils.ae66 ...
    gmake[1]: Entering directory `C:/git/phx_main_tool_upgrade_2/PhoenixPlatformCfg/src/utils'
    gmake[1]: Nothing to be done for `all'.
    gmake[1]: Leaving directory `C:/git/phx_main_tool_upgrade_2/PhoenixPlatformCfg/src/utils'
    Build of libraries done.
    gmake[1]: Entering directory `C:/git/phx_main_tool_upgrade_2/PhoenixPlatformCfg/src/sysbios'
    gmake[1]: Nothing to be done for `all'.
    gmake[1]: Leaving directory `C:/git/phx_main_tool_upgrade_2/PhoenixPlatformCfg/src/sysbios'
    making C:/git/phx_main_tool_upgrade_2/PhoenixPlatformCfg/src/utils.ae66 ...
    gmake[1]: Entering directory `C:/git/phx_main_tool_upgrade_2/PhoenixPlatformCfg/src/utils'
    gmake[1]: Nothing to be done for `all'.
    gmake[1]: Leaving directory `C:/git/phx_main_tool_upgrade_2/PhoenixPlatformCfg/src/utils'
    Build of libraries done.
    cle66 package/cfg/Phx_C6678_configuration_pe66.c ...
    cle66 package/cfg/Phx_C6678_configuration_pe66.c ...

    >> Compilation failure
    subdir_rules.mk:12: recipe for target 'build-161957295-inproc' failed
    gmake.exe: *** [package/cfg/Phx_C6678_configuration_pe66.oe66] Error 1
    js: "C:/ti/xdctools_3_32_01_22_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[2]: *** [build-161957295-inproc] Error 1
    gmake[1]: *** [build-161957295] Error 2
    subdir_rules.mk:9: recipe for target 'build-161957295' failed
    Finished building: "../RTSC_Platform/PhoenixPlat_C6678/package/build.cfg"

    makefile:130: recipe for target 'all' failed
    gmake[1]: Target 'configPkg/linker.cmd' not remade because of errors.
    gmake: *** [all] Error 2

    **** Build Finished ****

    I find the .cproject file in the PhoenixPlatformCfg project is updated automatically after it is imported in CCS 9.3, attached are the .cproject files before (.cproject.old) and after importing (.cproject) in CCS 9.3. I think the build errors are due to the changes made in .cproject by CCS 9.3.

    Below is the screen snapshot of two files compared side by side. The left one is the .cproject before importing and the right one is the one after importing in CCS 9.3. 

    Thanks!

    Wai Kwok

  • Hi WAi,

    As per the release notes of the SDK, the CCS versions recommended are these.

    1. TI Processor SDK RTOS C667x 06.03.00.106 works with CCS version 9.3

    2. TI Processor SDK RTOS C667x 06.03.00.04 works with CCS version 6.X

    ----

    My recommendation for you is this:

    1. Install CCS 9.3 and build the TI Processor SDK RTOS C667x 06.03.00.106 successfully.

    2. Migrate your app to work with the latest "TI Processor SDK RTOS C667x 06.03.00.106".

    ----

    If you want the  TI Processor SDK RTOS C667x 06.03.00.04 to work with  CCS 9.3, focus on the script files which has the path pointing to the CCS V6.

    Once you change the path to the appropriate CCS 9.3 path, all the build errors will be solved.

    For example:

    From your build error:

    js: "C:/ti/xdctools_3_32_01_22_core/packages/xdc/tools/Cmdr.xs"

    -----> Check that the path and version of XDC tools mentioned in the script file is correct or not.....

    ------> check all the other paths given in the script file for building has appropriate path for all the sub-packages....

    Regards

    Shankari

  • Hi Shankari

    1. Install CCS 9.3 and build the TI Processor SDK RTOS C667x 06.03.00.106 successfully.

    Do you mean building my project with TI Processor SDK RTOS C667x 06.03.00.106 or rebuild TI Processor SDK RTOS C667x 06.03.00.106? If you mean the later, can you tell me where to find the instructions how to rebuild  TI Processor SDK RTOS C667x 06.03.00.106.

    Thanks!

    Wai Kwok

  • Hi Shankari

    I check the path and version of XDC tool is correct. What is causing the error is not the path of xdc tool, but the access of the file, package/cfg/Phx_C6678_configuration_pe66.oe66, which is supposed to be generated in the platform project. I want to clarify that the project I am building with TI Processor SDK RTOS C667x 06.03.00.04  is a RTSC library project without my application code. 

    Thanks!

    Wai Kwok Law

    If you want the  TI Processor SDK RTOS C667x 06.03.00.04 to work with  CCS 9.3, focus on the script files which has the path pointing to the CCS V6.

    Once you change the path to the appropriate CCS 9.3 path, all the build errors will be solved.

    For example:

    From your build error:

    js: "C:/ti/xdctools_3_32_01_22_core/packages/xdc/tools/Cmdr.xs"

    -----> Check that the path and version of XDC tools mentioned in the script file is correct or not.....

    ------> check all the other paths given in the script file for building has appropriate path for all the sub-packages....

    >> Compilation failure
    subdir_rules.mk:12: recipe for target 'build-161957295-inproc' failed
    gmake.exe: *** [package/cfg/Phx_C6678_configuration_pe66.oe66] Error 1
    js: "C:/ti/xdctools_3_32_01_22_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[2]: *** [build-161957295-inproc] Error 1
    gmake[1]: *** [build-161957295] Error 2
    subdir_rules.mk:9: recipe for target 'build-161957295' failed
    Finished building: "../RTSC_Platform/PhoenixPlat_C6678/package/build.cfg"

    makefile:130: recipe for target 'all' failed
    gmake[1]: Target 'configPkg/linker.cmd' not remade because of errors.
    gmake: *** [all] Error 2

    **** Build Finished ****

  • Wai,

    Yes, if possible,  I meant to build your project with "TI Processor SDK RTOS C667x 06.03.00.106".

    First build the "TI Processor SDK RTOS C667x 06.03.00.106" with CCS 9.3 and then integrate your app code.

    ---

    Wai says " >>>>>  If you mean the later, can you tell me where to find the instructions how to rebuild  TI Processor SDK RTOS C667x 06.03.00.106. "

    Instructions are not available to migrate the old Processor SDK to the newer CCS versions as there are multiple SDK versions and multiple CCS versions.

    ---

    Check what is "Phx_C6678_configuration_pe66.oe66" in your app code.

    Try rebuilding this, "Phx_C6678_configuration_pe66.oe66".

  • Hi Shankari

    There are two projects in my workspace, Phoenix and PhoenixPlatformCfg. Phoenix, which has the app code, is a project generating executable, and it is  depending on PhoenixPlatformCfg. PhoenixPlatformCfg is a RTSC configuration static library project with  a RTSC platform and SYS/BIOS configuration. The errors reported in the first message of this thread is from the build of PhoenixPlatformCfg project which has been updated with latest libraries from TI Processor SDK RTOS C667x 06.03.00.106. I want to make sure we both are on the same page before any further discussion.

    Thanks!

    Wai Kwok

  • OK.

    Now we can discuss step by step.

    1. First build the PhoenixPlatformCfg project with the TI Processor SDK RTOS C667x 06.03.00.106.

    2. Build and link the Phoenix app project.

    Regards

    Shankari

  • Hi Shankari

    Here are steps I do to build PhoenixPlatformCfg 

    1. Import the 2 projects, Phoenix and PhoenixPlatformCfg, in CCS 9.3
    2. Open properties of PhoenixPlatformCfg and change the compiler and library versions to the ones specified in TI Processor SDK RTOS C667x 06.03.00.106



    3. Rebuild (Clean and Build) PhoenixPlatformCfg 

    I do the rebuild of PhoenixPlatformCfg (step 3 above) 3 times, and each rebuild gives me a different results which are logged in the following 3 files

    **** Clean-only build of configuration Default for project PhoenixPlatformCfg ****
    
    "C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 8 clean -O 
     
    DEL /F  "PhoenixPlatformCfg.lib"  "configPkg\linker.cmd" "configPkg\compiler.opt" 
    DEL /F "RTSC_Platform\PhoenixPlat_C6678\package\package_PhoenixPlat_C6678.obj" 
    DEL /F "RTSC_Platform\PhoenixPlat_C6678\package\package_PhoenixPlat_C6678.d" 
    RMDIR /S/Q  "configPkg\"  "configPkg\" 
    Could Not Find C:\git\phx_main_tool_upgrade_3\PhoenixPlatformCfg\Default\PhoenixPlatformCfg.lib
    Could Not Find C:\git\phx_main_tool_upgrade_3\PhoenixPlatformCfg\Default\RTSC_Platform\PhoenixPlat_C6678\package\package_PhoenixPlat_C6678.obj
    Could Not Find C:\git\phx_main_tool_upgrade_3\PhoenixPlatformCfg\Default\RTSC_Platform\PhoenixPlat_C6678\package\package_PhoenixPlat_C6678.d
    Finished clean
     
    
    **** Build Finished ****
    
    **** Build of configuration Default for project PhoenixPlatformCfg ****
    
    "C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 8 all -O 
     
    Building file: "../RTSC_Platform/PhoenixPlat_C6678/package/build.cfg"
    Building file: "../Phx_C6678_configuration.cfg"
    Invoking: XDCtools
    Invoking: XDCtools
    "C:/ti/xdctools_3_55_02_22_core/xs" --xdcpath="C:/ti/ipc_3_50_04_08/packages;C:/ti/bios_6_76_03_01/packages;C:/ti/xdais_7_24_00_04/packages;C:/ti/xdais_7_24_00_04/examples;C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/RTSC_Platform;C:/ti/uia_2_30_01_02/packages;C:/ti/dsplib_c66x_3_4_0_4/packages;C:/ti/pdk_c667x_2_0_16/packages;C:/ti/mathlib_c66x_3_1_2_4/packages;C:/ti/ccs930/ccs/ccs_base;C:/ti/pdk_c667x_2_0_16/packages;C:/ti/ipc_3_50_04_08/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p PhoenixPlat_C6678 -r release -b "C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/RTSC_Platform/PhoenixPlat_C6678/config.bld" -c "C:/ti/ti-cgt-c6000_8.3.2" "../Phx_C6678_configuration.cfg"
    "C:/ti/xdctools_3_55_02_22_core/xs" --xdcpath="C:/ti/ipc_3_50_04_08/packages;C:/ti/bios_6_76_03_01/packages;C:/ti/xdais_7_24_00_04/packages;C:/ti/xdais_7_24_00_04/examples;C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/RTSC_Platform;C:/ti/uia_2_30_01_02/packages;C:/ti/dsplib_c66x_3_4_0_4/packages;C:/ti/pdk_c667x_2_0_16/packages;C:/ti/mathlib_c66x_3_1_2_4/packages;C:/ti/ccs930/ccs/ccs_base;C:/ti/pdk_c667x_2_0_16/packages;C:/ti/ipc_3_50_04_08/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p PhoenixPlat_C6678 -r release -b "C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/RTSC_Platform/PhoenixPlat_C6678/config.bld" -c "C:/ti/ti-cgt-c6000_8.3.2" "../RTSC_Platform/PhoenixPlat_C6678/package/build.cfg"
    making package.mak (because of package.bld) ...
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring build.xe66 from package/cfg/build_pe66.cfg ...
    configuring build.xe66 from package/cfg/build_pe66.cfg ...
    cle66 package/cfg/build_pe66.c ...
    Finished building: "../RTSC_Platform/PhoenixPlat_C6678/package/build.cfg"
    Finished building: "../Phx_C6678_configuration.cfg"
     
     
    Building file: "../RTSC_Platform/PhoenixPlat_C6678/package/package_PhoenixPlat_C6678.c"
    Invoking: C6000 Compiler
    "C:/ti/ti-cgt-c6000_8.3.2/bin/cl6x" -mv6600 --abi=eabi --preproc_with_compile --preproc_dependency="RTSC_Platform/PhoenixPlat_C6678/package/package_PhoenixPlat_C6678.d_raw" --obj_directory="RTSC_Platform/PhoenixPlat_C6678/package" --cmd_file="configPkg/compiler.opt" "../RTSC_Platform/PhoenixPlat_C6678/package/package_PhoenixPlat_C6678.c"
    Finished building: "../RTSC_Platform/PhoenixPlat_C6678/package/package_PhoenixPlat_C6678.c"
     
    Building target: "PhoenixPlatformCfg.lib"
    Invoking: C6000 Archiver
    "C:/ti/ti-cgt-c6000_8.3.2/bin/ar6x" r "PhoenixPlatformCfg.lib" "./RTSC_Platform/PhoenixPlat_C6678/package/package_PhoenixPlat_C6678.obj" 
      ==>  new archive 'PhoenixPlatformCfg.lib'
      ==>  building archive 'PhoenixPlatformCfg.lib'
    Finished building target: "PhoenixPlatformCfg.lib"
     
    
    **** Build Finished ****
    **** Clean-only build of configuration Default for project PhoenixPlatformCfg ****
    
    "C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 8 clean -O 
     
    DEL /F  "PhoenixPlatformCfg.lib"  "configPkg\linker.cmd" "configPkg\compiler.opt" 
    DEL /F "RTSC_Platform\PhoenixPlat_C6678\package\package_PhoenixPlat_C6678.obj" 
    DEL /F "RTSC_Platform\PhoenixPlat_C6678\package\package_PhoenixPlat_C6678.d" 
    RMDIR /S/Q  "configPkg\"  "configPkg\" 
    Could Not Find C:\git\phx_main_tool_upgrade_3\PhoenixPlatformCfg\Default\PhoenixPlatformCfg.lib
    Could Not Find C:\git\phx_main_tool_upgrade_3\PhoenixPlatformCfg\Default\RTSC_Platform\PhoenixPlat_C6678\package\package_PhoenixPlat_C6678.obj
    Could Not Find C:\git\phx_main_tool_upgrade_3\PhoenixPlatformCfg\Default\RTSC_Platform\PhoenixPlat_C6678\package\package_PhoenixPlat_C6678.d
    Finished clean
     
    
    **** Build Finished ****
    
    **** Build of configuration Default for project PhoenixPlatformCfg ****
    
    "C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 8 all -O 
     
    Building file: "../Phx_C6678_configuration.cfg"
    Building file: "../RTSC_Platform/PhoenixPlat_C6678/package/build.cfg"
    Invoking: XDCtools
    Invoking: XDCtools
    "C:/ti/xdctools_3_55_02_22_core/xs" --xdcpath="C:/ti/ipc_3_50_04_08/packages;C:/ti/bios_6_76_03_01/packages;C:/ti/xdais_7_24_00_04/packages;C:/ti/xdais_7_24_00_04/examples;C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/RTSC_Platform;C:/ti/uia_2_30_01_02/packages;C:/ti/dsplib_c66x_3_4_0_4/packages;C:/ti/pdk_c667x_2_0_16/packages;C:/ti/mathlib_c66x_3_1_2_4/packages;C:/ti/ccs930/ccs/ccs_base;C:/ti/pdk_c667x_2_0_16/packages;C:/ti/ipc_3_50_04_08/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p PhoenixPlat_C6678 -r release -b "C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/RTSC_Platform/PhoenixPlat_C6678/config.bld" -c "C:/ti/ti-cgt-c6000_8.3.2" "../Phx_C6678_configuration.cfg"
    "C:/ti/xdctools_3_55_02_22_core/xs" --xdcpath="C:/ti/ipc_3_50_04_08/packages;C:/ti/bios_6_76_03_01/packages;C:/ti/xdais_7_24_00_04/packages;C:/ti/xdais_7_24_00_04/examples;C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/RTSC_Platform;C:/ti/uia_2_30_01_02/packages;C:/ti/dsplib_c66x_3_4_0_4/packages;C:/ti/pdk_c667x_2_0_16/packages;C:/ti/mathlib_c66x_3_1_2_4/packages;C:/ti/ccs930/ccs/ccs_base;C:/ti/pdk_c667x_2_0_16/packages;C:/ti/ipc_3_50_04_08/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p PhoenixPlat_C6678 -r release -b "C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/RTSC_Platform/PhoenixPlat_C6678/config.bld" -c "C:/ti/ti-cgt-c6000_8.3.2" "../RTSC_Platform/PhoenixPlat_C6678/package/build.cfg"
    making package.mak (because of package.bld) ...
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring Phx_C6678_configuration.xe66 from package/cfg/Phx_C6678_configuration_pe66.cfg ...
    configuring Phx_C6678_configuration.xe66 from package/cfg/Phx_C6678_configuration_pe66.cfg ...
    Application Logger num records: 128
    Application Logger Entry Size: 32
    Application Logger Size (MAUs): 4096
    -mv6600 --abi=eabi -q -mi10 -mo -pdr -pden -pds=238 -pds=880 -pds1110  --program_level_compile -o3 -g  -Dxdc_FILE=__FILE__ 
    Application Logger num records: 128
    Application Logger Entry Size: 32
    Application Logger Size (MAUs): 4096
    -mv6600 --abi=eabi -q -mi10 -mo -pdr -pden -pds=238 -pds=880 -pds1110  --program_level_compile -o3 -g  -Dxdc_FILE=__FILE__ 
    isLoaded: true
    isLoaded: true
    generating custom ti.sdo.utils library makefile ...
    generating custom ti.sdo.ipc library makefile ...
    generating custom ti.sdo.utils library makefile ...
    generating custom ti.sdo.ipc library makefile ...
    generating custom ti.sysbios library makefile ... 
    generating custom ti.sysbios library makefile ... 
    Starting build of library sources ...
    Starting build of library sources ...
    making C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/src/ipc.ae66 ...
    making C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/src/ipc.ae66 ...
    making C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/src/sysbios/sysbios.ae66 ...
    making C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/src/sysbios/sysbios.ae66 ...
    making C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/src/utils.ae66 ...
    making C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/src/utils.ae66 ...
    Build of libraries done.
    Build of libraries done.
    cle66 package/cfg/Phx_C6678_configuration_pe66.c ...
    cle66 package/cfg/Phx_C6678_configuration_pe66.c ...
     
    >> Compilation failure
    RTSC_Platform/PhoenixPlat_C6678/package/subdir_rules.mk:12: recipe for target 'build-1980734785-inproc' failed
    warning: ti.sysbios.BIOS: "C:/ti/bios_6_76_03_01/packages/ti/sysbios/BIOS.xs", line 888: ti.sysbios.BIOS getTimestampFreqMeta: WARNING: Timestamp provider ti.uia.family.c66.TimestampC66XGlobal does not implement getFreqMeta(). BIOS.getTimestampFreqMeta() is returning 0!
    warning: ti.uia.runtime.UIAMetaData: "C:/ti/uia_2_30_01_02/packages/ti/uia/runtime/UIAMetaData.xs", line 1298: [object Object] timestampFreq: BIOS could not determine the timestamp frequency of device. Setting timestamp frequency to cpu frequency.To override this setting, set UIAMetaData.timestampFreq in your configuration (.cfg) file.
    warning: ti.sysbios.BIOS: "C:/ti/bios_6_76_03_01/packages/ti/sysbios/BIOS.xs", line 888: ti.sysbios.BIOS getTimestampFreqMeta: WARNING: Timestamp provider ti.uia.family.c66.TimestampC66XGlobal does not implement getFreqMeta(). BIOS.getTimestampFreqMeta() is returning 0!
    warning: ti.uia.runtime.UIAMetaData: "C:/ti/uia_2_30_01_02/packages/ti/uia/runtime/UIAMetaData.xs", line 1298: [object Object] timestampFreq: BIOS could not determine the timestamp frequency of device. Setting timestamp frequency to cpu frequency.To override this setting, set UIAMetaData.timestampFreq in your configuration (.cfg) file.
    gmake.exe: *** [package/cfg/Phx_C6678_configuration_pe66.mak:18: package/cfg/Phx_C6678_configuration_pe66.oe66] Error 1
    gmake.exe: *** Deleting file 'package/cfg/Phx_C6678_configuration_pe66.oe66'
    gmake.exe: unlink: package/cfg/Phx_C6678_configuration_pe66.oe66: Permission denied
    js: "C:/ti/xdctools_3_55_02_22_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[2]: *** [build-1980734785-inproc] Error 1
    gmake[1]: *** [build-1980734785] Error 2
    RTSC_Platform/PhoenixPlat_C6678/package/subdir_rules.mk:9: recipe for target 'build-1980734785' failed
    Finished building: "../Phx_C6678_configuration.cfg"
     
    makefile:130: recipe for target 'all' failed
    gmake[1]: Target 'configPkg/linker.cmd' not remade because of errors.
    gmake: *** [all] Error 2
    
    **** Build Finished ****
    
    **** Clean-only build of configuration Default for project PhoenixPlatformCfg ****
    
    "C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 8 clean -O 
     
    DEL /F  "PhoenixPlatformCfg.lib"  "configPkg\linker.cmd" "configPkg\compiler.opt" 
    DEL /F "RTSC_Platform\PhoenixPlat_C6678\package\package_PhoenixPlat_C6678.obj" 
    DEL /F "RTSC_Platform\PhoenixPlat_C6678\package\package_PhoenixPlat_C6678.d" 
    RMDIR /S/Q  "configPkg\"  "configPkg\" 
    Could Not Find C:\git\phx_main_tool_upgrade_3\PhoenixPlatformCfg\Default\PhoenixPlatformCfg.lib
    Could Not Find C:\git\phx_main_tool_upgrade_3\PhoenixPlatformCfg\Default\RTSC_Platform\PhoenixPlat_C6678\package\package_PhoenixPlat_C6678.obj
    Could Not Find C:\git\phx_main_tool_upgrade_3\PhoenixPlatformCfg\Default\RTSC_Platform\PhoenixPlat_C6678\package\package_PhoenixPlat_C6678.d
    Finished clean
     
    
    **** Build Finished ****
    
    **** Build of configuration Default for project PhoenixPlatformCfg ****
    
    "C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 8 all -O 
     
    Building file: "../RTSC_Platform/PhoenixPlat_C6678/package/build.cfg"
    Building file: "../Phx_C6678_configuration.cfg"
    Invoking: XDCtools
    Invoking: XDCtools
    "C:/ti/xdctools_3_55_02_22_core/xs" --xdcpath="C:/ti/ipc_3_50_04_08/packages;C:/ti/bios_6_76_03_01/packages;C:/ti/xdais_7_24_00_04/packages;C:/ti/xdais_7_24_00_04/examples;C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/RTSC_Platform;C:/ti/uia_2_30_01_02/packages;C:/ti/dsplib_c66x_3_4_0_4/packages;C:/ti/pdk_c667x_2_0_16/packages;C:/ti/mathlib_c66x_3_1_2_4/packages;C:/ti/ccs930/ccs/ccs_base;C:/ti/pdk_c667x_2_0_16/packages;C:/ti/ipc_3_50_04_08/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p PhoenixPlat_C6678 -r release -b "C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/RTSC_Platform/PhoenixPlat_C6678/config.bld" -c "C:/ti/ti-cgt-c6000_8.3.2" "../RTSC_Platform/PhoenixPlat_C6678/package/build.cfg"
    "C:/ti/xdctools_3_55_02_22_core/xs" --xdcpath="C:/ti/ipc_3_50_04_08/packages;C:/ti/bios_6_76_03_01/packages;C:/ti/xdais_7_24_00_04/packages;C:/ti/xdais_7_24_00_04/examples;C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/RTSC_Platform;C:/ti/uia_2_30_01_02/packages;C:/ti/dsplib_c66x_3_4_0_4/packages;C:/ti/pdk_c667x_2_0_16/packages;C:/ti/mathlib_c66x_3_1_2_4/packages;C:/ti/ccs930/ccs/ccs_base;C:/ti/pdk_c667x_2_0_16/packages;C:/ti/ipc_3_50_04_08/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p PhoenixPlat_C6678 -r release -b "C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/RTSC_Platform/PhoenixPlat_C6678/config.bld" -c "C:/ti/ti-cgt-c6000_8.3.2" "../Phx_C6678_configuration.cfg"
    making package.mak (because of package.bld) ...
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring Phx_C6678_configuration.xe66 from package/cfg/Phx_C6678_configuration_pe66.cfg ...
    configuring Phx_C6678_configuration.xe66 from package/cfg/Phx_C6678_configuration_pe66.cfg ...
    Application Logger num records: 128
    Application Logger Entry Size: 32
    Application Logger Size (MAUs): 4096
    -mv6600 --abi=eabi -q -mi10 -mo -pdr -pden -pds=238 -pds=880 -pds1110  --program_level_compile -o3 -g  -Dxdc_FILE=__FILE__ 
    isLoaded: true
    Application Logger num records: 128
    Application Logger Entry Size: 32
    Application Logger Size (MAUs): 4096
    -mv6600 --abi=eabi -q -mi10 -mo -pdr -pden -pds=238 -pds=880 -pds1110  --program_level_compile -o3 -g  -Dxdc_FILE=__FILE__ 
    isLoaded: true
    generating custom ti.sdo.utils library makefile ...
    generating custom ti.sdo.utils library makefile ...
    generating custom ti.sdo.ipc library makefile ...
    generating custom ti.sdo.ipc library makefile ...
    generating custom ti.sysbios library makefile ... 
    generating custom ti.sysbios library makefile ... 
    Starting build of library sources ...
    Starting build of library sources ...
    making C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/src/ipc.ae66 ...
    making C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/src/ipc.ae66 ...
    making C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/src/sysbios/sysbios.ae66 ...
    making C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/src/sysbios/sysbios.ae66 ...
    making C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/src/utils.ae66 ...
    Build of libraries done.
    making C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/src/utils.ae66 ...
    Build of libraries done.
    cle66 package/cfg/Phx_C6678_configuration_pe66.c ...
    cle66 package/cfg/Phx_C6678_configuration_pe66.c ...
     
    >> Compilation failure
    subdir_rules.mk:12: recipe for target 'build-161957295-inproc' failed
    warning: ti.sysbios.BIOS: "C:/ti/bios_6_76_03_01/packages/ti/sysbios/BIOS.xs", line 888: ti.sysbios.BIOS getTimestampFreqMeta: WARNING: Timestamp provider ti.uia.family.c66.TimestampC66XGlobal does not implement getFreqMeta(). BIOS.getTimestampFreqMeta() is returning 0!
    warning: ti.uia.runtime.UIAMetaData: "C:/ti/uia_2_30_01_02/packages/ti/uia/runtime/UIAMetaData.xs", line 1298: [object Object] timestampFreq: BIOS could not determine the timestamp frequency of device. Setting timestamp frequency to cpu frequency.To override this setting, set UIAMetaData.timestampFreq in your configuration (.cfg) file.
    warning: ti.sysbios.BIOS: "C:/ti/bios_6_76_03_01/packages/ti/sysbios/BIOS.xs", line 888: ti.sysbios.BIOS getTimestampFreqMeta: WARNING: Timestamp provider ti.uia.family.c66.TimestampC66XGlobal does not implement getFreqMeta(). BIOS.getTimestampFreqMeta() is returning 0!
    warning: ti.uia.runtime.UIAMetaData: "C:/ti/uia_2_30_01_02/packages/ti/uia/runtime/UIAMetaData.xs", line 1298: [object Object] timestampFreq: BIOS could not determine the timestamp frequency of device. Setting timestamp frequency to cpu frequency.To override this setting, set UIAMetaData.timestampFreq in your configuration (.cfg) file.
    gmake.exe: *** [package/cfg/Phx_C6678_configuration_pe66.mak:18: package/cfg/Phx_C6678_configuration_pe66.oe66] Error 1
    js: "C:/ti/xdctools_3_55_02_22_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[2]: *** [build-161957295-inproc] Error 1
    gmake[1]: *** [build-161957295] Error 2
    subdir_rules.mk:9: recipe for target 'build-161957295' failed
    Finished building: "../RTSC_Platform/PhoenixPlat_C6678/package/build.cfg"
     
    makefile:130: recipe for target 'all' failed
    gmake[1]: Target 'configPkg/linker.cmd' not remade because of errors.
    gmake: *** [all] Error 2
    
    **** Build Finished ****
    

    1. console1.txt - The build is successful but it doesn't build the BIOS configuration file, Phx_C6678_configruation.cfg
    2. console2.txt - The build does build the BIOS configuration file, Phx_C6678_configruation.cfg but it has build error "unlink: package/cfg/Phx_C6678_configuration_pe66.oe66: Permission denied"
    3. console3.txt - The build does build the BIOS configuration file, Phx_C6678_configruation.cfg but it has build error "js: "C:/ti/xdctools_3_55_02_22_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted."

    One thing found very strange is that the same build command is executed 2 times in console1.txt and console2.txt.

    Building file: "../Phx_C6678_configuration.cfg"
    Building file: "../RTSC_Platform/PhoenixPlat_C6678/package/build.cfg"
    Invoking: XDCtools
    Invoking: XDCtools
    "C:/ti/xdctools_3_55_02_22_core/xs" --xdcpath="C:/ti/ipc_3_50_04_08/packages;C:/ti/bios_6_76_03_01/packages;C:/ti/xdais_7_24_00_04/packages;C:/ti/xdais_7_24_00_04/examples;C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/RTSC_Platform;C:/ti/uia_2_30_01_02/packages;C:/ti/dsplib_c66x_3_4_0_4/packages;C:/ti/pdk_c667x_2_0_16/packages;C:/ti/mathlib_c66x_3_1_2_4/packages;C:/ti/ccs930/ccs/ccs_base;C:/ti/pdk_c667x_2_0_16/packages;C:/ti/ipc_3_50_04_08/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p PhoenixPlat_C6678 -r release -b "C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/RTSC_Platform/PhoenixPlat_C6678/config.bld" -c "C:/ti/ti-cgt-c6000_8.3.2" "../Phx_C6678_configuration.cfg"
    "C:/ti/xdctools_3_55_02_22_core/xs" --xdcpath="C:/ti/ipc_3_50_04_08/packages;C:/ti/bios_6_76_03_01/packages;C:/ti/xdais_7_24_00_04/packages;C:/ti/xdais_7_24_00_04/examples;C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/RTSC_Platform;C:/ti/uia_2_30_01_02/packages;C:/ti/dsplib_c66x_3_4_0_4/packages;C:/ti/pdk_c667x_2_0_16/packages;C:/ti/mathlib_c66x_3_1_2_4/packages;C:/ti/ccs930/ccs/ccs_base;C:/ti/pdk_c667x_2_0_16/packages;C:/ti/ipc_3_50_04_08/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p PhoenixPlat_C6678 -r release -b "C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/RTSC_Platform/PhoenixPlat_C6678/config.bld" -c "C:/ti/ti-cgt-c6000_8.3.2" "../RTSC_Platform/PhoenixPlat_C6678/package/build.cfg"
    making package.mak (because of package.bld) ...
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring Phx_C6678_configuration.xe66 from package/cfg/Phx_C6678_configuration_pe66.cfg ...
    configuring Phx_C6678_configuration.xe66 from package/cfg/Phx_C6678_configuration_pe66.cfg ...
    Application Logger num records: 128
    Application Logger Entry Size: 32
    Application Logger Size (MAUs): 4096
    -mv6600 --abi=eabi -q -mi10 -mo -pdr -pden -pds=238 -pds=880 -pds1110 --program_level_compile -o3 -g -Dxdc_FILE=__FILE__
    Application Logger num records: 128
    Application Logger Entry Size: 32
    Application Logger Size (MAUs): 4096
    -mv6600 --abi=eabi -q -mi10 -mo -pdr -pden -pds=238 -pds=880 -pds1110 --program_level_compile -o3 -g -Dxdc_FILE=__FILE__
    isLoaded: true
    isLoaded: true
    generating custom ti.sdo.utils library makefile ...
    generating custom ti.sdo.ipc library makefile ...
    generating custom ti.sdo.utils library makefile ...
    generating custom ti.sdo.ipc library makefile ...
    generating custom ti.sysbios library makefile ...
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    Starting build of library sources ...
    making C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/src/ipc.ae66 ...
    making C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/src/ipc.ae66 ...
    making C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/src/sysbios/sysbios.ae66 ...
    making C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/src/sysbios/sysbios.ae66 ...
    making C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/src/utils.ae66 ...
    making C:/git/phx_main_tool_upgrade_3/PhoenixPlatformCfg/src/utils.ae66 ...
    Build of libraries done.
    Build of libraries done.
    cle66 package/cfg/Phx_C6678_configuration_pe66.c ...
    cle66 package/cfg/Phx_C6678_configuration_pe66.c ...

    It is difficult to debug it because the result is not consistent each time it is rebuilt. Below is PhoenixPlatformCfg  project.

    3343.PhoenixPlatformCfg.zip

    Any kind of help is appreciated. 

    Regards!

    Wai Kwok Law

  • Hi Shankari

    I find the reason why the same build command executed 2 times in console2.txt and console3.txt. There are two configuration files (../Phx_C6678_configuration.cfg../RTSC_Platform/PhoenixPlat_C6678/package/build.cfg) found in the  PhoenixPlatformCfg project. If I exclude ../RTSC_Platform/PhoenixPlat_C6678/package/build.cfg from the build, then the build of PhoenixPlatformCfg is successful each time I rebuild it. 

    ../RTSC_Platform/PhoenixPlat_C6678/package/build.cfg is automatically generated when the RTSC platform, PhoenixPlat_C6678, is created using the RTSC platform. After adding my custom configuration file (../Phx_C6678_configuration.cfg) in the PhoenixPlatformCfg  project, I think ../RTSC_Platform/PhoenixPlat_C6678/package/build.cfg should not be included in the project build.  Can you confirm that? 

    The engineers. who created the platform project (PhoenixPlatformCfg ), had all left my company. The knowledge of how to create a platform configuration static library is lost. Can you provide me some reference with instructions how to create a platform configuration static library which can be linked to an application project.

    Thanks!

    Wai Kwok 

  • Wai,

    Good to hear, there is a progress..

    Wai says " >>>>n the PhoenixPlatformCfg  project, I think ../RTSC_Platform/PhoenixPlat_C6678/package/build.cfg should not be included in the project build.  Can you confirm that? "

    In general the ".cfg file will contain info on the list of XDC modules to be used for the project, data sections for specific memory locations etc....

    The configuration files you are pointing are your custom configuration files, which you might know better than anybody else.

    You may have to open up the two config files and decide upon which is needed for your project/app etc...

    -----

    >>>unlink: package/cfg/Phx_C6678_configuration_pe66.oe66: Permission denied"

    Check out the file permissions too... """-rw-r--r-- """  on the Phx_C6678_configuration_pe66.oe66, why it could not unlink the cfg...

    Admin rights for the PC you use..or the file editing permissions on read/write etc...

    ------

    CCS user guide for compiling/linking etc...

    http://software-dl.ti.com/ccs/esd/documents/users_guide/ccs_project-management.html#configuring-projects

    http://software-dl.ti.com/ccs/esd/documents/users_guide/ccs_project-management.html?highlight=configuration#exclude-files-from-build

    http://software-dl.ti.com/ccs/esd/documents/users_guide/index.html

    -- 

    other e2e links

    https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/488730/change-c6678-ipc-messageq-example-to-use-separate-configuration-project

    Regards

    Shankari