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/IWR1642: People counting demo - No data from the serial port after rebuilding project

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

Tool/software: Code Composer Studio

Hello,

After I successfully implemented the hard-coded configuration solution on the OOB demo mentioned on this thread: https://e2e.ti.com/support/sensors/f/1023/p/708175/2616079#2616079 , I went to implement it on the people counting demo. I imported the project from mmwave_industrial_toolbox_2_3_0 with sdk_02_00_00_04 and used all the setup of software requirements mention on the guide.

Here is the setup of the project on the CCS:



I am getting all the correct files:
For pplcount_16xx_mss:
xwr16xx_pplcount_lab.bin
xwr16xx_pplcount_mss.bin
xwr16xx_pplcount_mss.xer4f
For pplcount_16xx_dss:
xwr16xx_pplcount_dss.bin
xwr16xx_pplcount_dss.xe674

However, while the rebuild of the pplcount_16xx_mss had finished with no errors, the rebuild of the pplcount_16xx_dss finished with warning about the dss_mmw_linker.cmd.
Here is the CCS console log output:


**** Clean-only build of configuration Debug for project pplcount_16xx_dss ****

"C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 4 clean -O 

DEL /F "xwr16xx_pplcount_dss.hex" "configPkg\linker.cmd" "configPkg\compiler.opt" "xwr16xx_pplcount_dss.xe674" 
DEL /F "RADARDEMO_aoaEstCaponBF.oe674" "RADARDEMO_aoaEstCaponBF_DopplerEst.oe674" "RADARDEMO_aoaEstCaponBF_heatmapEst.oe674" "RADARDEMO_aoaEstCaponBF_matrixInv.oe674" "RADARDEMO_detectionCFAR.oe674" "RADARDEMO_detectionCFAR_priv.oe674" "RADARDEMO_rangeProc.oe674" "RADARDEMO_rangeProc_priv.oe674" "RADARDEMO_rangeProc_utils.oe674" "cycle_measure.oe674" "dss_config_edma_util.oe674" "dss_data_path.oe674" "dss_main.oe674" "radarOsal_malloc.oe674" "radarProcess.oe674" 
DEL /F "RADARDEMO_aoaEstCaponBF.d" "RADARDEMO_aoaEstCaponBF_DopplerEst.d" "RADARDEMO_aoaEstCaponBF_heatmapEst.d" "RADARDEMO_aoaEstCaponBF_matrixInv.d" "RADARDEMO_detectionCFAR.d" "RADARDEMO_detectionCFAR_priv.d" "RADARDEMO_rangeProc.d" "RADARDEMO_rangeProc_priv.d" "RADARDEMO_rangeProc_utils.d" "cycle_measure.d" "dss_config_edma_util.d" "dss_data_path.d" "dss_main.d" "radarOsal_malloc.d" "radarProcess.d" 
RMDIR /S/Q "configPkg\" 
Could Not Find C:\Users\USER\workspace_v9\pplcount_16xx_dss\Debug\xwr16xx_pplcount_dss.hex
Finished clean

**** Build Finished ****

**** Build of configuration Debug for project pplcount_16xx_dss ****

"C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 4 all -O 

rm -f C:/Users/USER/workspace_v9/pplcount_16xx_dss/xwr16xx_pplcount_dss.bin
makefile:199: recipe for target 'pre-build' failed
process_begin: CreateProcess(NULL, rm -f C:/Users/USER/workspace_v9/pplcount_16xx_dss/xwr16xx_pplcount_dss.bin, ...) failed.

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

Building file: "../dss_mmw.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:IWR16XX:false:600 -r release -c "C:/ti/ti_cgt_c6000_7.4.16" "../dss_mmw.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_mmw.xe674 from package/cfg/dss_mmw_pe674.cfg ...
generating custom ti.sysbios library makefile ... 
Starting build of library sources ...
making C:/Users/USER/workspace_v9/pplcount_16xx_dss/src/sysbios/sysbios.ae674 ...
gmake[1]: Entering directory `C:/Users/USER/workspace_v9/pplcount_16xx_dss/src/sysbios'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `C:/Users/USER/workspace_v9/pplcount_16xx_dss/src/sysbios'
Build of libraries done.
cle674 package/cfg/dss_mmw_pe674.c ...
Finished building: "../dss_mmw.cfg"

