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: Problem with project from Short Range Radar lab

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

Tool/software: Code Composer Studio

Hi,

I encountred problem during building  ssrdemo_16xx_dss. I imported it manualy and throught CCS, however it still gives erros  and I don't know what to do.

Here is what my project looks like in CSS, and it is a bit differnt than that one showed in user guide.

I don't have  C:\ti\ccsv7\base  and   C:\ti\ti-cgt-c6000_8.1.3\include included. However even if I add it manualy i still have some erros. I installed  TI DSP compiler and SDK and industrial and automotive toolboxes.

Here is what erros and build data i recive.


**** Build of configuration Debug for project srrdemo_16xx_dss ****

"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O
 
rm -f C:/Users/dwawerek/workspace_v81/srrdemo_16xx_dss/srrdemo_16xx_dss.bin
makefile:194: recipe for target 'pre-build' failed
process_begin: CreateProcess(NULL, rm -f C:/Users/dwawerek/workspace_v81/srrdemo_16xx_dss/srrdemo_16xx_dss.bin, ...) failed.
make (e=2): Nie można odnaleźć określonego pliku.
 
gmake[1]: [pre-build] Error 2 (ignored)
 
Building file: "../Extended_Kalman_Filter_xyz.c"
Invoking: ARM Compiler
"C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 -O3 --include_path="C:/ti/ccsv8/ccs_base" --include_path="C:/ti/ti-cgt-c6000_8.1.3/include" --include_path="C:/Users/dwawerek/workspace_v81/srrdemo_16xx_dss" --include_path="C:/ti/mmwave_sdk_02_00_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/ti-cgt-arm_16.9.6.LTS/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 --enum_type=packed --abi=eabi --stack_overflow_check --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="Extended_Kalman_Filter_xyz.d_raw" --cmd_file="configPkg/compiler.opt" "../Extended_Kalman_Filter_xyz.c"
subdir_rules.mk:9: recipe for target 'Extended_Kalman_Filter_xyz.oe674' failed
error #24015-D: bad argument to option -mv: should be one of {4,5e,6,6M0,7A8,7M3,7M4,7R4,7R5}
gmake[1]: *** [Extended_Kalman_Filter_xyz.oe674] Error 1
Building file: "../clusteringDBscan.c"
Invoking: ARM Compiler
"C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 -O3 --include_path="C:/ti/ccsv8/ccs_base" --include_path="C:/ti/ti-cgt-c6000_8.1.3/include" --include_path="C:/Users/dwawerek/workspace_v81/srrdemo_16xx_dss" --include_path="C:/ti/mmwave_sdk_02_00_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/ti-cgt-arm_16.9.6.LTS/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 --enum_type=packed --abi=eabi --stack_overflow_check --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="clusteringDBscan.d_raw" --cmd_file="configPkg/compiler.opt" "../clusteringDBscan.c"
subdir_rules.mk:16: recipe for target 'clusteringDBscan.oe674' failed
error #24015-D: bad argument to option -mv: should be one of {4,5e,6,6M0,7A8,7M3,7M4,7R4,7R5}
gmake[1]: *** [clusteringDBscan.oe674] Error 1
Building file: "../dss_config_edma_util.c"
Invoking: ARM Compiler
"C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 -O3 --include_path="C:/ti/ccsv8/ccs_base" --include_path="C:/ti/ti-cgt-c6000_8.1.3/include" --include_path="C:/Users/dwawerek/workspace_v81/srrdemo_16xx_dss" --include_path="C:/ti/mmwave_sdk_02_00_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/ti-cgt-arm_16.9.6.LTS/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 --enum_type=packed --abi=eabi --stack_overflow_check --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss_config_edma_util.d_raw" --cmd_file="configPkg/compiler.opt" "../dss_config_edma_util.c"
subdir_rules.mk:23: recipe for target 'dss_config_edma_util.oe674' failed
error #24015-D: bad argument to option -mv: should be one of {4,5e,6,6M0,7A8,7M3,7M4,7R4,7R5}
gmake[1]: *** [dss_config_edma_util.oe674] Error 1
Building file: "../dss_data_path.c"
Invoking: ARM Compiler
"C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 -O3 --include_path="C:/ti/ccsv8/ccs_base" --include_path="C:/ti/ti-cgt-c6000_8.1.3/include" --include_path="C:/Users/dwawerek/workspace_v81/srrdemo_16xx_dss" --include_path="C:/ti/mmwave_sdk_02_00_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/ti-cgt-arm_16.9.6.LTS/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 --enum_type=packed --abi=eabi --stack_overflow_check --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss_data_path.d_raw" --cmd_file="configPkg/compiler.opt" "../dss_data_path.c"
subdir_rules.mk:30: recipe for target 'dss_data_path.oe674' failed
error #24015-D: bad argument to option -mv: should be one of {4,5e,6,6M0,7A8,7M3,7M4,7R4,7R5}
gmake[1]: *** [dss_data_path.oe674] Error 1
Building file: "../dss_main.c"
Invoking: ARM Compiler
"C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 -O3 --include_path="C:/ti/ccsv8/ccs_base" --include_path="C:/ti/ti-cgt-c6000_8.1.3/include" --include_path="C:/Users/dwawerek/workspace_v81/srrdemo_16xx_dss" --include_path="C:/ti/mmwave_sdk_02_00_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/ti-cgt-arm_16.9.6.LTS/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 --enum_type=packed --abi=eabi --stack_overflow_check --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss_main.d_raw" --cmd_file="configPkg/compiler.opt" "../dss_main.c"
subdir_rules.mk:37: recipe for target 'dss_main.oe674' failed
error #24015-D: bad argument to option -mv: should be one of {4,5e,6,6M0,7A8,7M3,7M4,7R4,7R5}
gmake[1]: *** [dss_main.oe674] Error 1
Building file: "../gen_twiddle_fft16x16.c"
Invoking: ARM Compiler
"C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 -O3 --include_path="C:/ti/ccsv8/ccs_base" --include_path="C:/ti/ti-cgt-c6000_8.1.3/include" --include_path="C:/Users/dwawerek/workspace_v81/srrdemo_16xx_dss" --include_path="C:/ti/mmwave_sdk_02_00_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/ti-cgt-arm_16.9.6.LTS/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 --enum_type=packed --abi=eabi --stack_overflow_check --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="gen_twiddle_fft16x16.d_raw" --cmd_file="configPkg/compiler.opt" "../gen_twiddle_fft16x16.c"
subdir_rules.mk:58: recipe for target 'gen_twiddle_fft16x16.oe674' failed
error #24015-D: bad argument to option -mv: should be one of {4,5e,6,6M0,7A8,7M3,7M4,7R4,7R5}
gmake[1]: *** [gen_twiddle_fft16x16.oe674] Error 1
Building file: "../gen_twiddle_fft32x32.c"
Invoking: ARM Compiler
"C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 -O3 --include_path="C:/ti/ccsv8/ccs_base" --include_path="C:/ti/ti-cgt-c6000_8.1.3/include" --include_path="C:/Users/dwawerek/workspace_v81/srrdemo_16xx_dss" --include_path="C:/ti/mmwave_sdk_02_00_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/ti-cgt-arm_16.9.6.LTS/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 --enum_type=packed --abi=eabi --stack_overflow_check --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="gen_twiddle_fft32x32.d_raw" --cmd_file="configPkg/compiler.opt" "../gen_twiddle_fft32x32.c"
subdir_rules.mk:65: recipe for target 'gen_twiddle_fft32x32.oe674' failed
error #24015-D: bad argument to option -mv: should be one of {4,5e,6,6M0,7A8,7M3,7M4,7R4,7R5}
gmake[1]: *** [gen_twiddle_fft32x32.oe674] Error 1
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;C:/ti/dsplib_c674x_3_4_0_0/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C674 -p ti.platforms.c6x:AWR16XX:false:600 -r release -c "C:/ti/ti-cgt-arm_16.9.6.LTS" "../dss_srr.cfg"
Building file: "../common/cfg.c"
Invoking: ARM Compiler
"C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 -O3 --include_path="C:/ti/ccsv8/ccs_base" --include_path="C:/ti/ti-cgt-c6000_8.1.3/include" --include_path="C:/Users/dwawerek/workspace_v81/srrdemo_16xx_dss" --include_path="C:/ti/mmwave_sdk_02_00_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/ti-cgt-arm_16.9.6.LTS/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 --enum_type=packed --abi=eabi --stack_overflow_check --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="common/cfg.d_raw" --obj_directory="common" --cmd_file="configPkg/compiler.opt" "../common/cfg.c"
common/subdir_rules.mk:9: recipe for target 'common/cfg.oe674' failed
error #24015-D: bad argument to option -mv: should be one of {4,5e,6,6M0,7A8,7M3,7M4,7R4,7R5}
gmake[1]: *** [common/cfg.oe674] Error 1
configuring dss_srr.xe674 from package/cfg/dss_srr_pe674.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making C:/Users/dwawerek/workspace_v81/srrdemo_16xx_dss/src/sysbios/sysbios.ae674 ...
gmake[1]: Entering directory `C:/Users/dwawerek/workspace_v81/srrdemo_16xx_dss/src/sysbios'
cle674 C:/ti/bios_6_53_02_00/packages/ti/sysbios/BIOS.c ...
gmake[1]: Leaving directory `C:/Users/dwawerek/workspace_v81/srrdemo_16xx_dss/src/sysbios'
Build of libraries failed.
subdir_rules.mk:47: recipe for target 'build-1180652703-inproc' failed
C:/ti/ti-cgt-arm_16.9.6.LTS/bin/cl6x: not found
gmake[1]: *** [BIOS.obj] Error 127
gmake: *** [C:/Users/dwawerek/workspace_v81/srrdemo_16xx_dss/src/sysbios/sysbios.ae674] Error 2
error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_50_04_43_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:
 
