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/AWR1642: Build error mmWave SDK demo

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

Tool/software: Code Composer Studio

Hallo,

 

How can I build the mmWave demo in ccs 9.

My version of mmWave SDK is:

mmwave_sdk_02_01_00_04

Error:

console output:


**** Build of configuration Release for project srrdemo_16xx_dss ****

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

rm -f D:/Dokumente/Projektarbeit/srrdemo_16xx_dss/srrdemo_16xx_dss.bin
makefile:194: recipe for target 'pre-build' failed
process_begin: CreateProcess(NULL, rm -f D:/Dokumente/Projektarbeit/srrdemo_16xx_dss/srrdemo_16xx_dss.bin, ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.

gmake[1]: [pre-build] Error 2 (ignored)

Building file: "../dss_srr.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.elf.C674 -p ti.platforms.c6x:AWR16XX:false:600 -r release -c "C:/ti/ccs900/ccs/tools/compiler/ti-cgt-c6000_8.3.2" "../dss_srr.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring dss_srr.xe674 from package/cfg/dss_srr_pe674.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making D:/Dokumente/Projektarbeit/srrdemo_16xx_dss/src/sysbios/sysbios.ae674 ...
gmake[1]: Entering directory `D:/Dokumente/Projektarbeit/srrdemo_16xx_dss/src/sysbios'
cle674 C:/ti/bios_6_53_02_00/packages/ti/sysbios/BIOS.c ...
remark #24038-D: --optimize_with_debug is deprecated and will be removed in a
subsequent release. The behavior is enabled by default.
asme674 C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/c64p/Exception_asm.s64P ...
remark #24038-D: --optimize_with_debug is deprecated and will be removed in a
subsequent release. The behavior is enabled by default.
asme674 C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/c64p/Hwi_asm.s62 ...
remark #24038-D: --optimize_with_debug is deprecated and will be removed in a
subsequent release. The behavior is enabled by default.
asme674 C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62 ...
remark #24038-D: --optimize_with_debug is deprecated and will be removed in a
subsequent release. The behavior is enabled by default.
asme674 C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P ...
remark #24038-D: --optimize_with_debug is deprecated and will be removed in a
subsequent release. The behavior is enabled by default.
asme674 C:/ti/bios_6_53_02_00/packages/ti/sysbios/rts/ti/tls_get_tp.asm ...
remark #24038-D: --optimize_with_debug is deprecated and will be removed in a
subsequent release. The behavior is enabled by default.
asme674 C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/c62/TaskSupport_asm.s62 ...
remark #24038-D: --optimize_with_debug is deprecated and will be removed in a
subsequent release. The behavior is enabled by default.
are674 BIOS.obj c64p_Exception_asm.obj c64p_Hwi_asm.obj c64p_Hwi_asm_switch.obj c64p_Hwi_disp_always.obj ti_tls_get_tp.obj c62_TaskSupport_asm.obj ...
gmake[1]: Leaving directory `D:/Dokumente/Projektarbeit/srrdemo_16xx_dss/src/sysbios'
Build of libraries done.
cle674 package/cfg/dss_srr_pe674.c ...
"package/cfg/dss_srr_pe674.c", line 11175: warning: statement is unreachable
"package/cfg/dss_srr_pe674.c", line 11538: warning: statement is unreachable
"package/cfg/dss_srr_pe674.c", line 11820: warning: statement is unreachable
"package/cfg/dss_srr_pe674.c", line 12063: warning: statement is unreachable
Finished building: "../dss_srr.cfg"

Building file: "../dss_data_path.c"
Invoking: C6000 Compiler
"C:/ti/ccs900/ccs/tools/compiler/ti-cgt-c6000_8.3.2/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="D:/Dokumente/Projektarbeit/srrdemo_16xx_dss" --include_path="C:/ti/mmwave_sdk_02_01_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/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ccs900/ccs/tools/compiler/ti-cgt-c6000_8.3.2/include" --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0xc0000 --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss_data_path.d_raw" --cmd_file="configPkg/compiler.opt" "../dss_data_path.c"

>> Compilation failure
subdir_rules.mk:9: recipe for target 'dss_data_path.oe674' failed
"../dss_data_path.c", line 123: error #20: identifier "MMWAVE_L3RAM_NUM_BANK" is undefined
"../dss_data_path.c", line 123: error #20: identifier "MMWAVE_SHMEM_BANK_SIZE" is undefined
2 errors detected in the compilation of "../dss_data_path.c".
gmake[1]: *** [dss_data_path.oe674] Error 1
Building file: "../gen_twiddle_fft32x32.c"
Invoking: C6000 Compiler
"C:/ti/ccs900/ccs/tools/compiler/ti-cgt-c6000_8.3.2/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="D:/Dokumente/Projektarbeit/srrdemo_16xx_dss" --include_path="C:/ti/mmwave_sdk_02_01_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/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ccs900/ccs/tools/compiler/ti-cgt-c6000_8.3.2/include" --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0xc0000 --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="gen_twiddle_fft32x32.d_raw" --cmd_file="configPkg/compiler.opt" "../gen_twiddle_fft32x32.c"
Finished building: "../gen_twiddle_fft32x32.c"

Building file: "../gen_twiddle_fft16x16.c"
Invoking: C6000 Compiler
"C:/ti/ccs900/ccs/tools/compiler/ti-cgt-c6000_8.3.2/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="D:/Dokumente/Projektarbeit/srrdemo_16xx_dss" --include_path="C:/ti/mmwave_sdk_02_01_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/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ccs900/ccs/tools/compiler/ti-cgt-c6000_8.3.2/include" --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0xc0000 --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="gen_twiddle_fft16x16.d_raw" --cmd_file="configPkg/compiler.opt" "../gen_twiddle_fft16x16.c"
Finished building: "../gen_twiddle_fft16x16.c"

Building file: "../dss_config_edma_util.c"
Invoking: C6000 Compiler
"C:/ti/ccs900/ccs/tools/compiler/ti-cgt-c6000_8.3.2/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="D:/Dokumente/Projektarbeit/srrdemo_16xx_dss" --include_path="C:/ti/mmwave_sdk_02_01_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/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ccs900/ccs/tools/compiler/ti-cgt-c6000_8.3.2/include" --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0xc0000 --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss_config_edma_util.d_raw" --cmd_file="configPkg/compiler.opt" "../dss_config_edma_util.c"
Finished building: "../dss_config_edma_util.c"

Building file: "../common/cfg.c"
Invoking: C6000 Compiler
"C:/ti/ccs900/ccs/tools/compiler/ti-cgt-c6000_8.3.2/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="D:/Dokumente/Projektarbeit/srrdemo_16xx_dss" --include_path="C:/ti/mmwave_sdk_02_01_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/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ccs900/ccs/tools/compiler/ti-cgt-c6000_8.3.2/include" --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0xc0000 --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="common/cfg.d_raw" --obj_directory="common" --cmd_file="configPkg/compiler.opt" "../common/cfg.c"
Finished building: "../common/cfg.c"

Building file: "../clusteringDBscan.c"
Invoking: C6000 Compiler
"C:/ti/ccs900/ccs/tools/compiler/ti-cgt-c6000_8.3.2/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="D:/Dokumente/Projektarbeit/srrdemo_16xx_dss" --include_path="C:/ti/mmwave_sdk_02_01_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/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ccs900/ccs/tools/compiler/ti-cgt-c6000_8.3.2/include" --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0xc0000 --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="clusteringDBscan.d_raw" --cmd_file="configPkg/compiler.opt" "../clusteringDBscan.c"
Finished building: "../clusteringDBscan.c"

Building file: "../dss_main.c"
Invoking: C6000 Compiler
"C:/ti/ccs900/ccs/tools/compiler/ti-cgt-c6000_8.3.2/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="D:/Dokumente/Projektarbeit/srrdemo_16xx_dss" --include_path="C:/ti/mmwave_sdk_02_01_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/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ccs900/ccs/tools/compiler/ti-cgt-c6000_8.3.2/include" --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0xc0000 --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss_main.d_raw" --cmd_file="configPkg/compiler.opt" "../dss_main.c"
Finished building: "../dss_main.c"

Building file: "../Extended_Kalman_Filter_xyz.c"
Invoking: C6000 Compiler
"C:/ti/ccs900/ccs/tools/compiler/ti-cgt-c6000_8.3.2/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="D:/Dokumente/Projektarbeit/srrdemo_16xx_dss" --include_path="C:/ti/mmwave_sdk_02_01_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/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ccs900/ccs/tools/compiler/ti-cgt-c6000_8.3.2/include" --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0xc0000 --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="Extended_Kalman_Filter_xyz.d_raw" --cmd_file="configPkg/compiler.opt" "../Extended_Kalman_Filter_xyz.c"
gmake[1]: Target 'main-build' not remade because of errors.
gmake: *** [all] Error 2
Finished building: "../Extended_Kalman_Filter_xyz.c"

makefile:160: recipe for target 'all' failed

**** Build Finished ****

  • Hi,

    For SDK 2.1 there is no ccs project provided for the SDK oob demo.

    I recommend you modify the ccs project provided for SDK 2.0 oob demo. You will need to modify the project spec (one file)

    This ccs project is available in the Industrial Toolbox 2.5.2, mmWave SDK Demo 16xx

    In order to access this older version of the Industrial Toolbox please click on Package Picker (icon next to Search Window)

    Thank you
    Cesar