Building file: "../RADARDEMO_aoaEstCaponBF.c"
Invoking: C6000 Compiler
"C:/ti/ti_cgt_c6000_7.4.16/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 -g --include_path="C:/Users/USER/workspace_v9/pplcount_16xx_dss" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --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_c674x_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_c674x_3_4_0_0/packages/ti/dsplib/src/DSPF_sp_fftSPxSP" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ti_cgt_c6000_7.4.16/include" --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --diag_wrap=off --display_error_number --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="RADARDEMO_aoaEstCaponBF.d_raw" --cmd_file="configPkg/compiler.opt" "../RADARDEMO_aoaEstCaponBF.c"
Finished building: "../RADARDEMO_aoaEstCaponBF.c"

Building file: "../RADARDEMO_detectionCFAR.c"
Invoking: C6000 Compiler
"C:/ti/ti_cgt_c6000_7.4.16/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 -g --include_path="C:/Users/USER/workspace_v9/pplcount_16xx_dss" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --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_c674x_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_c674x_3_4_0_0/packages/ti/dsplib/src/DSPF_sp_fftSPxSP" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ti_cgt_c6000_7.4.16/include" --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --diag_wrap=off --display_error_number --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="RADARDEMO_detectionCFAR.d_raw" --cmd_file="configPkg/compiler.opt" "../RADARDEMO_detectionCFAR.c"
Finished building: "../RADARDEMO_detectionCFAR.c"

Building file: "../RADARDEMO_aoaEstCaponBF_DopplerEst.c"
Invoking: C6000 Compiler
"C:/ti/ti_cgt_c6000_7.4.16/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 -g --include_path="C:/Users/USER/workspace_v9/pplcount_16xx_dss" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --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_c674x_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_c674x_3_4_0_0/packages/ti/dsplib/src/DSPF_sp_fftSPxSP" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ti_cgt_c6000_7.4.16/include" --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --diag_wrap=off --display_error_number --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="RADARDEMO_aoaEstCaponBF_DopplerEst.d_raw" --cmd_file="configPkg/compiler.opt" "../RADARDEMO_aoaEstCaponBF_DopplerEst.c"
Finished building: "../RADARDEMO_aoaEstCaponBF_DopplerEst.c"

Building file: "../RADARDEMO_rangeProc.c"
Invoking: C6000 Compiler
"C:/ti/ti_cgt_c6000_7.4.16/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 -g --include_path="C:/Users/USER/workspace_v9/pplcount_16xx_dss" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --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_c674x_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_c674x_3_4_0_0/packages/ti/dsplib/src/DSPF_sp_fftSPxSP" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ti_cgt_c6000_7.4.16/include" --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --diag_wrap=off --display_error_number --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="RADARDEMO_rangeProc.d_raw" --cmd_file="configPkg/compiler.opt" "../RADARDEMO_rangeProc.c"
Finished building: "../RADARDEMO_rangeProc.c"

Building file: "../RADARDEMO_aoaEstCaponBF_matrixInv.c"
Invoking: C6000 Compiler
"C:/ti/ti_cgt_c6000_7.4.16/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 -g --include_path="C:/Users/USER/workspace_v9/pplcount_16xx_dss" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --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_c674x_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_c674x_3_4_0_0/packages/ti/dsplib/src/DSPF_sp_fftSPxSP" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ti_cgt_c6000_7.4.16/include" --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --diag_wrap=off --display_error_number --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="RADARDEMO_aoaEstCaponBF_matrixInv.d_raw" --cmd_file="configPkg/compiler.opt" "../RADARDEMO_aoaEstCaponBF_matrixInv.c"
Finished building: "../RADARDEMO_aoaEstCaponBF_matrixInv.c"

Building file: "../RADARDEMO_rangeProc_utils.c"
Invoking: C6000 Compiler
"C:/ti/ti_cgt_c6000_7.4.16/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 -g --include_path="C:/Users/USER/workspace_v9/pplcount_16xx_dss" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --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_c674x_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_c674x_3_4_0_0/packages/ti/dsplib/src/DSPF_sp_fftSPxSP" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ti_cgt_c6000_7.4.16/include" --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --diag_wrap=off --display_error_number --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="RADARDEMO_rangeProc_utils.d_raw" --cmd_file="configPkg/compiler.opt" "../RADARDEMO_rangeProc_utils.c"
Finished building: "../RADARDEMO_rangeProc_utils.c"

