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.

AWR1843: Build Out-of-box demo CCS Project failed

Part Number: AWR1843
Other Parts Discussed in Thread: SYSBIOS

Hi, 

I tried to followed https://dev.ti.com/tirex/explore/content/radar_toolbox_2_00_00_06/source/ti/examples/Out_Of_Box_Demo/docs/Out_Of_Box_Demo_User_Guide.html#software, to get familier with DSS, and MSS. I need to activate MCU_CLK OUT so i could make master/slave two AWR 1843 through connecting MCU_CLK out from one to SYNC_IN on the second kit. 

But, the build for the out of the box demo css : https://dev.ti.com/tirex/explore/node?node=A__ADFsv62CVEotGtkwF2Zxlg__radar_toolbox__1AslXXD__LATEST for AWR 1843, failed : 

rm -f C:/Users/xx/workspace_v12/mrr_18xx_dss/mrr_18xx_dss.bin
makefile:180: recipe for target 'pre-build' failed
process_begin: CreateProcess(NULL, rm -f C:/Users/xx/workspace_v12/mrr_18xx_dss/mrr_18xx_dss.bin, ...) failed.

I have attached the complete log for the build for your reference. 

**** Build of configuration Debug for project mrr_18xx_dss ****

"C:\\ti\\ccs1270\\ccs\\utils\\bin\\gmake" -k -j 20 all -O 
 
rm -f C:/Users/xxx/workspace_v12/mrr_18xx_dss/mrr_18xx_dss.bin
makefile:180: recipe for target 'pre-build' failed
process_begin: CreateProcess(NULL, rm -f C:/Users/xxx/workspace_v12/mrr_18xx_dss/mrr_18xx_dss.bin, ...) failed.
 
gmake[1]: [pre-build] Error 2 (ignored)
 
Building file: "../dss_mrr.cfg"
Invoking: XDCtools
"C:/ti/ccs1270/xdctools_3_62_01_16_core/xs" --xdcpath="C:/ti/bios_6_73_01_01/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-c6000_8.3.3" "../dss_mrr.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_mrr.xe674 from package/cfg/dss_mrr_pe674.cfg ...
generating custom ti.sysbios library makefile ... 
Starting build of library sources ...
making C:/Users/xxx/workspace_v12/mrr_18xx_dss/src/sysbios/sysbios.ae674 ...
Build of libraries done.
cle674 package/cfg/dss_mrr_pe674.c ...
Finished building: "../dss_mrr.cfg"
 
Building file: "../gen_twiddle_fft32x32.c"
Invoking: C6000 Compiler
"C:/ti/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/xxx/workspace_v12/mrr_18xx_dss" --include_path="C:/ti/mmwave_sdk_03_06_02_00-LTS/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-c6000_8.3.3/include" --define=SOC_XWR18XX --define=SUBSYS_DSS --define=ENABLE_ADVANCED_FRAME --define=MMWAVE_L3RAM_NUM_BANK=8 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=MMWAVE_L3RAM_SIZE=0x100000 --define=SHMEM_ALLOC=0x00000008 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --disable_push_pop --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: "../dss_config_edma_util.c"
Invoking: C6000 Compiler
"C:/ti/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/xxx/workspace_v12/mrr_18xx_dss" --include_path="C:/ti/mmwave_sdk_03_06_02_00-LTS/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-c6000_8.3.3/include" --define=SOC_XWR18XX --define=SUBSYS_DSS --define=ENABLE_ADVANCED_FRAME --define=MMWAVE_L3RAM_NUM_BANK=8 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=MMWAVE_L3RAM_SIZE=0x100000 --define=SHMEM_ALLOC=0x00000008 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --disable_push_pop --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: "../gen_twiddle_fft16x16.c"
Invoking: C6000 Compiler
"C:/ti/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/xxx/workspace_v12/mrr_18xx_dss" --include_path="C:/ti/mmwave_sdk_03_06_02_00-LTS/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-c6000_8.3.3/include" --define=SOC_XWR18XX --define=SUBSYS_DSS --define=ENABLE_ADVANCED_FRAME --define=MMWAVE_L3RAM_NUM_BANK=8 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=MMWAVE_L3RAM_SIZE=0x100000 --define=SHMEM_ALLOC=0x00000008 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --disable_push_pop --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: "../common/cfg.c"
Invoking: C6000 Compiler
"C:/ti/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/xxx/workspace_v12/mrr_18xx_dss" --include_path="C:/ti/mmwave_sdk_03_06_02_00-LTS/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-c6000_8.3.3/include" --define=SOC_XWR18XX --define=SUBSYS_DSS --define=ENABLE_ADVANCED_FRAME --define=MMWAVE_L3RAM_NUM_BANK=8 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=MMWAVE_L3RAM_SIZE=0x100000 --define=SHMEM_ALLOC=0x00000008 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --disable_push_pop --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/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/xxx/workspace_v12/mrr_18xx_dss" --include_path="C:/ti/mmwave_sdk_03_06_02_00-LTS/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-c6000_8.3.3/include" --define=SOC_XWR18XX --define=SUBSYS_DSS --define=ENABLE_ADVANCED_FRAME --define=MMWAVE_L3RAM_NUM_BANK=8 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=MMWAVE_L3RAM_SIZE=0x100000 --define=SHMEM_ALLOC=0x00000008 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --disable_push_pop --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/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/xxx/workspace_v12/mrr_18xx_dss" --include_path="C:/ti/mmwave_sdk_03_06_02_00-LTS/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-c6000_8.3.3/include" --define=SOC_XWR18XX --define=SUBSYS_DSS --define=ENABLE_ADVANCED_FRAME --define=MMWAVE_L3RAM_NUM_BANK=8 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=MMWAVE_L3RAM_SIZE=0x100000 --define=SHMEM_ALLOC=0x00000008 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --disable_push_pop --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/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/xxx/workspace_v12/mrr_18xx_dss" --include_path="C:/ti/mmwave_sdk_03_06_02_00-LTS/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-c6000_8.3.3/include" --define=SOC_XWR18XX --define=SUBSYS_DSS --define=ENABLE_ADVANCED_FRAME --define=MMWAVE_L3RAM_NUM_BANK=8 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=MMWAVE_L3RAM_SIZE=0x100000 --define=SHMEM_ALLOC=0x00000008 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --disable_push_pop --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="Extended_Kalman_Filter_xyz.d_raw" --cmd_file="configPkg/compiler.opt"  "../Extended_Kalman_Filter_xyz.c"
Finished building: "../Extended_Kalman_Filter_xyz.c"
 
