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.

CCS/TDA3MV: SYSBIOS & XDCtools compatibility

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

Tool/software: Code Composer Studio

Hi ,

Trying to build TDA3xx source code using CCS V7, I am getting an error for SYSBIOS (6.46.00.23) & XDCtools(3.50.04.43) compatibility issue (please see below): while building IPU1_C0b, IPU1_C1n cores of TDA3xx ..

can you tell me what version of XDCtools I should be using ? BIOS 6.46.00.23 is compatible with XDCtools 3.32.00.xx or later, then why am I getting this error?

please see the error below :

  ---------------------------------------------------------------------------------------------------------------

error: xdc.cfg.Program: "C:/ti/xdctools_3_50_04_43_core/packages/xdc/cfg/Program.xs", line 71: xdc.cfg.Program : The package 'ti.sysbios.knl' is not compatible with XDCtools used in this build. Please either use XDCtools compatible with that package, or update the product containing that package, or rebuild the package with XDCtools 3.50 or later.

js: "C:/ti/xdctools_3_50_04_43_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!

gmake.exe: *** [package/cfg/client_pem4.xdl] Error 1

Warning: directory "C:/ti/xdctools_3_50_04_43_core" on package path has a "packages" subdirectory - did you mean this instead?

js: "C:/ti/xdctools_3_50_04_43_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.

gmake[1]: *** [build-1240299407-inproc] Error 1

gmake: *** [build-1240299407] Error 2

gmake[1]: Leaving directory 'C:/USRR1_2/code/TDA3xx/IPU1_C0b/Debug'

subdir_rules.mk:9: recipe for target 'build-1240299407' failed

gmake: Target 'all' not remade because of errors.

 ------------------------------------------------------------------------------

Thanks