Building file: "../cycle_measure.c"
Invoking: C6000 Compiler
"C:/ti/ti_cgt_c6000_7.4.16/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 -g --include_path="C:/Users/USER/workspace_v9/pplcount_16xx_dss" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --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_c674x_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_c674x_3_4_0_0/packages/ti/dsplib/src/DSPF_sp_fftSPxSP" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ti_cgt_c6000_7.4.16/include" --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --diag_wrap=off --display_error_number --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="cycle_measure.d_raw" --cmd_file="configPkg/compiler.opt" "../cycle_measure.c"
Finished building: "../cycle_measure.c"

Building file: "../dss_config_edma_util.c"
Invoking: C6000 Compiler
"C:/ti/ti_cgt_c6000_7.4.16/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 -g --include_path="C:/Users/USER/workspace_v9/pplcount_16xx_dss" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --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_c674x_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_c674x_3_4_0_0/packages/ti/dsplib/src/DSPF_sp_fftSPxSP" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ti_cgt_c6000_7.4.16/include" --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --diag_wrap=off --display_error_number --diag_warning=225 --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: "../RADARDEMO_aoaEstCaponBF_heatmapEst.c"
Invoking: C6000 Compiler
"C:/ti/ti_cgt_c6000_7.4.16/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 -g --include_path="C:/Users/USER/workspace_v9/pplcount_16xx_dss" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --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_c674x_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_c674x_3_4_0_0/packages/ti/dsplib/src/DSPF_sp_fftSPxSP" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ti_cgt_c6000_7.4.16/include" --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --diag_wrap=off --display_error_number --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="RADARDEMO_aoaEstCaponBF_heatmapEst.d_raw" --cmd_file="configPkg/compiler.opt" "../RADARDEMO_aoaEstCaponBF_heatmapEst.c"
Finished building: "../RADARDEMO_aoaEstCaponBF_heatmapEst.c"

Building file: "../RADARDEMO_rangeProc_priv.c"
Invoking: C6000 Compiler
"C:/ti/ti_cgt_c6000_7.4.16/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 -g --include_path="C:/Users/USER/workspace_v9/pplcount_16xx_dss" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --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_c674x_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_c674x_3_4_0_0/packages/ti/dsplib/src/DSPF_sp_fftSPxSP" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ti_cgt_c6000_7.4.16/include" --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --diag_wrap=off --display_error_number --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="RADARDEMO_rangeProc_priv.d_raw" --cmd_file="configPkg/compiler.opt" "../RADARDEMO_rangeProc_priv.c"
Finished building: "../RADARDEMO_rangeProc_priv.c"

Building file: "../radarOsal_malloc.c"
Invoking: C6000 Compiler
"C:/ti/ti_cgt_c6000_7.4.16/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 -g --include_path="C:/Users/USER/workspace_v9/pplcount_16xx_dss" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --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_c674x_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_c674x_3_4_0_0/packages/ti/dsplib/src/DSPF_sp_fftSPxSP" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ti_cgt_c6000_7.4.16/include" --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --diag_wrap=off --display_error_number --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="radarOsal_malloc.d_raw" --cmd_file="configPkg/compiler.opt" "../radarOsal_malloc.c"
Finished building: "../radarOsal_malloc.c"

Building file: "../dss_data_path.c"
Invoking: C6000 Compiler
"C:/ti/ti_cgt_c6000_7.4.16/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 -g --include_path="C:/Users/USER/workspace_v9/pplcount_16xx_dss" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --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_c674x_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_c674x_3_4_0_0/packages/ti/dsplib/src/DSPF_sp_fftSPxSP" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ti_cgt_c6000_7.4.16/include" --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --diag_wrap=off --display_error_number --diag_warning=225 --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"
Finished building: "../dss_data_path.c"

