user6319700:
问题1,烧录的程序是官方的pre-built,调试运行的曲线如上图所示
问题2,编译工程vitalSigns_16xx_dss,vitalSigns_16xx_mss都有报错
**** Build of configuration Debug for project vitalSigns_16xx_dss ****"C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 2 all -O rm -f C:/Users/shenmai/Desktop/TI/radar/lab0001-driver-vital-signs/vitalSigns_target/vitalSigns_16xx_dss/vitalSigns_16xx_dss.binmakefile:189: recipe for target 'pre-build' failedprocess_begin: CreateProcess(NULL, rm -f C:/Users/shenmai/Desktop/TI/radar/lab0001-driver-vital-signs/vitalSigns_target/vitalSigns_16xx_dss/vitalSigns_16xx_dss.bin, …) failed.make (e=2): 系统找不到指定的文件。 gmake[1]: [pre-build] Error 2 (ignored) Building file: "../dss_data_path.c"Invoking: C6000 Compiler"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c6000_8.3.5/bin/cl6x" -mv6740 –abi=eabi -O3 –include_path="C:/Users/shenmai/Desktop/TI/radar/lab0001-driver-vital-signs/vitalSigns_target/vitalSigns_16xx_dss" –include_path="C:/ti/mmwave_sdk_02_01_00_04/packages" –include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" –include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" –include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" –include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c6000_8.3.5/include" –define=SOC_XWR16XX –define=SUBSYS_DSS –define=DOWNLOAD_FROM_CCS –define=MMWAVE_L3RAM_SIZE=0xC0000 –define=DebugP_ASSERT_ENABLED -g –gcc –diag_warning=225 –diag_wrap=off –display_error_number –gen_func_subsections=on –obj_extension=.oe674 –preproc_with_compile –preproc_dependency="dss_data_path.d_raw" –cmd_file="configPkg/compiler.opt" "../dss_data_path.c" >> Compilation failuresubdir_rules.mk:9: recipe for target 'dss_data_path.oe674' failedmakefile:155: recipe for target 'all' failed"../dss_data_path.c", line 437: error #20: identifier "MMWAVE_L3RAM_NUM_BANK" is undefined"../dss_data_path.c", line 437: error #20: identifier "MMWAVE_SHMEM_BANK_SIZE" is undefined2 errors detected in the compilation of "../dss_data_path.c".gmake[1]: *** [dss_data_path.oe674] Error 1gmake[1]: Target 'main-build' not remade because of errors.gmake: *** [all] Error 2**** Build Finished ****
**** Build of configuration Debug for project vitalSigns_16xx_mss ****"C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 2 all -O rm -f C:/Users/shenmai/Desktop/TI/radar/lab0001-driver-vital-signs/vitalSigns_target/vitalSigns_16xx_mss/vitalSigns_16xx_mss.binmakefile:186: recipe for target 'pre-build' failedprocess_begin: CreateProcess(NULL, rm -f C:/Users/shenmai/Desktop/TI/radar/lab0001-driver-vital-signs/vitalSigns_target/vitalSigns_16xx_mss/vitalSigns_16xx_mss.bin, …) failed.make (e=2): 系统找不到指定的文件。 gmake[1]: [pre-build] Error 2 (ignored) Building file: "../mss_main.c"Invoking: ARM Compiler"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/bin/armcl" -mv7R4 –code_state=16 –float_support=VFPv3D16 -me -O3 –include_path="C:/Users/shenmai/Desktop/TI/radar/lab0001-driver-vital-signs/vitalSigns_target/vitalSigns_16xx_mss" –include_path="C:/ti/mmwave_sdk_02_01_00_04" –include_path="C:/ti/mmwave_sdk_02_01_00_04/packages" –include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/include" –define=_LITTLE_ENDIAN –define=SOC_XWR16XX –define=SUBSYS_MSS –define=DOWNLOAD_FROM_CCS –define=MMWAVE_L3RAM_SIZE=0x40000 –define=DebugP_ASSERT_ENABLED -g –c99 –diag_warning=225 –diag_wrap=off –display_error_number –gen_func_subsections=on –enum_type=int –abi=eabi –preproc_with_compile –preproc_dependency="mss_main.d_raw" –cmd_file="configPkg/compiler.opt" "../mss_main.c" >> Compilation failuresubdir_rules.mk:9: recipe for target 'mss_main.obj' failed"../mss_main.c", line 562: warning #169-D: argument of type "int32_t *" is incompatible with parameter of type "rlCalibrationData_t *""../mss_main.c", line 562: error #167: too few arguments in function call1 error detected in the compilation of "../mss_main.c".gmake[1]: *** [mss_main.obj] Error 1gmake[1]: Target 'main-build' not remade because of errors.gmake: *** [all] Error 2makefile:152: recipe for target 'all' failed**** Build Finished ****
user6319700:
回复 user6319700:
第一个问题与这个链接相同e2echina.ti.com/…/550421
有个解答是初始化心率函数中的所有变量,能否指出对于的源文件?
Nancy Wang:
回复 user6319700:
"../dss_data_path.c", line 437: error #20: identifier "MMWAVE_L3RAM_NUM_BANK" is undefined
"../dss_data_path.c", line 437: error #20: identifier "MMWAVE_SHMEM_BANK_SIZE" is undefined
以上报错,有可能是sdk版本不匹配导致的。
请问是哪个版本的toolbox?"../mss_main.c", line 562: error #167: too few arguments in function call
对应到程序里是哪段代码?
Chris Meng:
回复 user6319700:
user6319700第一个问题与这个链接相同e2echina.ti.com/…/550421有个解答是初始化心率函数中的所有变量,能否指出对于的源文件?
user6319700:
回复 Nancy Wang:
编译报错的问题确实是当前SDK版本不兼容引起的,应该使用SDK2.0.0.4
user6319700:
回复 Chris Meng:
将函数void MmwDemo_interFrameProcessing(MmwDemo_DSS_DataPathObj *obj)中未初始化的变量初始化后出现了新的问题,vitalSigns_host gui运行如下图:
请问是什么原因,怎么解决?
Chris Meng:
回复 user6319700:
你好,
你能提供一下你修改的部分代码么?
user6319700:
回复 Chris Meng:
修改过的代码是dss_data_path.c文件中的函数void MmwDemo_interFrameProcessing(MmwDemo_DSS_DataPathObj *obj)中未初始化的变量进行初始化,就出现上图的问题
Chris Meng:
回复 user6319700:
你好,
能否提供具体的代码,让我看看是否有遗漏?