Rafi

  • Hi,

    What is the software package and release you are using. In case you are using Vision SDK you should refer to Rules.make to see the compatible tool versions.

    Regards,
    Rishabh
  • The recommended XDC Tools Version for SYSBIOS 6.46.00.23 is XDCTools 3.32.00.06. You can always find these dependencies on the SYS/BIOS download page (software-dl.ti.com/.../index.html).

    Regards,
    Manfred
  • I used the recommended XDCtools and SYSBIOS, now I get some fatal errors while building.

    ---------------------

    Description Resource Path Location Type
    #1965 cannot open source file "common/bsp_types.h" bspdrv_ar12xx.c /IPU1_C0b/radar_API/bspdrv line 52 C/C++ Problem
    #1965 cannot open source file "common/bsp_types.h" bspdrv_ar12xxPriv.h /IPU1_C0b/radar_API/bspdrv line 49 C/C++ Problem
    #1965 cannot open source file "common/stw_dataTypes.h" app_framebufmgnt.c /IPU1_C0b/radar_capture/src line 15 C/C++ Problem
    #1965 cannot open source file "common/stw_dataTypes.h" bsp_utilsQue.c /IPU1_C0b/radar_API/bspdrv line 44 C/C++ Problem
    #1965 cannot open source file "common/stw_dataTypes.h" usrr_capture.c /IPU1_C0b/radar_capture/src line 28 C/C++ Problem
    #1965 cannot open source file "gpio_v2.h" timer_api.c /IPU1_C0b/CoresCommon/Drivers/Timer/src line 7 C/C++ Problem
    #1965 cannot open source file "hw_ctrl_core_pad_io.h" gpio_config.c /IPU1_C0b/CoresCommon/Drivers/Gpio/src line 21 C/C++ Problem
    #1965 cannot open source file "hw_ctrl_core_pad_io.h" pad_config.c /IPU1_C0b/CoresCommon/Drivers/Gpio/src line 13 C/C++ Problem
    #1965 cannot open source file "soc.h" ipuC0_main.c /IPU1_C0b/src line 29 C/C++ Problem
    #1965 cannot open source file "ti/sdo/edma3/drv/edma3_drv.h" .ccsproject /IPU1_C0b line 55, external location: C:\ti\radar_driver_29thApril2017\TOGM\bsp_ar12xx.h C/C++ Problem
    #1965 cannot open source file "timer.h" timer.c /IPU1_C0b/CoresCommon/Drivers/Timer/csl_src line 46 C/C++ Problem
    gmake: *** [CoresCommon/Drivers/Gpio/src/gpio_config.obj] Error 1 IPU1_C0b C/C++ Problem
    gmake: *** [CoresCommon/Drivers/Gpio/src/pad_config.obj] Error 1 IPU1_C0b C/C++ Problem
    gmake: *** [CoresCommon/Drivers/Timer/csl_src/timer.obj] Error 1 IPU1_C0b C/C++ Problem
    gmake: *** [CoresCommon/Drivers/Timer/src/timer_api.obj] Error 1 IPU1_C0b C/C++ Problem
    gmake: *** [radar_API/bspdrv/bsp_utilsQue.obj] Error 1 IPU1_C0b C/C++ Problem
    gmake: *** [radar_API/bspdrv/bspdrv_ar1243cfg.obj] Error 1 IPU1_C0b C/C++ Problem
    gmake: *** [radar_API/bspdrv/bspdrv_ar12xx.obj] Error 1 IPU1_C0b C/C++ Problem
    gmake: *** [radar_API/bspdrv/bspdrv_ar12xxFmwPriv.obj] Error 1 IPU1_C0b C/C++ Problem
    gmake: *** [radar_API/bspdrv/bspdrv_ar12xxGpioCfgPriv.obj] Error 1 IPU1_C0b C/C++ Problem
    gmake: *** [radar_API/bspdrv/bspdrv_ar12xxI2CCfgPriv.obj] Error 1 IPU1_C0b C/C++ Problem
    gmake: *** [radar_API/bspdrv/bspdrv_ar12xxMcspiCfgPriv.obj] Error 1 IPU1_C0b C/C++ Problem
    gmake: *** [radar_API/bspdrv/bspdrv_ar12xxOsalPriv.obj] Error 1 IPU1_C0b C/C++ Problem
    gmake: *** [radar_API/bspdrv/bspdrv_ar12xxPriv.obj] Error 1 IPU1_C0b C/C++ Problem
    gmake: *** [radar_API/bspdrv/bspdrv_ar12xxUartCfgPriv.obj] Error 1 IPU1_C0b C/C++ Problem
    gmake: *** [radar_capture/src/app_framebufmgnt.obj] Error 1 IPU1_C0b C/C++ Problem
    gmake: *** [radar_capture/src/usrr_capture.obj] Error 1 IPU1_C0b C/C++ Problem
    gmake: *** [src/ipuC0_main.obj] Error 1 IPU1_C0b C/C++ Problem
    gmake: Target 'all' not remade because of errors. IPU1_C0b C/C++ Problem
    #188-D pointless comparison of unsigned integer with zero csl_edma3HwControl.c /IPU1_C0b/edma/src line 226 C/C++ Problem
    #1921-D white space is required between the macro name "CSL_GEM_CPU" and its replacement text .ccsproject /IPU1_C0b line 1320, external location: C:\CCS71016\pdk_C6657_1_1_2_6\packages\ti\csl\cslr_device.h C/C++ Problem
    <a href="processors.wiki.ti.com/.../225"> function "_mfence" declared implicitly .ccsproject /IPU1_C0b line 1192, external location: C:\CCS71016\pdk_C6657_1_1_2_6\packages\ti\csl\csl_cacheAux.h C/C++ Problem
    <a href="processors.wiki.ti.com/.../225"> function "_mfence" declared implicitly .ccsproject /IPU1_C0b line 1506, external location: C:\CCS71016\pdk_C6657_1_1_2_6\packages\ti\csl\csl_cacheAux.h C/C++ Problem
    <a href="processors.wiki.ti.com/.../225"> function "_mfence" declared implicitly .ccsproject /IPU1_C0b line 1602, external location: C:\CCS71016\pdk_C6657_1_1_2_6\packages\ti\csl\csl_cacheAux.h C/C++ Problem
    <a href="processors.wiki.ti.com/.../225"> function "_mfence" declared implicitly .ccsproject /IPU1_C0b line 1697, external location: C:\CCS71016\pdk_C6657_1_1_2_6\packages\ti\csl\csl_cacheAux.h C/C++ Problem
    <a href="processors.wiki.ti.com/.../225"> function "_mfence" declared implicitly .ccsproject /IPU1_C0b line 725, external location: C:\CCS71016\pdk_C6657_1_1_2_6\packages\ti\csl\csl_cacheAux.h C/C++ Problem
    <a href="processors.wiki.ti.com/.../225"> function "_mfence" declared implicitly .ccsproject /IPU1_C0b line 822, external location: C:\CCS71016\pdk_C6657_1_1_2_6\packages\ti\csl\csl_cacheAux.h C/C++ Problem
    <a href="processors.wiki.ti.com/.../225"> function "_mfence" declared implicitly .ccsproject /IPU1_C0b line 921, external location: C:\CCS71016\pdk_C6657_1_1_2_6\packages\ti\csl\csl_cacheAux.h C/C++ Problem
    Invalid project path: Include path not found (C:\ti\PROCESSOR_SDK_RADAR_02_12_USRR\ti_components\drivers\bsp_01_07_01_17\include). IPU1_C0b pathentry Path Entry Problem
    Invalid project path: Include path not found (C:\ti\PROCESSOR_SDK_RADAR_02_12_USRR\ti_components\drivers\bsp_01_07_01_17\src\devices\radar_ar12xx\src). IPU1_C0b pathentry Path Entry Problem
    Invalid project path: Include path not found (C:\ti\PROCESSOR_SDK_RADAR_02_12_USRR\ti_components\drivers\edma3_lld_02_12_00_20\packages). IPU1_C0b pathentry Path Entry Problem
    Invalid project path: Include path not found (C:\ti\PROCESSOR_SDK_RADAR_02_12_USRR\ti_components\drivers\starterware_01_07_01_20\examples\utility). IPU1_C0b pathentry Path Entry Problem
    Invalid project path: Include path not found (C:\ti\PROCESSOR_SDK_RADAR_02_12_USRR\ti_components\drivers\starterware_01_07_01_20\include). IPU1_C0b pathentry Path Entry Problem
    Invalid project path: Include path not found (C:\ti\PROCESSOR_SDK_RADAR_02_12_USRR\ti_components\drivers\starterware_01_07_01_20\include\armv7m). IPU1_C0b pathentry Path Entry Problem
    Invalid project path: Include path not found (C:\ti\PROCESSOR_SDK_RADAR_02_12_USRR\ti_components\drivers\starterware_01_07_01_20\include\armv7m\tda3xx). IPU1_C0b pathentry Path Entry Problem
    Invalid project path: Include path not found (C:\ti\PROCESSOR_SDK_RADAR_02_12_USRR\ti_components\drivers\starterware_01_07_01_20\include\hw). IPU1_C0b pathentry Path Entry Problem
    Invalid project path: Include path not found (C:\ti\PROCESSOR_SDK_RADAR_02_12_USRR\ti_components\drivers\starterware_01_07_01_20\include\pm). IPU1_C0b pathentry Path Entry Problem
    Invalid project path: Include path not found (C:\ti\PROCESSOR_SDK_RADAR_02_12_USRR\ti_components\drivers\starterware_01_07_01_20\include\pm\pmhal). IPU1_C0b pathentry Path Entry Problem
    Invalid project path: Include path not found (C:\ti\PROCESSOR_SDK_RADAR_02_12_USRR\ti_components\drivers\starterware_01_07_01_20\include\tda3xx). IPU1_C0b pathentry Path Entry Problem
    Invalid project path: Include path not found (C:\ti\PROCESSOR_SDK_RADAR_02_12_USRR\ti_components\drivers\starterware_01_07_01_20\include\tda3xx\hw). IPU1_C0b pathentry Path Entry Problem
    Invalid project path: Include path not found (C:\ti\PROCESSOR_SDK_RADAR_02_12_USRR\ti_components\drivers\starterware_01_07_01_20\platform). IPU1_C0b pathentry Path Entry Problem
    Invalid project path: Include path not found (C:\ti\PROCESSOR_SDK_RADAR_02_12_USRR\ti_components\drivers\starterware_01_07_01_20\pm\pmhal\common). IPU1_C0b pathentry Path Entry Problem
    Invalid project path: Include path not found (C:\ti\PROCESSOR_SDK_RADAR_02_12_USRR\ti_components\drivers\starterware_01_07_01_20\pm\pmhal\tda3xx). IPU1_C0b pathentry Path Entry Problem
    Invalid project path: Include path not found (C:\ti\PROCESSOR_SDK_RADAR_02_12_USRR\ti_components\drivers\starterware_01_07_01_20\system_config\tda3xx_common). IPU1_C0b pathentry Path Entry Problem
    Invalid project path: Include path not found (C:\ti\PROCESSOR_SDK_RADAR_02_12_USRR\ti_components\drivers\starterware_01_07_01_20\utils\uart_console). IPU1_C0b pathentry Path Entry Problem
    Invalid project path: Include path not found (C:\ti\PROCESSOR_SDK_RADAR_02_12_USRR\ti_components\drivers\starterware_01_07_01_20\vpslib). IPU1_C0b pathentry Path Entry Problem
    Invalid project path: Include path not found (C:\ti\PROCESSOR_SDK_RADAR_02_12_USRR\ti_components\drivers\starterware_01_07_01_20\vpslib\common). IPU1_C0b pathentry Path Entry Problem
    Invalid project path: Include path not found (C:\ti\PROCESSOR_SDK_RADAR_02_12_USRR\ti_components\drivers\starterware_01_07_01_20\vpslib\hal). IPU1_C0b pathentry Path Entry Problem

    -----------------------

  • I am using Radar SDK. I resolved compatibility issue, thanks but see below for some fatal errors and can help with CCS .
  • Hi Rafi,

    It seems that you are using CCS project for building the SDK.
    You should use makefile for building.

    Regards,
    Rishabh
  • Hi,

    Is this issue resolved? I see you have started another thread on the same problem: e2e.ti.com/.../685600
    Can you post your reply here and not start duplicate threads.

    Regards,
    Rishabh
  • Hello Rishabh,
    I use code composer to build the source code (various cores of TDA3xx). I built: DSP1, DSP2, EVE and SBL boot and main using code composer studio. I have issue in building IPU1_C0b, IPU_C1n which need package:  TDA3XX_IPU_Platform in xdctools_3_32_00_06_core packages.

    Where do I find this package?

    see the related error below:
    **** Build of configuration Debug for project IPU1_C0b ****
     
    "C:\\CCS71016\\ccsv7\\utils\\bin\\gmake" -k all
    gmake[1]: Entering directory 'C:/USRR1.1/code/TDA3xx/IPU1_C0b/Debug'
    'Building file: ../client.cfg'
    'Invoking: XDCtools'
    "C:/CCS71016/xdctools_3_32_00_06_core/xs" --xdcpath= xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4 -p TDA3XX_IPU_Platform -r debug -c "C:/CCS71016/ccsv7/tools/compiler/arm_5.2.8" "../client.cfg"
    subdir_rules.mk:12: recipe for target 'build-1240299407-inproc' failed
    js: "C:/CCS71016/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: Error: Can't find the platform package 'TDA3XX_IPU_Platform' along the path ';C:\CCS71016\xdctools_3_32_00_06_core/packages'.  Check that this path names a directory containing the necessary platform support and that the platform name is properly spelled.
    gmake[1]: *** [build-1240299407-inproc] Error 1
    gmake: *** [build-1240299407] Error 2
    gmake[1]: Leaving directory 'C:/USRR1.1/code/TDA3xx/IPU1_C0b/Debug'
    subdir_rules.mk:9: recipe for target 'build-1240299407' failed
    gmake: Target 'all' not remade because of errors.
     
    **** Build Finished ****

  • Hi,

    The platform should be "ti.platforms.evmTDA3XX:IPU_1_0" instead of TDA3XX_IPU_Platform.

    Regards,
    Rishabh
  • I haven't explicitly mentioned anywhere to use the platform: TDA3XX_IPU_Platform. This is generated automatically while building the IPU1_C0b & IPU1_C1n using: xdctools_3_32_00_06_core

    thanks
    Rafi
  • How do I edit platform (-p) variable under properties for IPU1_C0b -> XDCtools -> Basic Options on code composer studio? You are suggesting me to change this platform (-p) to: ti.platforms.evmTDA3XX:IPU_1_0

    Rafi
  • Hi Rishabh,
    I used the platform (ti.platforms.evmTDA3XX:IPU_1_0) as you suggested, and this platform is not available too.

    see below:
    **** Build of configuration Debug for project IPU1_C0b ****

    "C:\\CCS71016\\ccsv7\\utils\\bin\\gmake" -k all
    gmake[1]: Entering directory 'C:/USRR1.1/code/TDA3xx/IPU1_C0b/Debug'
    'Building file: ../client.cfg'
    'Invoking: XDCtools'
    "C:/CCS71016/xdctools_3_32_00_06_core/xs" --xdcpath= xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4 -p ti.platforms.evmTDA3XX:IPU_1_0 -r debug -c "C:/CCS71016/ccsv7/tools/compiler/arm_5.2.8" "../client.cfg"
    subdir_rules.mk:12: recipe for target 'build-1240299407-inproc' failed
    js: "C:/CCS71016/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: Error: Can't find the platform package 'ti.platforms.evmTDA3XX'. TI platforms are no longer shipped as part of XDCtools (C:\CCS71016\xdctools_3_32_00_06_core). Please ensure you are either using a pre-3.30 version of XDCtools or you have added a product that includes your platform support along the path ';C:\CCS71016\xdctools_3_32_00_06_core/packages'. Check that this path names a directory containing the necessary platform support and that the platform name is properly spelled.
    gmake[1]: *** [build-1240299407-inproc] Error 1
    gmake: *** [build-1240299407] Error 2
    gmake[1]: Leaving directory 'C:/USRR1.1/code/TDA3xx/IPU1_C0b/Debug'
    subdir_rules.mk:9: recipe for target 'build-1240299407' failed
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****
  • package_ti.platforms.evmTDA3XX.c is this file need to be used as a platform while building? 

  • Hi Rafi,

    Can you try setting the platform as ti.platforms.evmTDA3XX.

    Regards,
    Rishabh
  • Hi Rishabh,
    I tried the platform as ti.platforms.evmTDA3XX, it still didn't find the platform.. there are many files in that evmTDA3XX directory.
    thanks
    Rafi
  • Hi Rafi,

    I tried this on my end. While creating the CCS SYSBIOS project I specified the target as ti.targets.arm.elf.M4 and platform as ti.platforms.evmTDA3XX:IPU_1_0 and it seems everything should be fine.

    Regards,
    Rishabh
  • Hi Rafi,
    You can also look at this app note: www.ti.com/.../sprabw1.pdf
    Also did you try a clean build?
    Can you share the error log after setting target and platform as mentioned above.
    Regards,
    Rishabh
  • Hi,
    I used ti.platforms.evmTDA3XX:IPU_1_0 as you told, I get : TypeError: Cannot set property "codeMemory" of null to "IPU_C0_CODE" , please check below
    --------------------------------


    "C:/CCS71016/xdctools_3_32_00_06_core/xs" --xdcpath="C:/CCS71016/ctoolslib_1_0_0_2/packages/ti;C:/CCS71016/dsplib_c66x_3_1_0_0/packages;C:/CCS71016/edma3_lld_02_11_05_02/packages;C:/CCS71016/imglib_c66x_3_1_1_0/packages;C:/CCS71016/ipc_1_24_03_32/packages;C:/CCS71016/mathlib_c66x_3_0_1_1/packages;C:/CCS71016/mcsdk_2_01_02_06/demos;C:/CCS71016/pdk_C6657_1_1_2_6/packages;C:/CCS71016/pdk_C6670_1_1_2_6/packages;C:/CCS71016/pdk_C6678_1_1_2_6/packages;C:/CCS71016/ndk_2_24_02_31/packages;C:/CCS71016/openem_1_0_0_2/packages;C:/CCS71016/omp_1_01_03_02/packages;C:/CCS71016/bios_6_46_00_23/packages;C:/CCS71016/uia_2_00_00_28/packages;C:/CCS71016/bios_6_46_00_23/packages/ti/platforms/evmTDA3XX/package;C:/USRR1.1/code/TDA3xx;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4 -p ti.platforms.evmTDA3XX:IPU_1_0 -r debug -c "C:/CCS71016/ccsv7/tools/compiler/arm_5.2.8" "../client.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring client.xem4 from package/cfg/client_pem4.cfg ...
    subdir_rules.mk:12: recipe for target 'build-1240299407-inproc' failed
    js: "C:/USRR1.1/code/TDA3xx/IPU1_C0b/client.cfg", line 44: TypeError: Cannot set property "codeMemory" of null to "IPU_C0_CODE" (C:/USRR1.1/code/TDA3xx/IPU1_C0b/client.cfg#44)
    "./package/cfg/client_pem4.cfg", line 181
    gmake.exe: *** [package/cfg/client_pem4.xdl] Error 1
    js: "C:/CCS71016/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[1]: *** [build-1240299407-inproc] Error 1
    gmake: *** [build-1240299407] Error 2
    gmake[1]: Leaving directory 'C:/USRR1.1/code/TDA3xx/IPU1_C0b/Debug'
    subdir_rules.mk:9: recipe for target 'build-1240299407' failed
    gmake: Target 'all' not remade because of errors.
  • Hi Rafi,

    It is clear from the error message that platform issue is resolved by using platform as ti.platforms.evmTDA3XX:IPU_1_0.
    You should do a clean build every time you make a configuration change.
    Cannot set property is a different issue. Kindly refer to threads that are already there on e2e for similar issues:
    e2e.ti.com/.../1592875
    e2e.ti.com/.../922182

    Regards,
    Rishabh
  • Hi Rafi,

    If you have a further query you should post a reply on the thread. Thanks.

    Regards,
    Rishabh
  • Hi Rishabh,
    I am getting XDC runtime error: codeMemory sealed error, please check below:

    ---------------------------------------------------------------
    **** Build of configuration Debug for project IPU1_C0b ****

    "C:\\CCS71016\\ccsv7\\utils\\bin\\gmake" -k all
    gmake[1]: Entering directory 'C:/USRR1.1/code/TDA3xx/IPU1_C0b/Debug'
    'Building file: ../client.cfg'
    'Invoking: XDCtools'
    "C:/CCS71016/xdctools_3_32_00_06_core/xs" --xdcpath="C:/CCS71016/ctoolslib_1_0_0_2/packages/ti;C:/CCS71016/dsplib_c66x_3_1_0_0/packages;C:/CCS71016/edma3_lld_02_11_05_02/packages;C:/CCS71016/imglib_c66x_3_1_1_0/packages;C:/CCS71016/ipc_1_24_03_32/packages;C:/CCS71016/mathlib_c66x_3_0_1_1/packages;C:/CCS71016/mcsdk_2_01_02_06/demos;C:/CCS71016/pdk_C6657_1_1_2_6/packages;C:/CCS71016/pdk_C6670_1_1_2_6/packages;C:/CCS71016/pdk_C6678_1_1_2_6/packages;C:/CCS71016/ndk_2_24_02_31/packages;C:/CCS71016/openem_1_0_0_2/packages;C:/CCS71016/omp_1_01_03_02/packages;C:/CCS71016/bios_6_46_00_23/packages;C:/CCS71016/uia_2_00_00_28/packages;C:/CCS71016/bios_6_46_00_23/packages/ti/platforms/evmTDA3XX/package;C:/USRR1.1/code/TDA3xx;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4 -p ti.platforms.evmTDA3XX:IPU_1_0 -r debug -c "C:/CCS71016/ccsv7/tools/compiler/arm_5.2.8" "../client.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring client.xem4 from package/cfg/client_pem4.cfg ...
    subdir_rules.mk:12: recipe for target 'build-1240299407-inproc' failed
    js: "C:/USRR1.1/code/TDA3xx/IPU1_C0b/client.cfg", line 45: XDC runtime error: ti.platforms.evmTDA3XX.Platform.Instance#0: 'codeMemory' is sealed
    "./package/cfg/client_pem4.cfg", line 181
    gmake.exe: *** [package/cfg/client_pem4.xdl] Error 1
    js: "C:/CCS71016/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[1]: *** [build-1240299407-inproc] Error 1
    gmake: *** [build-1240299407] Error 2
    gmake[1]: Leaving directory 'C:/USRR1.1/code/TDA3xx/IPU1_C0b/Debug'
    subdir_rules.mk:9: recipe for target 'build-1240299407' failed
    gmake: Target 'all' not remade because of errors.
  • Hi,

    Did you check the threads I mentioned above.
    Your question does not have any details.
    Can you post a meaningful question.
    Thanks.

    Regards,
    Rishabh
  • please see the latest question: I found that platform (TDA3XX), now I have the following error.. which I need to resolve:


    TypeError: Cannot set property "codeMemory" of null to "IPU_C0_CODE" , please check below
    --------------------------------


    "C:/CCS71016/xdctools_3_32_00_06_core/xs" --xdcpath="C:/CCS71016/ctoolslib_1_0_0_2/packages/ti;C:/CCS71016/dsplib_c66x_3_1_0_0/packages;C:/CCS71016/edma3_lld_02_11_05_02/packages;C:/CCS71016/imglib_c66x_3_1_1_0/packages;C:/CCS71016/ipc_1_24_03_32/packages;C:/CCS71016/mathlib_c66x_3_0_1_1/packages;C:/CCS71016/mcsdk_2_01_02_06/demos;C:/CCS71016/pdk_C6657_1_1_2_6/packages;C:/CCS71016/pdk_C6670_1_1_2_6/packages;C:/CCS71016/pdk_C6678_1_1_2_6/packages;C:/CCS71016/ndk_2_24_02_31/packages;C:/CCS71016/openem_1_0_0_2/packages;C:/CCS71016/omp_1_01_03_02/packages;C:/CCS71016/bios_6_46_00_23/packages;C:/CCS71016/uia_2_00_00_28/packages;C:/CCS71016/bios_6_46_00_23/packages/ti/platforms/evmTDA3XX/package;C:/USRR1.1/code/TDA3xx;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4 -p ti.platforms.evmTDA3XX:IPU_1_0 -r debug -c "C:/CCS71016/ccsv7/tools/compiler/arm_5.2.8" "../client.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring client.xem4 from package/cfg/client_pem4.cfg ...
    subdir_rules.mk:12: recipe for target 'build-1240299407-inproc' failed
    js: "C:/USRR1.1/code/TDA3xx/IPU1_C0b/client.cfg", line 44: TypeError: Cannot set property "codeMemory" of null to "IPU_C0_CODE" (C:/USRR1.1/code/TDA3xx/IPU1_C0b/client.cfg#44)
    "./package/cfg/client_pem4.cfg", line 181
    gmake.exe: *** [package/cfg/client_pem4.xdl] Error 1
    js: "C:/CCS71016/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[1]: *** [build-1240299407-inproc] Error 1
    gmake: *** [build-1240299407] Error 2
    gmake[1]: Leaving directory 'C:/USRR1.1/code/TDA3xx/IPU1_C0b/Debug'
    subdir_rules.mk:9: recipe for target 'build-1240299407' failed
    gmake: Target 'all' not remade because of errors.
  • What is the software you are using?
  • The threads you gave yesterday either closed or locked. Some how you started all over again.

    thanks
    Rafi
  • The threads I have mentioned already have solutions to the same issue. Did you try those?
    See: e2e.ti.com/.../443667

    Regards,
    Rishabh
  • Hi Rishabh,

     I have the following error.. which I need to resolve. I am using the platform: ti.platforms.evmTDA3XX:IPU_1_0 in code composer studio to build IPU1_C0b/IPU1_C1n cores.

     

     

    TypeError: Cannot set property "codeMemory" of null to "IPU_C0_CODE" , please check below
    --------------------------------


    "C:/CCS71016/xdctools_3_32_00_06_core/xs" --xdcpath="C:/CCS71016/ctoolslib_1_0_0_2/packages/ti;C:/CCS71016/dsplib_c66x_3_1_0_0/packages;C:/CCS71016/edma3_lld_02_11_05_02/packages;C:/CCS71016/imglib_c66x_3_1_1_0/packages;C:/CCS71016/ipc_1_24_03_32/packages;C:/CCS71016/mathlib_c66x_3_0_1_1/packages;C:/CCS71016/mcsdk_2_01_02_06/demos;C:/CCS71016/pdk_C6657_1_1_2_6/packages;C:/CCS71016/pdk_C6670_1_1_2_6/packages;C:/CCS71016/pdk_C6678_1_1_2_6/packages;C:/CCS71016/ndk_2_24_02_31/packages;C:/CCS71016/openem_1_0_0_2/packages;C:/CCS71016/omp_1_01_03_02/packages;C:/CCS71016/bios_6_46_00_23/packages;C:/CCS71016/uia_2_00_00_28/packages;C:/CCS71016/bios_6_46_00_23/packages/ti/platforms/evmTDA3XX/package;C:/USRR1.1/code/TDA3xx;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4 -p ti.platforms.evmTDA3XX:IPU_1_0 -r debug -c "C:/CCS71016/ccsv7/tools/compiler/arm_5.2.8" "../client.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring client.xem4 from package/cfg/client_pem4.cfg ...
    subdir_rules.mk:12: recipe for target 'build-1240299407-inproc' failed
    js: "C:/USRR1.1/code/TDA3xx/IPU1_C0b/client.cfg", line 44: TypeError: Cannot set property "codeMemory" of null to "IPU_C0_CODE" (C:/USRR1.1/code/TDA3xx/IPU1_C0b/client.cfg#44)
    "./package/cfg/client_pem4.cfg", line 181
    gmake.exe: *** [package/cfg/client_pem4.xdl] Error 1
    js: "C:/CCS71016/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[1]: *** [build-1240299407-inproc] Error 1
    gmake: *** [build-1240299407] Error 2
    gmake[1]: Leaving directory 'C:/USRR1.1/code/TDA3xx/IPU1_C0b/Debug'
    subdir_rules.mk:9: recipe for target 'build-1240299407' failed
    gmake: Target 'all' not remade because of errors.

     

    Thanks

    Rafi

  • Under project properties->CCS General-> Products tab, what is your platform set to? For IPU1 it should be ti.platforms.evmDRA7XX:ipu1 or similar. Please try that and then compile. Also are you using latest CCS version?

    thanks,
    Alex
  • Alex,

    I used ti.platforms.evmDRA7XX:ipu1 , I am still getting TypeError: Cannot set property "codeMemory" of null to "IPU_C0_CODE"

    I think we are struggling to Identify the platform in order to build IPU1_C0b, IPU1_C1n cores.

    :(

    Rafi

    See below for error in the build output (highlighted in red)

    **** Build of configuration Debug for project IPU1_C0b ****

    "C:\\CCS71016\\ccsv7\\utils\\bin\\gmake" -k all

    gmake[1]: Entering directory 'C:/USRR1.1/code/TDA3xx/IPU1_C0b/Debug'

    'Building file: ../client.cfg'

    'Invoking: XDCtools'

    "C:/CCS71016/xdctools_3_32_00_06_core/xs" --xdcpath="C:/CCS71016/ctoolslib_1_0_0_2/packages/ti;C:/CCS71016/dsplib_c66x_3_1_0_0/packages;C:/CCS71016/edma3_lld_02_11_05_02/packages;C:/CCS71016/imglib_c66x_3_1_1_0/packages;C:/CCS71016/ipc_1_24_03_32/packages;C:/CCS71016/mathlib_c66x_3_0_1_1/packages;C:/CCS71016/mcsdk_2_01_02_06/demos;C:/CCS71016/pdk_C6657_1_1_2_6/packages;C:/CCS71016/pdk_C6670_1_1_2_6/packages;C:/CCS71016/pdk_C6678_1_1_2_6/packages;C:/CCS71016/ndk_2_24_02_31/packages;C:/CCS71016/openem_1_0_0_2/packages;C:/CCS71016/omp_1_01_03_02/packages;C:/CCS71016/bios_6_46_00_23/packages;C:/CCS71016/uia_2_00_00_28/packages;C:/USRR1.1/code/TDA3xx;C:/USRR1.1/code/config/platform/TDA3XX_IPU_Platform;C:/CCS71016/bios_6_46_00_23/packages/ti/platforms/evmTDA3XX;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4 -p ti.platforms.evmDRA7XX:ipu1 -r debug -c "C:/CCS71016/ccsv7/tools/compiler/arm_5.2.8" "../client.cfg"

    making package.mak (because of package.bld) ...

    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...

    configuring client.xem4 from package/cfg/client_pem4.cfg ...

    subdir_rules.mk:12: recipe for target 'build-1240299407-inproc' failed

    js: "C:/USRR1.1/code/TDA3xx/IPU1_C0b/client.cfg", line 45: TypeError: Cannot set property "codeMemory" of null to "IPU_C0_CODE" (C:/USRR1.1/code/TDA3xx/IPU1_C0b/client.cfg#45)

       "./package/cfg/client_pem4.cfg", line 181

    gmake.exe: *** [package/cfg/client_pem4.xdl] Error 1

    js: "C:/CCS71016/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.

    gmake[1]: *** [build-1240299407-inproc] Error 1

    gmake: *** [build-1240299407] Error 2

    gmake[1]: Leaving directory 'C:/USRR1.1/code/TDA3xx/IPU1_C0b/Debug'

    subdir_rules.mk:9: recipe for target 'build-1240299407' failed

    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

  • It's not clear to me whether you have tried the suggested e2e threads previously? Again try this one:   

    Thanks

    Alex

  • Hello,

    We haven't heard back from you, I'm assuming you were able to resolve your issue.
    If not, just post a reply below (or create a new thread if the thread has locked due to time-out).

    Thanks,
    Alex