Building file: "../radarProcess.c"
Invoking: C6000 Compiler
"C:/ti/ti_cgt_c6000_7.4.16/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 -g --include_path="C:/Users/USER/workspace_v9/pplcount_16xx_dss" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --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_c674x_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_c674x_3_4_0_0/packages/ti/dsplib/src/DSPF_sp_fftSPxSP" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ti_cgt_c6000_7.4.16/include" --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --diag_wrap=off --display_error_number --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="radarProcess.d_raw" --cmd_file="configPkg/compiler.opt" "../radarProcess.c"
Finished building: "../radarProcess.c"

Building file: "../dss_main.c"
Invoking: C6000 Compiler
"C:/ti/ti_cgt_c6000_7.4.16/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 -g --include_path="C:/Users/USER/workspace_v9/pplcount_16xx_dss" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --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_c674x_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_c674x_3_4_0_0/packages/ti/dsplib/src/DSPF_sp_fftSPxSP" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ti_cgt_c6000_7.4.16/include" --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --diag_wrap=off --display_error_number --diag_warning=225 --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: "../RADARDEMO_detectionCFAR_priv.c"
Invoking: C6000 Compiler
"C:/ti/ti_cgt_c6000_7.4.16/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 -g --include_path="C:/Users/USER/workspace_v9/pplcount_16xx_dss" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo" --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_c674x_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_c674x_3_4_0_0/packages/ti/dsplib/src/DSPF_sp_fftSPxSP" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/mmwave_industrial_toolbox_2_3_0/labs/lab0011-pplcount/lab0011_pplcount_pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ti_cgt_c6000_7.4.16/include" --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --diag_wrap=off --display_error_number --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="RADARDEMO_detectionCFAR_priv.d_raw" --cmd_file="configPkg/compiler.opt" "../RADARDEMO_detectionCFAR_priv.c"
Finished building: "../RADARDEMO_detectionCFAR_priv.c"

Building target: "xwr16xx_pplcount_dss.xe674"
Invoking: C6000 Linker
"C:/ti/ti_cgt_c6000_7.4.16/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --diag_wrap=off --display_error_number --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 -z --stack_size=0x800 -m"xwr16xx_pplcount_dss.map" --heap_size=0x800 -i"C:/ti/ti_cgt_c6000_7.4.16/lib" -i"C:/Users/USER/workspace_v9/pplcount_16xx_dss" -i"C:/Users/USER/workspace_v9/pplcount_16xx_dss/Debug" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/control/mmwave/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/control/mmwavelink/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/crc/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/mailbox/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/osal/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/soc/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/uart/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/edma/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/adcbuf/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/alg/mmwavelib/lib" -i"C:/ti/dsplib_c674x_3_4_0_0/packages/ti/dsplib/lib" -i"C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/lib" -i"C:/ti/ti_cgt_c6000_7.4.16/include" --reread_libs --disable_auto_rts --diag_warning=225 --display_error_number --warn_sections --diag_wrap=off --xml_link_info="xwr16xx_pplcount_dss_linkInfo.xml" --ram_model --unused_section_elimination=on -o "xwr16xx_pplcount_dss.xe674" "./RADARDEMO_aoaEstCaponBF.oe674" "./RADARDEMO_aoaEstCaponBF_DopplerEst.oe674" "./RADARDEMO_aoaEstCaponBF_heatmapEst.oe674" "./RADARDEMO_aoaEstCaponBF_matrixInv.oe674" "./RADARDEMO_detectionCFAR.oe674" "./RADARDEMO_detectionCFAR_priv.oe674" "./RADARDEMO_rangeProc.oe674" "./RADARDEMO_rangeProc_priv.oe674" "./RADARDEMO_rangeProc_utils.oe674" "./cycle_measure.oe674" "./dss_config_edma_util.oe674" "./dss_data_path.oe674" "./dss_main.oe674" "./radarOsal_malloc.oe674" "./radarProcess.oe674" "../c674x_linker.cmd" "../dss_mmw_linker.cmd" -l"configPkg/linker.cmd" -llibosal_xwr16xx.ae674 -llibsoc_xwr16xx.ae674 -llibcrc_xwr16xx.ae674 -llibuart_xwr16xx.ae674 -llibmailbox_xwr16xx.ae674 -llibmmwavelink_xwr16xx.ae674 -llibmmwave_xwr16xx.ae674 -ldsplib.ae64P -ldsplib.lib -llibedma_xwr16xx.ae674 -llibadcbuf_xwr16xx.ae674 -llibmmwavealg_xwr16xx.ae674 -lrts6740_elf.lib -llibc.a 
<Linking>
"../dss_mmw_linker.cmd", line 40: warning #10068-D: no matching section
"../dss_mmw_linker.cmd", line 55: warning #10068-D: no matching section
warning #10370-D: Possible codesize or performance degradation. Section ".text:RADARDEMO_rangeProc_run:RADARDEMO_rangeProc.oe674" has calls to rts routines, but rts is placed out of range from call site at 0xe00618, 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:RADARDEMO_rangeProc_run:RADARDEMO_rangeProc.oe674" has calls to rts routines, but rts is placed out of range from call site at 0xe003a0, 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_xwr16xx.ae674<soc.oe674>" has calls to rts routines, but rts is placed out of range from call site at 0x20004e24, 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_xwr16xx.ae674<soc.oe674>" has calls to rts routines, but rts is placed out of range from call site at 0x20004d20, 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: "xwr16xx_pplcount_dss.xe674"

