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/IWR6843: not able to successfully rebuild the vital sign demo code

Part Number: IWR6843

Tool/software: Code Composer Studio

Hello,

I am following the user guide and try to rebuild the vital signs demo code and flash the generated binary file into my chip. 

While during my rebuild project process for dss, I made sure my compiler version is TI v7.4.16. I had these 8 warnings:

However, file vital_sings_68xx_dss.xe674 and file vital_signs_68xx_dss.bin were generated. I kept going to rebuilt the project for mss. I got three advice but I am not sure if they are critical.

I had file "vital_sign_68xx_mss.xer4f" and file "vital signs_demo_68xx.bin". 

Then I flashed the "vital_signs_demo_68xx.bin in the mss Debug folder. The flash was succeed. I opened the GUI for the vital signs demo, but the demo stopped working every time after loading the profile.  (I made sure the board was set to the functional mode and powered up the board again). 

I also tried it under debug mode, load "vital_signs_68xx_mss.xer4f" and "vital_signs_68xx_dss.xe674. But as I mentioned in my previous post, I had trouble entering debug mode (https://e2e.ti.com/support/sensors/f/1023/p/843832/3122180#3122180)

Some related information:

Hardware:IWR6843ISK ES1.0 + MMWBOOST 

mmwave_SDK version: 03_01_01_02

CCS version: 8.3.1

toolbox version: 3.6.2

I was able to flash the prebuilt binary code and run the demo GUI without problem. 

I attached the whole console information for rebuild mss and dss in this post.

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

"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 clean -O 
 
DEL /F  "vital_signs_68xx_dss.hex"  "configPkg\linker.cmd" "configPkg\compiler.opt"  "vital_signs_68xx_dss.xe674" 
DEL /F "common\mmwDemo_monitor.oe674" "dss\dss_config_edma_util.oe674" "dss\dss_data_path.oe674" "dss\dss_main.oe674" "dss\dss_vitalSignsDemo_utilsFunc.oe674" 
DEL /F "common\mmwDemo_monitor.d" "dss\dss_config_edma_util.d" "dss\dss_data_path.d" "dss\dss_main.d" "dss\dss_vitalSignsDemo_utilsFunc.d" 
RMDIR /S/Q  "configPkg\" 
Could Not Find C:\Users\yiran.li\workspace_v8\vital_signs_68xx_dss\Debug\vital_signs_68xx_dss.hex
Finished clean
 

**** Build Finished ****

**** Build of configuration Debug for project vital_signs_68xx_dss ****

"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O 
 
rm -f C:/Users/yiran.li/workspace_v8/vital_signs_68xx_dss/Debug/vital_signs_68xx_dss.bin
makefile:192: recipe for target 'pre-build' failed
process_begin: CreateProcess(NULL, rm -f C:/Users/yiran.li/workspace_v8/vital_signs_68xx_dss/Debug/vital_signs_68xx_dss.bin, ...) failed.
 
gmake[1]: [pre-build] Error 2 (ignored)
 
Building file: "../dss/dss_mmw.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_50_08_24_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:IWR68XX:false:600 -r release -c "C:/ti/ti-cgt-c6000_7.4.16" --compileOptions "--enum_type=int " "../dss/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/yiran.li/workspace_v8/vital_signs_68xx_dss/dss/src/sysbios/sysbios.ae674 ...
gmake[1]: Entering directory `C:/Users/yiran.li/workspace_v8/vital_signs_68xx_dss/dss/src/sysbios'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `C:/Users/yiran.li/workspace_v8/vital_signs_68xx_dss/dss/src/sysbios'
Build of libraries done.
cle674 package/cfg/dss_mmw_pe674.c ...
Finished building: "../dss/dss_mmw.cfg"
 
Building file: "../common/mmwDemo_monitor.c"
Invoking: C6000 Compiler
"C:/ti/ti-cgt-c6000_7.4.16/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 -g --include_path="C:/Users/yiran.li/workspace_v8/vital_signs_68xx_dss" --include_path="C:/Users/yiran.li/workspace_v8/vital_signs_68xx_dss/dss" --include_path="C:/Users/yiran.li/workspace_v8/vital_signs_68xx_dss/common" --include_path="C:/ti/mmwave_sdk_03_01_01_02/packages" --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/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_7.4.16/include" --gcc --define=SOC_XWR68XX --define=SUBSYS_DSS --define=MMWAVE_L3RAM_NUM_BANK=6 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --diag_wrap=off --display_error_number --diag_error=10015 --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="common/mmwDemo_monitor.d_raw" --obj_directory="common" --cmd_file="configPkg/compiler.opt" "../common/mmwDemo_monitor.c"
Finished building: "../common/mmwDemo_monitor.c"
 
