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/AWR1642BOOST: Fail to build mmWave SDK demo DSS project

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: AWR1642, MATHLIB

Tool/software: Code Composer Studio

Hi, 

I have a trouble to successfully build the mmWave SDK demo DSS project but building  the MSS project is OK .  I guess something wrong with my development environment.

Hope someone could help me.  The following is the building messages. 

**** Build of configuration Debug for project AWR1642_DSS ****

"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O
'Building file: C:/ti/mmwave_sdk_01_00_00_05/packages/ti/demo/xwr16xx/mmw/dss/dss_data_path.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/bin/cl6x" -mv6740 -O2 --include_path="C:/ti/mmwave_sdk_01_00_00_05/packages/" --include_path="C:/ti/mmwave_sdk_01_00_00_05/packages/ti/common" --include_path="C:/ti/mmwave_sdk_01_00_00_05/packages/ti/control/mmwave/include" --include_path="C:/ti/mmwave_sdk_01_00_00_05/packages/ti/control/mmwavelink/include" --include_path="C:/ti/mmwave_sdk_01_00_00_05/packages/ti/control/mmwavelink" --include_path="C:/ti/mmwave_sdk_01_00_00_05/packages/ti/demo/xwr16xx/mmw/dss" --include_path="C:/ti/mmwave_sdk_01_00_00_05/packages/ti/demo/xwr16xx/mmw/dss/ccs/Debug" --include_path="C:/ti/mmwave_sdk_01_00_00_05/packages/ti/demo/xwr16xx/mmw/common" --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/mmwave_sdk_01_00_00_05/packages/ti/demo/xwr16xx/mmw/dss/ccs" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/include" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages/ti/mathlib/lib/" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/lib/" -g --gcc --define=SUBSYS_DSS --define=SOC_XWR16XX --display_error_number --diag_wrap=off --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss_data_path.d" --cmd_file="configPkg/compiler.opt" "C:/ti/mmwave_sdk_01_00_00_05/packages/ti/demo/xwr16xx/mmw/dss/dss_data_path.c"
"C:/ti/mathlib_c674x_3_1_2_1/packages/ti/mathlib/src/common/common.h", line 55: warning #48-D: incompatible redefinition of macro "TRUE" (declared at line 322 of "C:/ti/xdctools_3_50_01_12_core/packages/xdc/std.h")
"C:/ti/mathlib_c674x_3_1_2_1/packages/ti/mathlib/src/common/common.h", line 56: warning #48-D: incompatible redefinition of macro "FALSE" (declared at line 319 of "C:/ti/xdctools_3_50_01_12_core/packages/xdc/std.h")
'Finished building: C:/ti/mmwave_sdk_01_00_00_05/packages/ti/demo/xwr16xx/mmw/dss/dss_data_path.c'
' '
'Building target: AWR1642_DSS.out'
'Invoking: C6000 Linker'
"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/bin/cl6x" -mv6740 -O2 -g --gcc --define=SUBSYS_DSS --define=SOC_XWR16XX --display_error_number --diag_wrap=off --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 -z -m"AWR1642_DSS.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/lib" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/include" -i"C:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/soc/lib/" -i"C:/ti/mmwave_sdk_01_00_00_05/packages/ti/demo/xwr16xx/mmw/dss/ccs/Debug" -i"C:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/uart/lib/" -i"C:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/crc/lib/" -i"C:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/mailbox/lib/" -i"C:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/edma/lib/" -i"C:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/adcbuf/lib/" -i"C:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/osal/lib/" -i"C:/ti/mmwave_sdk_01_00_00_05/packages/ti/alg/mmwavelib/lib/" -i"C:/ti/mmwave_sdk_01_00_00_05/packages/ti/control/mmwavelink/lib/" -i"C:/ti/mmwave_sdk_01_00_00_05/packages/ti/control/mmwave/lib/" -i"C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/lib/" -i"C:/ti/mathlib_c674x_3_1_2_1/packages/ti/mathlib/lib/" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="AWR1642_DSS_linkInfo.xml" --rom_model -o "AWR1642_DSS.out" "./dss_config_edma_util.oe674" "./dss_data_path.oe674" "./dss_main.oe674" "./gen_twiddle_fft16x16.oe674" "./gen_twiddle_fft32x32.oe674" "../c674x_linker.cmd" "C:/ti/mmwave_sdk_01_00_00_05/packages/ti/demo/xwr16xx/mmw/dss/dss_mmw_linker.cmd" -l"configPkg/linker.cmd" -llibsoc_xwr16xx.ae674 -llibuart_xwr16xx.ae674 -llibcrc_xwr16xx.ae674 -llibmailbox_xwr16xx.ae674 -llibmmwavelink_xwr16xx.ae674 -llibmmwave_xwr16xx.ae674 -llibedma_xwr16xx.ae674 -llibadcbuf_xwr16xx.ae674 -llibmmwavealg_xwr16xx.ae674 -llibosal_xwr16xx.ae674 -ldsplib.ae64P -lmathlib.ae674 -llibc.a -llibc.a
<Linking>
"C:/ti/mmwave_sdk_01_00_00_05/packages/ti/demo/xwr16xx/mmw/dss/dss_mmw_linker.cmd", line 38: error #10008-D: cannot find file "dsplib.ae64P"
"C:/ti/mmwave_sdk_01_00_00_05/packages/ti/demo/xwr16xx/mmw/dss/dss_mmw_linker.cmd", line 39: error #10008-D: cannot find file "libmmwavealg_xwr16xx.ae674"
"C:/ti/mmwave_sdk_01_00_00_05/packages/ti/demo/xwr16xx/mmw/dss/dss_mmw_linker.cmd", line 40: error #10008-D: cannot find file "mathlib.ae674"
"C:/ti/mmwave_sdk_01_00_00_05/packages/ti/demo/xwr16xx/mmw/dss/dss_mmw_linker.cmd", line 61: error #10008-D: cannot find file "libsoc_xwr16xx.ae674"
error #10010: errors encountered during linking; "AWR1642_DSS.out" not built

