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/IWR1642: New IWR1642 Project Building Errors

Part Number: IWR1642
Other Parts Discussed in Thread: CCSTUDIO

Tool/software: Code Composer Studio

Hello TI,

I try to create my project

1.I create project for IWR1642 in CCS

2.I use demo project for my application ex.ppl counting

3.i only make replica of that project to clear my first stage, after that i can make changes in my project as per requirement 

4. when i Building project, I face some issues 

a.xdc.tools.configuro: Error: Can't find the platform package 'ti.platforms.cortexR'. 

b.gmake[1]: *** [build-1727703119-inproc] Error 1 

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

how to resolve it, I already spend lots of time on that, try to provide proper solution

thanks and regard 

Rahul

  • Hi Rahul,

    Is this your first time building an mmWave project with CCS? If so, we need to make sure you have the proper device support installed for mmWave devices.  In CCS, go to Help->Install New Software.  This will open a new dialog:

    Click already installed and check to see if you have "Mmwave Radar Device Support" installed:

    If this is not installed, you can install it in the install new software prompt from the previous step.  You will need the identifier com.ti.ccstudio.mmwaveradar.devicesupport.win32.feature.group

    Regards,

    Justin

  • Hi Justin,

        I already installed MMwave radar Device Support  and there is no any update available

    now i am facing Issue of SOC Module and others

    i am not doing anything on source code, i just want to generate my own environment for further development 

    also facing gmake issue how to resolve it ..?

    i already spending to much time on Forums and User guide 

    PFA for Issues and Console file

    Thanks for replying me Justin 

    Thanks and Regards 

    Rahul

    **** Clean-only build of configuration Debug for project Phynart_MMW ****
    
    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 clean -O 
     
    DEL /F  "Phynart_MMW.hex"  "configPkg\linker.cmd" "configPkg\compiler.opt"  "Phynart_MMW.out" 
    DEL /F "MD_main.obj" "cli.obj" "cycle_measure.obj" "gtrackAlloc.obj" "gtrackLog.obj" "radarOsal_malloc.obj" "task_app.obj" "task_mbox.obj" 
    DEL /F "MD_main.d" "cli.d" "cycle_measure.d" "gtrackAlloc.d" "gtrackLog.d" "radarOsal_malloc.d" "task_app.d" "task_mbox.d" 
    RMDIR /S/Q  "configPkg\" 
    Could Not Find C:\Users\Rahul.Surawase\workspace_v8\My_Work_Space\Phynart_MMW\Debug\Phynart_MMW.hex
    Could Not Find C:\Users\Rahul.Surawase\workspace_v8\My_Work_Space\Phynart_MMW\Debug\configPkg\linker.cmd
    Could Not Find C:\Users\Rahul.Surawase\workspace_v8\My_Work_Space\Phynart_MMW\Debug\Phynart_MMW.out
    Could Not Find C:\Users\Rahul.Surawase\workspace_v8\My_Work_Space\Phynart_MMW\Debug\MD_main.obj
    Could Not Find C:\Users\Rahul.Surawase\workspace_v8\My_Work_Space\Phynart_MMW\Debug\MD_main.d
    Finished clean
     
    
    **** Build Finished ****
    
    **** Build of configuration Debug for project Phynart_MMW ****
    
    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O 
     
    Building file: "../mss_mmw.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_50_04_43_core/xs" --xdcpath="C:/ti/bios_6_53_02_00/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.R4F -p ti.platforms.cortexR:IWR16XX:false:200 -r release -c "C:/ti/ti-cgt-arm_16.9.6.LTS" --compileOptions "--enum_type=int " "../mss_mmw.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring mss_mmw.xer4f from package/cfg/mss_mmw_per4f.cfg ...
    generating custom ti.sysbios library makefile ... 
    Starting build of library sources ...
    making C:/Users/Rahul.Surawase/workspace_v8/My_Work_Space/Phynart_MMW/src/sysbios/sysbios.aer4f ...
    gmake[1]: Entering directory `C:/Users/Rahul.Surawase/workspace_v8/My_Work_Space/Phynart_MMW/src/sysbios'
    cler4f C:/ti/bios_6_53_02_00/packages/ti/sysbios/BIOS.c ...
    asmer4f C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/arm/IntrinsicsSupport_asm.asm ...
    asmer4f C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/arm/TaskSupport_asm.asm ...
    asmer4f C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/arm/v7r/vim/Hwi_asm.sv7R ...
    asmer4f C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/arm/v7r/vim/Hwi_asm_switch.sv7R ...
    asmer4f C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/arm/exc/Exception_asm.asm ...
    asmer4f C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/arm/v7r/tms570/Core_asm.sv7R ...
    arer4f BIOS.obj arm_IntrinsicsSupport_asm.obj arm_TaskSupport_asm.obj vim_Hwi_asm.obj vim_Hwi_asm_switch.obj exc_Exception_asm.obj tms570_Core_asm.obj ...
    gmake[1]: Leaving directory `C:/Users/Rahul.Surawase/workspace_v8/My_Work_Space/Phynart_MMW/src/sysbios'
    Build of libraries done.
    cler4f package/cfg/mss_mmw_per4f.c ...
    Finished building: "../mss_mmw.cfg"
     
    Building file: "../cycle_measure.c"
    Invoking: ARM Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 -me --include_path="C:/Users/Rahul.Surawase/workspace_v8/My_Work_Space/Phynart_MMW" --include_path="C:/ti/mmwave_industrial_toolbox_2_5_2/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/bios_6_53_02_00/packages" --include_path="C:/ti/mmwave_sdk_02_00_00_04/packages" --include_path="C:/ti/mmwave_industrial_toolbox_2_5_2/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --include_path="C:/ti/mmwave_sdk_02_00_00_04" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --include_path="C:/ti/xdctools_3_50_04_43_core/packages" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="cycle_measure.d_raw" --cmd_file="configPkg/compiler.opt" "../cycle_measure.c"
    Finished building: "../cycle_measure.c"
     
    Building file: "../gtrackAlloc.c"
    Invoking: ARM Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 -me --include_path="C:/Users/Rahul.Surawase/workspace_v8/My_Work_Space/Phynart_MMW" --include_path="C:/ti/mmwave_industrial_toolbox_2_5_2/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/bios_6_53_02_00/packages" --include_path="C:/ti/mmwave_sdk_02_00_00_04/packages" --include_path="C:/ti/mmwave_industrial_toolbox_2_5_2/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --include_path="C:/ti/mmwave_sdk_02_00_00_04" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --include_path="C:/ti/xdctools_3_50_04_43_core/packages" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="gtrackAlloc.d_raw" --cmd_file="configPkg/compiler.opt" "../gtrackAlloc.c"
    Finished building: "../gtrackAlloc.c"
     
    Building file: "../MD_main.c"
    Invoking: ARM Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 -me --include_path="C:/Users/Rahul.Surawase/workspace_v8/My_Work_Space/Phynart_MMW" --include_path="C:/ti/mmwave_industrial_toolbox_2_5_2/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/bios_6_53_02_00/packages" --include_path="C:/ti/mmwave_sdk_02_00_00_04/packages" --include_path="C:/ti/mmwave_industrial_toolbox_2_5_2/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --include_path="C:/ti/mmwave_sdk_02_00_00_04" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --include_path="C:/ti/xdctools_3_50_04_43_core/packages" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="MD_main.d_raw" --cmd_file="configPkg/compiler.opt" "../MD_main.c"
     
    >> Compilation failure
    subdir_rules.mk:9: recipe for target 'MD_main.obj' failed
    "C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/soc/soc.h", line 347: error #20: identifier "SOC_ModuleId" is undefined
    "C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/soc/soc.h", line 348: error #20: identifier "SOC_ModuleId" is undefined
    "C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/gpio/include/reg_gio.h", line 534: fatal error #35: #error directive: "Error: Check the compiler flags: SOC_XWR14XX or SOC_XWR16XX is not defined"
    2 errors and 1 catastrophic error detected in the compilation of "../MD_main.c".
    Compilation terminated.
    gmake: *** [MD_main.obj] Error 1
    Building file: "../radarOsal_malloc.c"
    Invoking: ARM Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 -me --include_path="C:/Users/Rahul.Surawase/workspace_v8/My_Work_Space/Phynart_MMW" --include_path="C:/ti/mmwave_industrial_toolbox_2_5_2/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/bios_6_53_02_00/packages" --include_path="C:/ti/mmwave_sdk_02_00_00_04/packages" --include_path="C:/ti/mmwave_industrial_toolbox_2_5_2/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --include_path="C:/ti/mmwave_sdk_02_00_00_04" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --include_path="C:/ti/xdctools_3_50_04_43_core/packages" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="radarOsal_malloc.d_raw" --cmd_file="configPkg/compiler.opt" "../radarOsal_malloc.c"
     
    >> Compilation failure
    subdir_rules.mk:9: recipe for target 'radarOsal_malloc.obj' failed
    "C:/Users/Rahul.Surawase/workspace_v8/My_Work_Space/Phynart_MMW/swpform.h", line 87: fatal error #35: #error directive: Please enable C99 compilation (ISO/IEC 9899:1999 standard)
    1 catastrophic error detected in the compilation of "../radarOsal_malloc.c".
    Compilation terminated.
    gmake: *** [radarOsal_malloc.obj] Error 1
    Building file: "../cli.c"
    Invoking: ARM Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 -me --include_path="C:/Users/Rahul.Surawase/workspace_v8/My_Work_Space/Phynart_MMW" --include_path="C:/ti/mmwave_industrial_toolbox_2_5_2/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/bios_6_53_02_00/packages" --include_path="C:/ti/mmwave_sdk_02_00_00_04/packages" --include_path="C:/ti/mmwave_industrial_toolbox_2_5_2/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --include_path="C:/ti/mmwave_sdk_02_00_00_04" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --include_path="C:/ti/xdctools_3_50_04_43_core/packages" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="cli.d_raw" --cmd_file="configPkg/compiler.opt" "../cli.c"
     
    >> Compilation failure
    subdir_rules.mk:9: recipe for target 'cli.obj' failed
    "C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/soc/soc.h", line 347: error #20: identifier "SOC_ModuleId" is undefined
    "C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/soc/soc.h", line 348: error #20: identifier "SOC_ModuleId" is undefined
    "C:/Users/Rahul.Surawase/workspace_v8/My_Work_Space/Phynart_MMW/swpform.h", line 87: fatal error #35: #error directive: Please enable C99 compilation (ISO/IEC 9899:1999 standard)
    2 errors and 1 catastrophic error detected in the compilation of "../cli.c".
    Compilation terminated.
    gmake: *** [cli.obj] Error 1
    Building file: "../gtrackLog.c"
    Invoking: ARM Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 -me --include_path="C:/Users/Rahul.Surawase/workspace_v8/My_Work_Space/Phynart_MMW" --include_path="C:/ti/mmwave_industrial_toolbox_2_5_2/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/bios_6_53_02_00/packages" --include_path="C:/ti/mmwave_sdk_02_00_00_04/packages" --include_path="C:/ti/mmwave_industrial_toolbox_2_5_2/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --include_path="C:/ti/mmwave_sdk_02_00_00_04" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --include_path="C:/ti/xdctools_3_50_04_43_core/packages" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="gtrackLog.d_raw" --cmd_file="configPkg/compiler.opt" "../gtrackLog.c"
    Finished building: "../gtrackLog.c"
     
    Building file: "../task_app.c"
    Invoking: ARM Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 -me --include_path="C:/Users/Rahul.Surawase/workspace_v8/My_Work_Space/Phynart_MMW" --include_path="C:/ti/mmwave_industrial_toolbox_2_5_2/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/bios_6_53_02_00/packages" --include_path="C:/ti/mmwave_sdk_02_00_00_04/packages" --include_path="C:/ti/mmwave_industrial_toolbox_2_5_2/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --include_path="C:/ti/mmwave_sdk_02_00_00_04" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --include_path="C:/ti/xdctools_3_50_04_43_core/packages" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="task_app.d_raw" --cmd_file="configPkg/compiler.opt" "../task_app.c"
     
    >> Compilation failure
    subdir_rules.mk:9: recipe for target 'task_app.obj' failed
    "C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/soc/soc.h", line 347: error #20: identifier "SOC_ModuleId" is undefined
    "C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/soc/soc.h", line 348: error #20: identifier "SOC_ModuleId" is undefined
    "C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/gpio/include/reg_gio.h", line 534: fatal error #35: #error directive: "Error: Check the compiler flags: SOC_XWR14XX or SOC_XWR16XX is not defined"
    2 errors and 1 catastrophic error detected in the compilation of "../task_app.c".
    Compilation terminated.
    gmake: *** [task_app.obj] Error 1
    Building file: "../task_mbox.c"
    Invoking: ARM Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 -me --include_path="C:/Users/Rahul.Surawase/workspace_v8/My_Work_Space/Phynart_MMW" --include_path="C:/ti/mmwave_industrial_toolbox_2_5_2/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/bios_6_53_02_00/packages" --include_path="C:/ti/mmwave_sdk_02_00_00_04/packages" --include_path="C:/ti/mmwave_industrial_toolbox_2_5_2/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --include_path="C:/ti/mmwave_sdk_02_00_00_04" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --include_path="C:/ti/xdctools_3_50_04_43_core/packages" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="task_mbox.d_raw" --cmd_file="configPkg/compiler.opt" "../task_mbox.c"
     
    >> Compilation failure
    subdir_rules.mk:9: recipe for target 'task_mbox.obj' failed
    "C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/soc/soc.h", line 347: error #20: identifier "SOC_ModuleId" is undefined
    "C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/soc/soc.h", line 348: error #20: identifier "SOC_ModuleId" is undefined
    "C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/gpio/include/reg_gio.h", line 534: fatal error #35: #error directive: "Error: Check the compiler flags: SOC_XWR14XX or SOC_XWR16XX is not defined"
    2 errors and 1 catastrophic error detected in the compilation of "../task_mbox.c".
    Compilation terminated.
    gmake: *** [task_mbox.obj] Error 1
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****
    

  • Hi Rahul,

    Please see this post which explains how to solve the SOC_ModuleID issue.

    Regards,

    Justin