js: "C:/ti/xdctools_3_50_04_43_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
xdctools_3_50_04_43_core\gmake.exe: *** [package/cfg/dss_srr_pe674.xdl] Error 1
xdctools_3_50_04_43_core\gmake.exe: *** Deleting file `package/cfg/dss_srr_pe674.xdl'
xdctools_3_50_04_43_core\gmake.exe: *** [package/cfg/dss_srr_pe674.xdl] Deleting file `package/cfg/dss_srr_pe674.h'
xdctools_3_50_04_43_core\gmake.exe: *** [package/cfg/dss_srr_pe674.xdl] Deleting file `package/cfg/dss_srr_pe674.c'
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[2]: *** [build-1180652703-inproc] Error 1
gmake[1]: *** [build-1180652703] Error 2
gmake[1]: Target 'main-build' not remade because of errors.
gmake: *** [all] Error 2
subdir_rules.mk:44: recipe for target 'build-1180652703' failed
makefile:160: recipe for target 'all' failed

**** Build Finished ****

Here is what I have in C:/ti. 

Do you have some clue what I'm doing wrong?

  • Damian,

    There appears to be an issue with the screenshot you uploaded to this thread. The picture does not load correctly so I cannot see what you are referring to in your screenshot.

    Please provide the following information on your installation:

    - mmWave SDK version installed
    - automotive/industrial toolbox version installed
    - CCS version installed

    Alternatively, you can try to upload another screenshot. Make sure to select the "Insert Code, Attach Files and more..." option to ensure the screenshot uploads correctly.

    Regards,
    Kyle
  • Kyle,
    in folder C:\ti i have isntaled
    mmWaveSDK version: mdk_2_00_00_04 and also mdk_3_00_00_08
    automotive toolbox_2_4_3
    and industrial toolbox 3_1_0
    CCS Version: 8.1.0.00011

    Regards,
    Damian
  • Damian,

    So for automotive toolbox v2.4.3, you should have mmWave SDK v2.0.0.4 installed. The demo for this lab is built on this SDK. When you install the SDK, it should automatically install all of the corresponding dependencies.

    When you installed CCS, you should also make sure that you have the mmWave Radar Device support package installed as well. You can check this in CCS by going to "Help" and then selecting "Installation Details". In this view, look for "mmWave Radar Device support." If you do not see it there, go to "Help" and then select "Install New Software..." from the main CCS view.

    In the "Work with:" line you should select "--All Available Sites--" and then scroll down until you find "mmWave Radar Device support"

    Regards,
    Kyle
  • Kyle,

    I have installed mmWave SDK v2.0.0.4. To be sure a I reinstaled it, and it still doesn't work. I checked in "Installation Details" and I have mmWave Radar Device Support version 1.6.1.

    To give You more detials, as I import   ssrdemo_16xx_dss I have this warning:
      Warning: Configuration 'Debug' - build-option setting '-mv6740' is not recognized. Ignoring...
      Warning: Configuration 'Release' - build-option setting '-mv6740' is not recognized. Ignoring...


    I have no idea what to do now. Should I delete somthing or install new packages?

    Regards,

    Damian

  • I attach also errors I get  when I bulid/rebulid project

  • Damian,

    Have you made sure to install the SDK? Are you installing it in the C:\ti directory? The xdc.cfg error leads me to believe there is an error with your installation of the mmWave SDK. The XDC files are linked to TI-RTOS, which is required for running any of the demos found in the automotive toolbox.

    Regards,
    Kyle