>> Compilation failure
makefile:159: recipe for target 'AWR1642_DSS.out' failed
gmake[1]: *** [AWR1642_DSS.out] Error 1
makefile:155: recipe for target 'all' failed
gmake: *** [all] Error 2

**** Build Finished ****

  • Hello Steven,

    It looks like "C64Px_DSPLIB_INSTALL_PATH" is not set to the right folder. Can you check if this path is set to the right DSP lib folder?

    -Raghu
  • Hello Steven,

    While linking it's not able to find few of libraries, can you check if those are available at these paths-

    dsplib.ae64P C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/lib
    libmmwavealg_xwr16xx.ae674 C:/ti/mmwave_sdk_01_00_00_05/packages/ti/alg/mmwavelib/lib/
    mathlib.ae674 C:/ti/mathlib_c674x_3_1_2_1/packages/ti/mathlib/lib/
    libsoc_xwr16xx.ae674 C:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/soc/lib/

    .

    Furthermore, make sure that you install exact versions of dependency tools given in release note and set those in the build environment as given in SDK user guide document.

    Regards,

    Jitendra

  • Yes, I found out C64Px_DSPLIB_INSTALL_PATH is not correct.
    However, I don't know what path should I specify for C64Px_DSPLIB_INSTALL_PATH.
    I check the libraries are all in the paths stated by Jitendra in this thread.
    Which path I should set for C64Px_DSPLIB_INSTALL_PATH?
    dsplib.ae64P? libmmwavealg_xwr16xx.ae674? mathlib.ae674? or libsoc_xwr16xx.ae674?

    My pathes are set as follows:

    @REM Select your device. Options (case sensitive) are: awr14xx,iwr14xx, awr16xx, iwr16xx
    set MMWAVE_SDK_DEVICE=awr16xx
    @REM Common settings for awr14xx, awr16xx, iwr14xx and iwr16xx
    @REM TI ARM compiler
    set R4F_CODEGEN_INSTALL_PATH=C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS
    @REM Path to <mmwave_sdk installation path>/packages folder
    set MMWAVE_SDK_INSTALL_PATH=c:/ti/mmwave_sdk_01_00_00_05/packages
    @REM TI XDC
    set XDC_INSTALL_PATH=c:/ti/xdctools_3_50_02_20_core
    @REM TI BIOS
    set BIOS_INSTALL_PATH=C:/ti/bios_6_50_01_12/packages
    @REM perl
    set PERL_INSTALL_PATH=C:/Strawberry/perl/bin
    @REM if using CCS to download, set below define to yes else no
    set DOWNLOAD_FROM_CCS=yes
    @REM install from web (free s/w). skip if doxygen output is not needed
    @REM set DOXYGEN_INSTALL_PATH=C:/ti/doxygen
    @REM Following only needed for awr16xx and iwr16xx
    @REM TI DSP compiler
    set C674_CODEGEN_INSTALL_PATH=C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4
    @REM DSPlib
    @REM set C64Px_DSPLIB_INSTALL_PATH=C:/ti/dsplib_c64Px_3_4_0_0
    set C64Px_DSPLIB_INSTALL_PATH=C:\ti\dsplib_c64Px_3_4_0_0\packages\ti\dsplib\lib
    @REM MATHlib
    set C674x_MATHLIB_INSTALL_PATH=C:/ti/mathlib_c674x_3_1_2_1
    @REM awr16xx/iwr16xx radarss firmware. Use the RPRC formatted binary file.
    set XWR16XX_RADARSS_IMAGE_BIN=%MMWAVE_SDK_INSTALL_PATH%/../firmware/radarss/xwr16xx_radarss_rprc.bin
  • How can I manually add C674x_MATHLIB_INSTALL_PATH and C64Px_DSPLIB_INSTALL_PATH in CCS?
  • In CCS, "Properties" menu of the project, you can set/change the base directory of MATHLIB.

    Regards

    Hayden