Building file: "../dss/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/yiran.li/workspace_v8/vital_signs_68xx_dss" --include_path="C:/Users/yiran.li/workspace_v8/vital_signs_68xx_dss/dss" --include_path="C:/Users/yiran.li/workspace_v8/vital_signs_68xx_dss/common" --include_path="C:/ti/mmwave_sdk_03_01_01_02/packages" --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/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_7.4.16/include" --gcc --define=SOC_XWR68XX --define=SUBSYS_DSS --define=MMWAVE_L3RAM_NUM_BANK=6 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --diag_wrap=off --display_error_number --diag_error=10015 --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss/dss_config_edma_util.d_raw" --obj_directory="dss" --cmd_file="configPkg/compiler.opt" "../dss/dss_config_edma_util.c"
Finished building: "../dss/dss_config_edma_util.c"
 
Building file: "../dss/dss_vitalSignsDemo_utilsFunc.c"
Invoking: C6000 Compiler
"C:/ti/ti-cgt-c6000_7.4.16/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 -g --include_path="C:/Users/yiran.li/workspace_v8/vital_signs_68xx_dss" --include_path="C:/Users/yiran.li/workspace_v8/vital_signs_68xx_dss/dss" --include_path="C:/Users/yiran.li/workspace_v8/vital_signs_68xx_dss/common" --include_path="C:/ti/mmwave_sdk_03_01_01_02/packages" --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/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_7.4.16/include" --gcc --define=SOC_XWR68XX --define=SUBSYS_DSS --define=MMWAVE_L3RAM_NUM_BANK=6 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --diag_wrap=off --display_error_number --diag_error=10015 --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss/dss_vitalSignsDemo_utilsFunc.d_raw" --obj_directory="dss" --cmd_file="configPkg/compiler.opt" "../dss/dss_vitalSignsDemo_utilsFunc.c"
Finished building: "../dss/dss_vitalSignsDemo_utilsFunc.c"
 
Building file: "../dss/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/yiran.li/workspace_v8/vital_signs_68xx_dss" --include_path="C:/Users/yiran.li/workspace_v8/vital_signs_68xx_dss/dss" --include_path="C:/Users/yiran.li/workspace_v8/vital_signs_68xx_dss/common" --include_path="C:/ti/mmwave_sdk_03_01_01_02/packages" --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/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_7.4.16/include" --gcc --define=SOC_XWR68XX --define=SUBSYS_DSS --define=MMWAVE_L3RAM_NUM_BANK=6 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --diag_wrap=off --display_error_number --diag_error=10015 --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss/dss_main.d_raw" --obj_directory="dss" --cmd_file="configPkg/compiler.opt" "../dss/dss_main.c"
"../dss/dss_main.c", line 93: warning #163-D: unrecognized #pragma
"../dss/dss_main.c", line 96: warning #163-D: unrecognized #pragma
Finished building: "../dss/dss_main.c"
 
Building file: "../dss/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/yiran.li/workspace_v8/vital_signs_68xx_dss" --include_path="C:/Users/yiran.li/workspace_v8/vital_signs_68xx_dss/dss" --include_path="C:/Users/yiran.li/workspace_v8/vital_signs_68xx_dss/common" --include_path="C:/ti/mmwave_sdk_03_01_01_02/packages" --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/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_7.4.16/include" --gcc --define=SOC_XWR68XX --define=SUBSYS_DSS --define=MMWAVE_L3RAM_NUM_BANK=6 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --diag_wrap=off --display_error_number --diag_error=10015 --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss/dss_data_path.d_raw" --obj_directory="dss" --cmd_file="configPkg/compiler.opt" "../dss/dss_data_path.c"
"../dss/dss_data_path.c", line 93: warning #163-D: unrecognized #pragma
"../dss/dss_data_path.c", line 96: warning #163-D: unrecognized #pragma
Finished building: "../dss/dss_data_path.c"
 
