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.

IWR6843AOP: Compilation failure on Area Scanner Project based on IWR6843AOP

Part Number: IWR6843AOP
Other Parts Discussed in Thread: MATHLIB, SYSBIOS, IWR6843

Hi teams,

Title: Compilation failure on Area Scanner Project based on IWR6843AOP

(1) based on

- PROJECT: Area_Scanner

- SDK: radar_toolbox_1_00_01_07

- IDE: CCS V8.3.1

- EVM:  IWR6843AOP

- OS: Windows 11

(2) after compilation, error message as followings,

**** Build of configuration aop for project area_scanner_6843_dss ****

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

Building file: "../dss/mmw_dss.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_50_08_24_core/xs" --xdcpath="C:/ti/bios_6_73_01_01/packages;C:/ti/mathlib_c674x_3_1_2_1/packages;C:/ti/dsplib_c64Px_3_4_0_0/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C674 -p ti.platforms.c6x:IWR68XX:false:600 -r release -c "C:/ti/ti-cgt-c6000_8.3.3" --compileOptions "--enum_type=int " "../dss/mmw_dss.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring mmw_dss.xe674 from package/cfg/mmw_dss_pe674.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making C:/Users/paull_0duwwil/Dropbox/TI_MMWaveProject_V00/workspace_V66_00R_ODS_IWR6843AOP_CCS831_SDK3504_R1000117_ObstacleDetection/area_scanner_6843_dss/dss/src/sysbios/sysbios.ae674 ...
gmake[1]: Entering directory `C:/Users/paull_0duwwil/Dropbox/TI_MMWaveProject_V00/workspace_V66_00R_ODS_IWR6843AOP_CCS831_SDK3504_R1000117_ObstacleDetection/area_scanner_6843_dss/dss/src/sysbios'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `C:/Users/paull_0duwwil/Dropbox/TI_MMWaveProject_V00/workspace_V66_00R_ODS_IWR6843AOP_CCS831_SDK3504_R1000117_ObstacleDetection/area_scanner_6843_dss/dss/src/sysbios'
Build of libraries done.
cle674 package/cfg/mmw_dss_pe674.c ...
Finished building: "../dss/mmw_dss.cfg"

Building file: "../dss/objectdetection.c"
Invoking: C6000 Compiler
"C:/ti/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --opt_for_speed=3 --include_path="C:/ti/radar_toolbox_1_00_01_07/source/ti/dpc/objectdetectionandtracking/staticobjdetdsp" --include_path="C:/Users/paull_0duwwil/Dropbox/TI_MMWaveProject_V00/workspace_V66_00R_ODS_IWR6843AOP_CCS831_SDK3504_R1000117_ObstacleDetection/area_scanner_6843_dss" --include_path="C:/ti/mmwave_sdk_03_05_00_04/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16_imre/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ti-cgt-c6000_8.3.3/include" --define=SOC_XWR68XX --define=SUBSYS_DSS --define=MMWAVE_L3RAM_NUM_BANK=6 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=MMWAVE_L3_CODEMEM_SIZE=0x100 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=OBJDET_NO_RANGE --define=GTRACK_3D --define=APP_RESOURCE_FILE='<'mmw_res.h'>' --define=AOA_TYPE_2D --define=XWR68XX_AOP_ANTENNA_PATTERN -g --gcc --diag_error=10015 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss/objectdetection.d_raw" --obj_directory="dss" --cmd_file="configPkg/compiler.opt" "../dss/objectdetection.c"

>> Compilation failure
dss/subdir_rules.mk:9: recipe for target 'dss/objectdetection.oe674' failed
"../dss/objectdetection.c", line 75: fatal error #1965: cannot open source file "source/ti/dpc/objectdetectionandtracking/staticobjdetdsp/include/objectdetectioninternal.h"
1 catastrophic error detected in the compilation of "../dss/objectdetection.c".
Compilation terminated.
gmake: *** [dss/objectdetection.oe674] Error 1

Regards,

Kevin

  • Hi,

    I am still looking into this. Allow me to get back to you next Monday. Thanks for your patience.

    Regards,
    Luke

  • Hello Kevin,

    Though there should not be an issue with Windows 11, we technically support Windows 10. This is likely not the issue. I would recommend upgrading your CCS to v12 or newer. This should resolve your compilation error. Of course, make sure you are thoroughly following the instructions in the User Guide here: Area Scanner.

    Regards,
    Luke

  • Hi Luke,

    I had changed some items by your commended as followings,

    (1) based on

    - PROJECT: Area_Scanner

    - SDK: radar_toolbox_1_00_01_07

    - IDE: CCS V12.0.0

    - EVM:  IWR6843AOP

    - OS: Windows 10

    (2) after compilation show as attached picture,

    Got the error message,

    Device 'IWR6843' is not currently recognized:
    - Re-run CCS installer on your existing CCS location, ensure the Product Family for your device is selected, and proceed with installation if it wasn't.
    - See 'Help > Check for Updates' to check if support for this device is available through a CCS update.
    - Migrate the project to closest matching supported device by adjusting project properties.
    - Or contact TI for support if using experimental silicon.

    Picture:

    Regards,

    Kevin

  • Hi, 

    Please make sure you have installed the latest SDK3 package. You mention you have 'radar_toolbox_1_00_01_07' installed as your SDK, but this is an auxiliary software package and is not the SDK. Find this here: IWR6843AOP

    Regards,
    Luke

  • Hi Luke,

    Thanks for reply on making sure on installed latest SDK package,

    now I had checked the latest version is SDK 3.5.0.4,  

    (1) working environment based on,

    - PROJECT:  C:\ti\radar_toolbox_1_10_00_13\source\ti\examples\Area_Scanner

    - SDK: mmwave_sdk_03_05_00_04

    - IDE: CCS V12.0.0

    - EVM:  IWR6843AOP

    - OS: Windows 10

    (2) Issue: failed on project import stage,

    - Doing Import CCS Project then click 'FINISH'  

    - Got the error message as following,

    Device 'IWR6843' is not currently recognized:
    - Re-run CCS installer on your existing CCS location, ensure the Product Family for your device is selected, and proceed with installation if it wasn't.
    - See 'Help > Check for Updates' to check if support for this device is available through a CCS update.
    - Migrate the project to closest matching supported device by adjusting project properties.
    - Or contact TI for support if using experimental silicon.'

    Regard,

    Kevin 

  • Hello Kevin,

    Your workspace path is very long, maybe you could try this from a workspace with a more concise name. Also, have you tried re-running the CCS installer on the CCS location as the message addresses? Also, the latest SDK is SDK3.6LTS, not SDK3.5, though I do not think this is the issue. Some of the resources (the mmWave SDK) are not getting properly linked into your CCS, which is why the device is not being recognized. Maybe you could provide more clarity into the exact steps that you are taking as well.

    Thanks,
    Luke

  • Hi Luke,

    Now the issue resolved and compilation completed 

    The procedures,

    - Install latest version of CCS V12.3.0

    - Using latest SDK version of radar_toolbox_1_10_00_13

    - By adding path for c:/ti/ccs1230/xdctoold_3_62_01_16_core and c:/ti/bios_6_73_01_01

      See attached picture as following,

       

     

    now working project based on

    - PROJECT: Area_Scanner

    - SDK: radar_toolbox_1_10_00_13

    - IDE: CCS V12.3.0

    - EVM:  IWR6843AOP

    - OS: Windows 10

    Thanks again, I would like to close this thread here

    Regards,

    Kevin