TI中文支持网
TI专业的中文技术问题搜集分享网站

AWR1642BOOST: pplcount demo 官方编译报错

Part Number:AWR1642BOOST

您好,我想实现pplcount demo的官方编译,但是直接报错了。

CCS:12.0.0

SDK:mmwave_sdk_03_04_00_03

工程:mmwave_industrial_toolbox_4_0_1/labs/people_counting/16xx_people_counting

诉求:我不清楚是我哪一步的操作有问题,希望您能给出一些意见。

各个products版本:

1.DSS编译报错

<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 0xe00600, 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 0x20005a44, 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 0x20005920, 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_03_04_00_03/packages/scripts/ImageCreator/xwr16xx/out2rprc/out2rprc.exe xwr16xx_pplcount_dss.xe674 xwr16xx_pplcount_dss.bin
makefile:203: recipe for target 'post-build' failed
process_begin: CreateProcess(NULL, C:/ti/mmwave_sdk_03_04_00_03/packages/scripts/ImageCreator/xwr16xx/out2rprc/out2rprc.exe xwr16xx_pplcount_dss.xe674 xwr16xx_pplcount_dss.bin, ...) failed.
make (e=2): 系统找不到指定的文件。
 
gmake[3]: [post-build] Error 2 (ignored)
 

**** Build Finished ****

2.mss编译报错

Finished building: "../gtrackAlloc.c"
 
Building file: "../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:/ti/ccsproject/pplcount_16xx_mss" --include_path="C:/ti/mmwave_sdk_03_04_00_03" --include_path="C:/ti/mmwave_sdk_03_04_00_03/packages" --include_path="C:/ti/mmwave/install/mmwave_industrial_toolbox_4_0_1/labs/people_counting/16xx_people_counting/pjt/radarDemo" --include_path="C:/ti/mmwave/install/mmwave_industrial_toolbox_4_0_1/labs/people_counting/16xx_people_counting/pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=MMWAVE_L3RAM_SIZE=0x40000 -g --c99 --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_main.d_raw" --cmd_file="configPkg/compiler.opt"  "../mss_main.c"
 
>> Compilation failure
subdir_rules.mk:9: recipe for target 'mss_main.oer4f' failed
"../mss_main.c", line 407: warning #169-D: argument of type "int32_t *" is incompatible with parameter of type "MMWave_CalibrationData *"
"../mss_main.c", line 407: error #167: too few arguments in function call
1 error detected in the compilation of "../mss_main.c".
gmake[1]: *** [mss_main.oer4f] Error 1
Building file: "../gtrackLog.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:/ti/ccsproject/pplcount_16xx_mss" --include_path="C:/ti/mmwave_sdk_03_04_00_03" --include_path="C:/ti/mmwave_sdk_03_04_00_03/packages" --include_path="C:/ti/mmwave/install/mmwave_industrial_toolbox_4_0_1/labs/people_counting/16xx_people_counting/pjt/radarDemo" --include_path="C:/ti/mmwave/install/mmwave_industrial_toolbox_4_0_1/labs/people_counting/16xx_people_counting/pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=MMWAVE_L3RAM_SIZE=0x40000 -g --c99 --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="gtrackLog.d_raw" --cmd_file="configPkg/compiler.opt"  "../gtrackLog.c"
Finished building: "../gtrackLog.c"
 
Building file: "../radarOsal_malloc.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:/ti/ccsproject/pplcount_16xx_mss" --include_path="C:/ti/mmwave_sdk_03_04_00_03" --include_path="C:/ti/mmwave_sdk_03_04_00_03/packages" --include_path="C:/ti/mmwave/install/mmwave_industrial_toolbox_4_0_1/labs/people_counting/16xx_people_counting/pjt/radarDemo" --include_path="C:/ti/mmwave/install/mmwave_industrial_toolbox_4_0_1/labs/people_counting/16xx_people_counting/pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=MMWAVE_L3RAM_SIZE=0x40000 -g --c99 --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="radarOsal_malloc.d_raw" --cmd_file="configPkg/compiler.opt"  "../radarOsal_malloc.c"
Finished building: "../radarOsal_malloc.c"
 
Building file: "../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:/ti/ccsproject/pplcount_16xx_mss" --include_path="C:/ti/mmwave_sdk_03_04_00_03" --include_path="C:/ti/mmwave_sdk_03_04_00_03/packages" --include_path="C:/ti/mmwave/install/mmwave_industrial_toolbox_4_0_1/labs/people_counting/16xx_people_counting/pjt/radarDemo" --include_path="C:/ti/mmwave/install/mmwave_industrial_toolbox_4_0_1/labs/people_counting/16xx_people_counting/pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=MMWAVE_L3RAM_SIZE=0x40000 -g --c99 --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="cli.d_raw" --cmd_file="configPkg/compiler.opt"  "../cli.c"
Finished building: "../cli.c"
 
Building file: "../task_mbox.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:/ti/ccsproject/pplcount_16xx_mss" --include_path="C:/ti/mmwave_sdk_03_04_00_03" --include_path="C:/ti/mmwave_sdk_03_04_00_03/packages" --include_path="C:/ti/mmwave/install/mmwave_industrial_toolbox_4_0_1/labs/people_counting/16xx_people_counting/pjt/radarDemo" --include_path="C:/ti/mmwave/install/mmwave_industrial_toolbox_4_0_1/labs/people_counting/16xx_people_counting/pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=MMWAVE_L3RAM_SIZE=0x40000 -g --c99 --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="task_mbox.d_raw" --cmd_file="configPkg/compiler.opt"  "../task_mbox.c"
Finished building: "../task_mbox.c"
 
Building file: "../task_app.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:/ti/ccsproject/pplcount_16xx_mss" --include_path="C:/ti/mmwave_sdk_03_04_00_03" --include_path="C:/ti/mmwave_sdk_03_04_00_03/packages" --include_path="C:/ti/mmwave/install/mmwave_industrial_toolbox_4_0_1/labs/people_counting/16xx_people_counting/pjt/radarDemo" --include_path="C:/ti/mmwave/install/mmwave_industrial_toolbox_4_0_1/labs/people_counting/16xx_people_counting/pjt/radarDemo/chains/RadarReceiverPeopleCounting/mmw_PCDemo/gtrack" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=MMWAVE_L3RAM_SIZE=0x40000 -g --c99 --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="task_app.d_raw" --cmd_file="configPkg/compiler.opt"  "../task_app.c"
gmake[1]: Target 'main-build' not remade because of errors.
gmake: *** [all] Error 2
Finished building: "../task_app.c"
 
makefile:159: recipe for target 'all' failed

**** Build Finished ****

Shine:

请到ccs工程属性里查看并安装工程对应的软件版本号,我这边按照这些软件版本,可以编译。

,

Hengji ZHOU:

用2.0的SDK我这边也可以完成编译,主要是想用3.4版本的SDK,是必须得用2.0版本的SDK才可以编译么?

,

Shine:

是的,在release note里有说明。 Supports mmWave SDK 2.0.0.4 https://dev.ti.com/tirex/explore/node?a=VLyFKFf__4.0.1&node=AIEQX-9Mhf1GGxlNqTwQkQ__VLyFKFf__4.0.1&r=VLyFKFf__4.10.1

赞(0)
未经允许不得转载:TI中文支持网 » AWR1642BOOST: pplcount demo 官方编译报错
分享到: 更多 (0)