Building target: "vital_signs_68xx_dss.xe674"
Invoking: C6000 Linker
"C:/ti/ti-cgt-c6000_7.4.16/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 -g --gcc --define=SOC_XWR68XX --define=SUBSYS_DSS --define=MMWAVE_L3RAM_NUM_BANK=6 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --diag_wrap=off --display_error_number --diag_error=10015 --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 -z --stack_size=0x800 -m"vital_signs_68xx_dss.map" --heap_size=0x800 -i"C:/ti/ti-cgt-c6000_7.4.16/lib" -i"C:/Users/yiran.li/workspace_v8/vital_signs_68xx_dss" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/control/mmwave/lib" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/control/mmwavelink/lib" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/alg/mmwavelib/lib" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/crc/lib" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/soc/lib" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/osal/lib" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/mailbox/lib" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/edma/lib" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/adcbuf/lib" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/cbuff/lib" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/utils/hsiheader/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_7.4.16/include" --reread_libs --disable_auto_rts --define=MMWAVE_L3RAM_NUM_BANK=6 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --diag_warning=225 --display_error_number --warn_sections --diag_error=10015 --diag_wrap=off --xml_link_info="xwr68xx_vital_signs_68xx_dss_linkInfo.xml" --ram_model --unused_section_elimination=on -o "vital_signs_68xx_dss.xe674" "./common/mmwDemo_monitor.oe674" "./dss/dss_config_edma_util.oe674" "./dss/dss_data_path.oe674" "./dss/dss_main.oe674" "./dss/dss_vitalSignsDemo_utilsFunc.oe674" "../dss/c674x_linker.cmd" "../dss/dss_mmw_linker.cmd" -l"configPkg/linker.cmd" -ldsplib.ae64P -lmathlib.ae674 -llibsoc_xwr68xx.ae674 -llibosal_xwr68xx.ae674 -llibcrc_xwr68xx.ae674 -llibmailbox_xwr68xx.ae674 -llibmmwavelink_xwr68xx.ae674 -llibmmwave_xwr68xx.ae674 -llibedma_xwr68xx.ae674 -llibadcbuf_xwr68xx.ae674 -llibmmwavealg_xwr68xx.ae674 -llibcbuff_xwr68xx.ae674 -llibhsiheader_xwr68xx.ae674 -lrts6740_elf.lib -llibc.a 
<Linking>
warning #10370-D: Possible codesize or performance degradation. Section ".text:MmwDemo_interFrameProcessing:dss_data_path.oe674" has calls to rts routines, but rts is placed out of range from call site at 0xe00a20, 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:MmwDemo_interFrameProcessing:dss_data_path.oe674" has calls to rts routines, but rts is placed out of range from call site at 0xe02248, 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_xwr68xx.ae674<soc.oe674>" has calls to rts routines, but rts is placed out of range from call site at 0x20002910, 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_xwr68xx.ae674<soc.oe674>" has calls to rts routines, but rts is placed out of range from call site at 0x20002800, 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: "vital_signs_68xx_dss.xe674"
 
C:/ti/mmwave_sdk_03_01_01_02/packages/scripts/ImageCreator/out2rprc/out2rprc.exe vital_signs_68xx_dss.xe674 vital_signs_68xx_dss.bin
Parsing the input object file, vital_signs_68xx_dss.xe674.
Appending zeros 8466784
Appending zeros 8476120
Appending zeros 8482328
File conversion complete!
 

**** Build Finished ****

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

"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 clean -O 
 
DEL /F  "vital_signs_68xx_mss.hex"  "configPkg\linker.cmd" "configPkg\compiler.opt"  "vital_signs_68xx_mss.xer4f" 
DEL /F "mss\cli.oer4f" "mss\mss_main.oer4f" 
DEL /F "mss\cli.d" "mss\mss_main.d" 
RMDIR /S/Q  "configPkg\" 
Could Not Find C:\Users\yiran.li\workspace_v8\vital_signs_68xx_mss\Debug\vital_signs_68xx_mss.hex
Finished clean
 

**** Build Finished ****

**** Build of configuration Debug for project vital_signs_68xx_mss ****

"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O 
 
rm -f C:/Users/yiran.li/workspace_v8/vital_signs_68xx_mss/Debug/vital_signs_demo_68xx.bin
makefile:191: recipe for target 'pre-build' failed
process_begin: CreateProcess(NULL, rm -f C:/Users/yiran.li/workspace_v8/vital_signs_68xx_mss/Debug/vital_signs_demo_68xx.bin, ...) failed.
 
gmake[1]: [pre-build] Error 2 (ignored)
 
Building file: "../mss/mss_mmw.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_50_08_24_core/xs" --xdcpath="C:/ti/bios_6_73_01_01/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.R4Ft -p ti.platforms.cortexR:IWR68XX:false:200 -r release -c "C:/ti/ti-cgt-arm_16.9.6.LTS" --compileOptions "--enum_type=int " "../mss/mss_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 mss_mmw.xer4ft from package/cfg/mss_mmw_per4ft.cfg ...
generating custom ti.sysbios library makefile ... 
Starting build of library sources ...
making C:/Users/yiran.li/workspace_v8/vital_signs_68xx_mss/mss/src/sysbios/sysbios.aer4ft ...
gmake[1]: Entering directory `C:/Users/yiran.li/workspace_v8/vital_signs_68xx_mss/mss/src/sysbios'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `C:/Users/yiran.li/workspace_v8/vital_signs_68xx_mss/mss/src/sysbios'
Build of libraries done.
cler4ft package/cfg/mss_mmw_per4ft.c ...
Finished building: "../mss/mss_mmw.cfg"
 