C:/ti/mmwave_sdk_02_00_00_04/packages/scripts/ImageCreator/xwr16xx/out2rprc/out2rprc.exe xwr16xx_pplcount_dss.xe674 xwr16xx_pplcount_dss.bin
Parsing the input object file, xwr16xx_pplcount_dss.xe674.
Appending zeros 8461408
Appending zeros 8468984
Appending zeros 8475176
File conversion complete!

**** Build Finished ****

I went flashing the xwr16xx_pplcount_lab.bin and although it finished successfullyI, when I open the tera term I can't get the CLI from COM UART  and can't read any data from COM AUX serial port.
Is the warning of "no matching section" on the dss_mmw_linker.cmd Is the reason for not reading the serial port ? Or is it something else?

Please advise what to do.

Thanks,
Avi

  • Hi Avi,

    I do not believe the warning you are seeing is causing issues. However, please take the following steps:

    1. Please ensure the device has been taken out of flashing mode and put into functional mode
    2. Please ensure you are connecting with baud 115200 to the UART port and baud 921600 to the DATA port (gui does this automatically)
    3. Run the software in debug mode and report the error or location where the code hangs.

    Regards,

    Justin

  • Hi Justin,

    Thank you for your reply.
    I checked the jumper, and it's not on flashing mode.
    In addition, I checked the baud rate on both COM ports, and they are correct.
    Here is the snap shot from running the device on debug mode over CCS:




    As you can see, it seems like the program is stuck at the initialized point.
    I am waiting for your further instructions.

    Thanks,
    Avi

  • Hi Avi,

    The mss is not doing anything in the screenshot, despite the fact that CCS show that it is running. You should see messages from the MSS that it is syncing with dss, opening uart, and initializing CLI.  The mss is either failing to get into the initialization task, or crashing during initialization. 

    I recommend stepping through the MSS boot phase

    1. mss_main.,c - main()

    2. mss_main.c - initialization task()

    main() kicks off the initialization task, so this is essentially stepping the first 100 lines of mss code.

    Regards,

    Justin

  • Hi Justin,

    I changed the SDK version 01.02.00.05 and now the initialize mode is working.
    Here is the outcome:


    Also as a printout:

    [Cortex_R4_0] **********************************************
    [C674X_0] Debug: Logging UART Instance @00814ad0 has been opened successfully
    Debug: DSS Mailbox Handle @0080c568
    Debug: MMWDemoDSS create event handle succeeded
    [Cortex_R4_0] Debug: Launching the Millimeter Wave Demo
    [C674X_0] Debug: MMWDemoDSS mmWave Control Initialization succeeded
    [Cortex_R4_0] **********************************************
    Debug: MMWDemoMSS Launched the Initialization Task
    Debug: System Heap (TCM): Size: 65536, Used = 2832, Free = 62704 bytes
    Debug: MMWDemoMSS mmWave Control Initialization was successful
    Debug: CLI is operational
    [C674X_0] Debug: MMWDemoDSS ADCBUF Instance(0) @00814ab8 has been opened successfully
    Debug: MMWDemoDSS Data Path init succeeded
    Debug: MMWDemoDSS initTask exit
    [Cortex_R4_0] Error: MMWDemoMSS mmWave Stop failed [Error code -203227134]
    Debug: MMWDemoMSS Received CLI sensorStart Event
    Debug: System Heap (TCM): Size: 65536, Used = 27864, Free = 37672 bytes
    Debug: MMWDemoMSS mmWave config succeeded

    I am waiting for your response.

    Thanks,
    Avi

  • Hi Avi,

    This appears to be working from the printout - it looks like the software successfully received the command.

    Regards,
    Justin

  • Hi Justin,

    So if everything is fine and hard configuration is working on CLI port, Then why can't I see the streaming data over the data serial port ?
    I am connecting to both COM ports using Tera Term.


    Thanks,
    Avi

  • Hi Avi,

    I see a line indicating that sensor stop failed, which is fine. I also see a sensorStart line. However, I would expect to see a printout when you send trackerCfg. Can you copy the config file you sent here?

    Thanks,

    Justin

  • Hi Justing,

    Here is Hard-coded config file from the cli.c:


    /**************************************************************************
    *************************** Hard-coded Configuation **********************
    **************************************************************************/
    #define USE_HARD_CODED_CONFIG

    #ifdef USE_HARD_CODED_CONFIG

    int32_t hardCodedConfigIndex;

    char * hardCodedConfigCommands[] =
    {
    "% ***************************************************************"
    "% Created for SDK ver:01.00",
    "% Created using Visualizer ver:2.0.0.2",
    "% Frequency:77",
    "% Platform:xWR16xx",
    "% Scene Classifier:best_range_res",
    "% Azimuth Resolution(deg):15",
    "% Range Resolution(m):0.044",
    "% Maximum unambiguous Range(m):9.02",
    "% Maximum Radial Velocity(m/s):1",
    "% Radial velocity resolution(m/s):0.13",
    "% Frame Duration(msec):100",
    "% Range Detection Threshold (dB):15",
    "% Doppler Detection Threshold (dB):15",
    "% Range Peak Grouping:enabled",
    "% Doppler Peak Grouping:enabled",
    "% Static clutter removal:disabled",
    "% ***************************************************************",
    "sensorStop",
    "flushCfg",
    "dfeDataOutputMode 1",
    "channelCfg 15 3 0",
    "adcCfg 2 1",
    "adcbufCfg -1 0 0 1 0",
    "profileCfg 0 77 429 7 57.14 0 0 70 1 256 5209 0 0 30",
    "chirpCfg 0 0 0 0 0 0 0 1",
    "chirpCfg 1 1 0 0 0 0 0 2",
    "frameCfg 0 1 16 0 100 1 0",
    "lowPower 0 1",
    "guiMonitor -1 1 0 0 0 0 0",
    "cfarCfg -1 0 0 8 4 4 0 5120",
    "cfarCfg -1 1 0 4 2 3 0 5120",
    "peakGrouping -1 1 1 1 1 255",
    "multiObjBeamForming -1 1 0.5",
    "clutterRemoval -1 0",
    "calibDcRangeSig -1 0 -5 8 256",
    "extendedMaxVelocity -1 0",
    "bpmCfg -1 0 0 1",
    "lvdsStreamCfg -1 0 0 0",
    "nearFieldCfg -1 0 0 0",
    "compRangeBiasAndRxChanPhase 0.0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0",
    "measureRangeBiasAndRxChanPhase 0 1.5 0.2",
    "CQRxSatMonitor 0 3 5 123 0",
    "CQSigImgMonitor 0 127 4",
    "analogMonitor 1 1",
    "sensorStart",
    "!!!END_OF_HARD_CODED_COMMANDS"
    };

    #endif

    Thanks,
    Avi

  • Hi Avi,

    This is an incorrect configuration - please use the default configuration contained in the 16xx People Counting lab.

    mmwave_industrial_toolbox\labs\people_counting\16xx_people_counting\gui\mmw_pplcount_demo_default.cfg

    Regards,

    Justin

  • Hi Justin,

    You were correct :)
    The issue was the wrong configuration for the project.
    When I used the cli given for the Hard-coded solution, I didn't understand that the exact configuration for the specific project needed to be change every time you switch project.
    I changed the configuration in the cli.c, rebuilt the cli library in the SDK and then rebuilt the project on the ccs and now it works.

    Thank you,
    Avi