Building file: "../dss_data_path.c"
Invoking: C6000 Compiler
"C:/ti/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/xxx/workspace_v12/mrr_18xx_dss" --include_path="C:/ti/mmwave_sdk_03_06_02_00-LTS/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-c6000_8.3.3/include" --define=SOC_XWR18XX --define=SUBSYS_DSS --define=ENABLE_ADVANCED_FRAME --define=MMWAVE_L3RAM_NUM_BANK=8 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=MMWAVE_L3RAM_SIZE=0x100000 --define=SHMEM_ALLOC=0x00000008 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --disable_push_pop --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss_data_path.d_raw" --cmd_file="configPkg/compiler.opt"  "../dss_data_path.c"
Finished building: "../dss_data_path.c"
 
Building target: "mrr_18xx_dss.xe674"
Invoking: C6000 Linker
"C:/ti/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --define=SOC_XWR18XX --define=SUBSYS_DSS --define=ENABLE_ADVANCED_FRAME --define=MMWAVE_L3RAM_NUM_BANK=8 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=MMWAVE_L3RAM_SIZE=0x100000 --define=SHMEM_ALLOC=0x00000008 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --disable_push_pop --obj_extension=.oe674 -z -m"mrr_18xx_dss.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ti-cgt-c6000_8.3.3/lib" -i"C:/Users/xxx/workspace_v12/mrr_18xx_dss" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/control/mmwave/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/control/mmwavelink/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/crc/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/mailbox/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/osal/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/soc/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/uart/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/edma/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/adcbuf/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/alg/mmwavelib/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" -i"C:/ti/ti-cgt-c6000_8.3.3/include" --reread_libs --disable_auto_rts --diag_warning=225 --diag_wrap=off --display_error_number --warn_sections --xml_link_info="xwr18xx_mrr_18xx_dss_linkInfo.xml" --ram_model --unused_section_elimination=on -o "mrr_18xx_dss.xe674" "./Extended_Kalman_Filter_xyz.oe674" "./clusteringDBscan.oe674" "./dss_config_edma_util.oe674" "./dss_data_path.oe674" "./dss_main.oe674" "./gen_twiddle_fft16x16.oe674" "./gen_twiddle_fft32x32.oe674" "./common/cfg.oe674" "../c674x_linker.cmd" "../dss_mrr_linker.cmd" -l"configPkg/linker.cmd"  -llibosal_xwr18xx.ae674 -llibsoc_xwr18xx.ae674 -llibcrc_xwr18xx.ae674 -llibuart_xwr18xx.ae674 -llibmailbox_xwr18xx.ae674 -llibmmwavelink_xwr18xx.ae674 -llibmmwave_xwr18xx.ae674 -lmathlib.ae674 -ldsplib.ae64P -llibedma_xwr18xx.ae674 -llibadcbuf_xwr18xx.ae674 -llibmmwavealg_xwr18xx.ae674 -lrts6740_elf.lib -llibc.a 
<Linking>
"../dss_mrr_linker.cmd", line 92: warning #10068-D: no matching section
warning #10370-D: Possible codesize or performance degradation. Section ".text:SOC_init:libsoc_xwr18xx.ae674<soc.oe674>" has calls to rts routines, but rts is placed out of range from call site at 0x20003010, or in a different section. To optimize codesize, either 1) place rts closer to call site, or 2) place rts in same section, or 3) compile with --disable_push_pop.
warning #10370-D: Possible codesize or performance degradation. Section ".text:SOC_init:libsoc_xwr18xx.ae674<soc.oe674>" has calls to rts routines, but rts is placed out of range from call site at 0x20002ee0, or in a different section. To optimize codesize, either 1) place rts closer to call site, or 2) place rts in same section, or 3) compile with --disable_push_pop.
Finished building target: "mrr_18xx_dss.xe674"
 
C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/scripts/ImageCreator/out2rprc/out2rprc.exe mrr_18xx_dss.xe674 mrr_18xx_dss.bin
Parsing the input object file, mrr_18xx_dss.xe674.
Appending zeros 8511724
Appending zeros 8511728
Appending zeros 8515308
Appending zeros 8515312
Appending zeros 8517132
Appending zeros 8517136
File conversion complete!
 

**** Build Finished ****