Building file: "../mss/cli.c"
Invoking: ARM Compiler
"C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/yiran.li/workspace_v8/vital_signs_68xx_mss" --include_path="C:/ti/mmwave_sdk_03_01_01_02/packages" --include_path="C:/Users/yiran.li/workspace_v8/vital_signs_68xx_mss/mss" --include_path="C:/Users/yiran.li/workspace_v8/vital_signs_68xx_mss/common" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=SOC_XWR68XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_NUM_BANK=6 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=APP_RESOURCE_FILE='<'ti/demo/xwr68xx/mmw/mmw_res.h'>' -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=int --abi=eabi --obj_extension=.oer4f --preproc_with_compile --preproc_dependency="mss/cli.d_raw" --obj_directory="mss" --cmd_file="configPkg/compiler.opt" "../mss/cli.c"
Finished building: "../mss/cli.c"
 
Building file: "../mss/mss_main.c"
Invoking: ARM Compiler
"C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/yiran.li/workspace_v8/vital_signs_68xx_mss" --include_path="C:/ti/mmwave_sdk_03_01_01_02/packages" --include_path="C:/Users/yiran.li/workspace_v8/vital_signs_68xx_mss/mss" --include_path="C:/Users/yiran.li/workspace_v8/vital_signs_68xx_mss/common" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=SOC_XWR68XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_NUM_BANK=6 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=APP_RESOURCE_FILE='<'ti/demo/xwr68xx/mmw/mmw_res.h'>' -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=int --abi=eabi --obj_extension=.oer4f --preproc_with_compile --preproc_dependency="mss/mss_main.d_raw" --obj_directory="mss" --cmd_file="configPkg/compiler.opt" "../mss/mss_main.c"
Finished building: "../mss/mss_main.c"
 
Building target: "vital_signs_68xx_mss.xer4f"
Invoking: ARM Linker
"C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --define=SOC_XWR68XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_NUM_BANK=6 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=APP_RESOURCE_FILE='<'ti/demo/xwr68xx/mmw/mmw_res.h'>' -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=int --abi=eabi --obj_extension=.oer4f -z -m"vital_signs_68xx_mss.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ti-cgt-arm_16.9.6.LTS/lib" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/control/mmwave/lib" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/control/mmwavelink/lib" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/adcbuf/lib" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/crc/lib" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/dma/lib" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/edma/lib" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/esm/lib" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/gpio/lib" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/mailbox/lib" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/osal/lib" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/pinmux/lib" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/soc/lib" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/uart/lib" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/utils/mathutils/lib" -i"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/utils/cli/lib" -i"C:/ti/ti-cgt-arm_16.9.6.LTS/include" --reread_libs --disable_auto_rts --define=MMWAVE_L3RAM_NUM_BANK=6 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --diag_error=10015 --diag_warning=225 --diag_wrap=off --display_error_number --warn_sections --xml_link_info="vital_signs_68xx_mss_linkInfo.xml" --rom_model --unused_section_elimination=on -o "vital_signs_68xx_mss.xer4f" "./mss/cli.oer4f" "./mss/mss_main.oer4f" "../r4f_linker.cmd" "../mss/mss_mmw_linker.cmd" -l"configPkg/linker.cmd" -llibosal_xwr68xx.aer4f -llibesm_xwr68xx.aer4f -llibgpio_xwr68xx.aer4f -llibsoc_xwr68xx.aer4f -llibpinmux_xwr68xx.aer4f -llibcrc_xwr68xx.aer4f -llibuart_xwr68xx.aer4f -llibmailbox_xwr68xx.aer4f -llibmmwavelink_xwr68xx.aer4f -llibmmwave_xwr68xx.aer4f -llibadcbuf_xwr68xx.aer4f -llibdma_xwr68xx.aer4f -llibedma_xwr68xx.aer4f -llibmathutils.aer4f -llibcli_xwr68xx.aer4f -lrtsv7R4_T_le_v3D16_eabi.lib -llibc.a 
<Linking>
Finished building target: "vital_signs_68xx_mss.xer4f"
 
C:/ti/mmwave_sdk_03_01_01_02/packages/scripts/ImageCreator/out2rprc/out2rprc.exe vital_signs_68xx_mss.xer4f vital_signs_68xx_mss.tmp
Parsing the input object file, vital_signs_68xx_mss.xer4f.
Appending zeros 0
Appending zeros 256
File conversion complete!
C:/ti/mmwave_sdk_03_01_01_02/packages/scripts/ImageCreator/multicore_image_generator/MulticoreImageGen.exe LE 37 0x02000006 vital_signs_demo_68xx.bin 0x35510000 vital_signs_68xx_mss.tmp 0xb5510000 C:/ti/mmwave_sdk_03_01_01_02/firmware/radarss/iwr6xxx_radarss_rprc.bin 0xd5510000 C:/Users/yiran.li/workspace_v8/vital_signs_68xx_dss/Debug/vital_signs_68xx_dss.bin
Number of Input Files 3
Number of zeros 24
Number of zeros 48
Number of zeros 24
 
C:/ti/mmwave_sdk_03_01_01_02/packages/scripts/ImageCreator/crc_multicore_image/crc_multicore_image.exe vital_signs_demo_68xx.bin vital_signs_demo_68xx.tmp
size of App Image is 452992 bytes
cur_crc_read_addr 128
cur_crc_read_addr 83840
cur_crc_read_addr 301504
Failed to remove CRC temp file
 
C:/ti/mmwave_sdk_03_01_01_02/packages/scripts/ImageCreator/append_bin_crc/gen_bincrc32.exe vital_signs_demo_68xx.bin
>>>> Binary CRC32 = 37fcee2e <<<<
>>>> Total bytes in binary file 452996 <<<<
 
 

**** Build Finished ****

So, I am wondering was my problem (can't run rebuilt demo) related to the warning during my rebuilt process? How may cause the issues mentioned in the warning messages? How can I rebuilt and run the demo successfully?

Thanks so so so much!

Lola  

  • Hi,

    I want to add a few more observations and make my question more clear.

    The main problem is:

    I am able to burn and run the vital signs demo's prebuilt binary code (could detect respiration and heart rate through the GUI). But I was not able to run the binary code generated from the demo code (didn't change the code, just follow the guide to rebuild the project).  

    Here are some of my observations I had during the process:

    1. I was able to generate the binary code but with warning messages showed above. I assume if I don't change the code, the generated binary code should be exactly the same as the prebuilt binary code. What I found is the generated code is always 3 bytes shy from the prebuilt code. I am not sure if this means there is something wrong during the rebuilt of the project. Is it related to the warning messages?

    2. I observed the the DS2 LED on MMWBOOST board is off when I set the board to functional mode and ran the prebuilt code. The DS2 LED is on when I set the board to functional mode but try to run the rebuilt binary code. Does this LED indicate there is something wrong during my flash process?

    3. I found my hardware is ES1.0, I am trying to follow the guide to migrate it to ES2.0. I am not sure if this can solve my problem. 

    Could someone give me some advice or point me a direction that I should look into? I am really frustrated after following the guide thousands of times and tried every possibility (changing the software and drivers' version) but nothing worked. 

    Thanks you so much and I really appreciate the help!!!

    Lola

  • Hi Lola,

    Please flash the CCS debug firmware from SDK 3.1.1.2 and follow the procedure below to provide the requested register values. Thanks.

    1. Launch the CCS target configuration. Then right click on the configuration and select "Show all cores" as shown below:

    2. This will enable the "Non Debuggable devices" option. Select "Texas Instruments XDS110 USB Debug Probe_0/CS_DAP_0" option and press connect.

    3. With the CS_DAP_0 option connected and selected, Please enter the following expressions in the expressions view to read the corresponding register values:

    Regards

    -Nitin

  • Hi Nitin,

    Thank you so much for the reply. Below is my results:

    Thank you and waiting for further instruction.

    Lola

  • I guess if I convert them to Hex, the first would be D0028(Hex) and the second one would be 63000000(Hex)

    Lola

  • Hi Nitin,

    Do you get any solution or suggestion on this issue? We are really frustrated on this. 

    Thanks,

    Lola

  • Hi Lola,

    Thanks for your patience and providing the requested debug information. The values you provided indicate that the IWR6843 ES 1.0 device on your IWR684ISK has an irrecoverable failure during boot-up and needs to be replaced. We have identified that this issues affects some IWR6843 ES1.0 devices and this has been resolved in ES2.0 devices. 

    Please contact your local TI sales representative to request a replacement ISK.

    Regards

    -Nitin

  • Thank you very much Nitin. I will get it replaced then.

    Yiran