AWR1642开发板DSP代码编译错误

Other Parts Discussed in Thread: SYSBIOS, MATHLIB, UNIFLASH, AWR1642BOOST, AWR1642

**** Build of configuration Debug for project mmw_dss_16xx ****

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

rm -f C:/Users/win 7/workspace_v7/mmw_dss_16xx/xwr16xx_mmw_dss.bin
makefile:190: recipe for target 'pre-build' failed
process_begin: CreateProcess(NULL, rm -f C:/Users/win 7/workspace_v7/mmw_dss_16xx/xwr16xx_mmw_dss.bin, ...) failed.
make (e=2): 系统找不到指定的文件。

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

'Building file: "../dss_mmw.cfg"'
'Invoking: XDCtools'
"C:/ti/xdctools_3_50_00_10_core/xs" --xdcpath="C:/ti/bios_6_52_00_12/packages;C:/ti/ccsv7/ccs_base;" 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_8.1.3" "../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/WIN7~1/workspace_v7/mmw_dss_16xx/src/sysbios/sysbios.ae674 ...
gmake[1]: Entering directory `C:/Users/WIN7~1/workspace_v7/mmw_dss_16xx/src/sysbios'
cle674 C:/ti/bios_6_52_00_12/packages/ti/sysbios/BIOS.c ...
asme674 C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/c64p/Exception_asm.s64P ...
asme674 C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/c64p/Hwi_asm.s62 ...
asme674 C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62 ...
asme674 C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P ...
asme674 C:/ti/bios_6_52_00_12/packages/ti/sysbios/rts/ti/tls_get_tp.asm ...
asme674 C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/c62/TaskSupport_asm.s62 ...
are674 BIOS.obj c64p_Exception_asm.obj c64p_Hwi_asm.obj c64p_Hwi_asm_switch.obj c64p_Hwi_disp_always.obj ti_tls_get_tp.obj c62_TaskSupport_asm.obj ...
gmake[1]: Leaving directory `C:/Users/WIN7~1/workspace_v7/mmw_dss_16xx/src/sysbios'
Build of libraries done.
cle674 package/cfg/dss_mmw_pe674.c ...
'Finished building: "../dss_mmw.cfg"'

'Building file: "../dss_config_edma_util.c"'
'Invoking: C6000 Compiler'
"C:/ti/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="C:/Users/win 7/workspace_v7/mmw_dss_16xx" --include_path="C:/ti/mmwave_sdk_01_01_00_02/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.1.3/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --display_error_number --diag_wrap=off --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: "../gen_twiddle_fft16x16.c"'
'Invoking: C6000 Compiler'
"C:/ti/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="C:/Users/win 7/workspace_v7/mmw_dss_16xx" --include_path="C:/ti/mmwave_sdk_01_01_00_02/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.1.3/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --display_error_number --diag_wrap=off --diag_warning=225 --gen_func_subsections=on --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: "../gen_twiddle_fft32x32.c"'
'Invoking: C6000 Compiler'
"C:/ti/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="C:/Users/win 7/workspace_v7/mmw_dss_16xx" --include_path="C:/ti/mmwave_sdk_01_01_00_02/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.1.3/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --display_error_number --diag_wrap=off --diag_warning=225 --gen_func_subsections=on --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: "../rx_ch_bias_measure.c"'
'Invoking: C6000 Compiler'
"C:/ti/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="C:/Users/win 7/workspace_v7/mmw_dss_16xx" --include_path="C:/ti/mmwave_sdk_01_01_00_02/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.1.3/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --display_error_number --diag_wrap=off --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="rx_ch_bias_measure.d_raw" --cmd_file="configPkg/compiler.opt" "../rx_ch_bias_measure.c"
'Finished building: "../rx_ch_bias_measure.c"'

'Building file: "../dss_main.c"'
'Invoking: C6000 Compiler'
"C:/ti/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="C:/Users/win 7/workspace_v7/mmw_dss_16xx" --include_path="C:/ti/mmwave_sdk_01_01_00_02/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.1.3/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --display_error_number --diag_wrap=off --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: "../dss_data_path.c"'
'Invoking: C6000 Compiler'
"C:/ti/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="C:/Users/win 7/workspace_v7/mmw_dss_16xx" --include_path="C:/ti/mmwave_sdk_01_01_00_02/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.1.3/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --display_error_number --diag_wrap=off --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 target: "xwr16xx_mmw_dss.xe674"'
'Invoking: C6000 Linker'
"C:/ti/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --display_error_number --diag_wrap=off --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 -z -m"xwr16xx_mmw_dss.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ti-cgt-c6000_8.1.3/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/control/mmwave/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/control/mmwavelink/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/crc/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/mailbox/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/osal/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/soc/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/uart/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/edma/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/adcbuf/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/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.1.3/include" --reread_libs --disable_auto_rts --warn_sections --diag_warning=225 --display_error_number --diag_wrap=off --xml_link_info="xwr16xx_mmw_dss_linkInfo.xml" --ram_model --unused_section_elimination=on -o "xwr16xx_mmw_dss.xe674" "./dss_config_edma_util.oe674" "./dss_data_path.oe674" "./dss_main.oe674" "./gen_twiddle_fft16x16.oe674" "./gen_twiddle_fft32x32.oe674" "./rx_ch_bias_measure.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 -lmathlib.ae674 -ldsplib.ae64P -llibedma_xwr16xx.ae674 -llibadcbuf_xwr16xx.ae674 -llibmmwavealg_xwr16xx.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 0xe01b20, 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 0xe029f4, 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 0x200035a4, 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 0x200034a0, 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_mmw_dss.xe674"'

C:/ti/mmwave_sdk_01_01_00_02/packages/scripts/ImageCreator/xwr16xx/out2rprc/out2rprc.exe xwr16xx_mmw_dss.xe674 xwr16xx_mmw_dss.bin
makefile:194: recipe for target 'post-build' failed
gmake[3]: [post-build] Error -2146232576 (ignored)

**** Build Finished ****

以上错误怎么解决

  • 你好,

    编译已经通过了,生成可执行文件成功。

    'Finished building target: "xwr16xx_mmw_dss.xe674"'

    只是生成BIN文件的时候失败。

    可导入最新版本的demo尝试。http://dev.ti.com/tirex/#/?link=Software%2FmmWave%20Sensors%2FIndustrial%20Toolbox%2FLabs%2FmmWave%20SDK%20Demo%20-%2016xx

  • 你好;

    你说的是这个版本吗?我已经跟新过了,然后今天又尝试了一下,还是不行

    还有请问为什么会生产bin文件出错呢,这个demo需要dss和mss两个project,如果这里不生成bin文件的话,下面就不能和mss的生成文件组合了啊,谢谢您的帮助

  • 生成BIN 是用于烧写固化程序到flash 的

    SDK users guide里的4. 5. Developing using SDK 的设置你可以check一下有没有完成。

    另外,CCS debug及固化程序的方法请查看http://dev.ti.com/tirex/#/?link=Software%2FmmWave%20Sensors%2FIndustrial%20Toolbox%2FLabs%2FmmWave%20SDK%20Demo%20-%2016xx

    从4.1节开始。

  • 你好;

    我按照sdk users guide里的4.5 developing using sdk 的设置check了一下,结果显示是正常的。

    跟users guide中描述的一样,只是后面的building demo我没有做,不知道那个commands应该如何操作。

    现在我又对dss project进行rebuild,又出现新的错误

    另外,我之前已经试过通过uniflash向awr1642boost固化程序,我选择的是High Accuracy Range Measurement – 16xx的bin文件,没有运行过他的工程,而是直接固化。我想学习的是编写一个project然后生成一个bin文件导入到awr1642boost中,所以想运行一下ti的demo,然后生成bin文件导入到板子中去然后再了解一下ti的demo是如何编写的。然后试着在demo的基础上改一下,谢谢您的帮助。

  • 你好,

    我建议你先导入这个SDK自带的demo工程进行尝试,先确定编译等环境都能够使用。http://dev.ti.com/tirex/#/?link=Software%2FmmWave%20Sensors%2FIndustrial%20Toolbox%2FLabs%2FmmWave%20SDK%20Demo%20-%2016xx

    另外,CCS编译的流程是,

    首先编译DSS工程,生成.xe674文件,CCS会调用out2rprc.exe工具转化为.bin文件

    然后编译MSS工程,生成.xer4f文件,CCS会调用out2rprc.exe工具转化为.bin文件

    接下来MSS工程中会调用MulticoreImageGen.exe,将BSS/MSS/DSS三个镜像合成为一个BIN 文件。

    最后是调用crc_multicore_image.exe,完成CRC校验,生成可烧写到flash的BIN文件。

    附上我正常编译的打印信息,你可以rebuild project对比一下。

  • 你好,我也遇到你这个问题了,想问一下你是怎么解决的.

  • 你好,

    可以检查一下你所使用的SDK版本。CCS版本,与被编译的工程所要求的版本是否一致。

  • 你好:
    我仔细对比了你正常编译的信息和我编译完成之后的信息,不相同的地方出现在最后一部分,你的编译结果为:
    C:/ti/mmwave_sdk_01_01_00_02/packages/scripts/ImageCreator/xwr16xx/out2rprc/out2rprc.exe xwr16xx_mmw_dss.xe674 xwr16xx_mmw_dss.bin
    Parsing the input object file, xwr16xx_mmw_dss.xe674.
    Appending zeros 8458616
    Appending zeros 8468072
    File conversion complete!

    我的编译结果为:
    C:/ti/mmwave_sdk_01_01_00_02/packages/scripts/ImageCreator/xwr16xx/out2rprc/out2rprc.exe xwr16xx_mmw_dss.xe674 xwr16xx_mmw_dss.bin
    makefile:194: recipe for target 'post-build' failed
    gmake[3]: [post-build] Error -2146232576 (ignored)
    是我的post build失败了,我在网上并没有搜集到相关的问题,很困惑。
    还有,我很好奇,在编译结果的第一部分里不论是你正确编译还是我错误编译的都有pre build 错误的提示
    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O
    rm -f C:/ccs_workspace_v7/mmw_dss_16xx/xwr16xx_mmw_dss.bin
    makefile:189: recipe for target 'pre-build' failed
    process_begin: CreateProcess(NULL, rm -f C:/ccs_workspace_v7/mmw_dss_16xx/xwr16xx_mmw_dss.bin, ...) failed.
    make (e=2): The system cannot find the file specified.

    gmake[1]: [pre-build] Error 2 (ignored)
    但是并没有影响后续的编译,请问这是为什么呢?还有此处的pre build和后面的post build有没有关系啊?
    谢谢!
  • 你好,

    请问你有没有按照C:\ti\mmwave_sdk_01_01_00_02\docs\mmwave_sdk_user_guide.pdf

    章节4.5的步骤进行操作呢?

    另外,perl是否已经安装成功?

    谢谢。

  • 你好:

      我重新按照mmwave_sdk_user_guide.pdf章节4.5的步骤进行检查,并没有发现任何问题,运行setenv.bat之后也提示我“mmWave Build Environment

    Configured”

    然后我也按照另一篇帖子的做法去安装了perl和crc.pm,但是重新启动电脑和ccs之后继续rebuild project还是无法通过,只提示我

    makefile:194: recipe for target 'post-build' failed

    我想问一下

    Parsing the input object file, xwr14xx_mmw_mss.xer4f.

    这一部分跟什么有关,因为我的ccs好像这一步都没有做。

    谢谢!

  • 你好,
    能否贴出全部的编译信息,方便分析。另外'post-build' failed没有影响,主要是看后续的编译能否成功。
    谢谢。

  • **** Build of configuration Debug for project mmw_dss_16xx ****

    "C:\\software\\ccs_setup_7.3.0.00019\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O
    rm -f C:/ti/ccs_folder/mmw_dss_16xx/xwr16xx_mmw_dss.bin
    makefile:189: recipe for target 'pre-build' failed
    process_begin: CreateProcess(NULL, rm -f C:/ti/ccs_folder/mmw_dss_16xx/xwr16xx_mmw_dss.bin, ...) failed.
    make (e=2): 系统找不到指定的文件。

    gmake[1]: [pre-build] Error 2 (ignored)
    ' '
    'Building file: ../dss_mmw.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_50_00_10_core/xs" --xdcpath="C:/ti/bios_6_52_00_12/packages;C:/ti/dsplib_c64Px_3_4_0_0/packages;C:/ti/dsplib_c674x_3_4_0_0/packages;C:/ti/mathlib_c674x_3_1_2_1/packages;C:/software/ccs_setup_7.3.0.00019/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C674 -p ti.platforms.c6x:IWR16XX:false:600 -r release -c "C:/software/ccs_setup_7.3.0.00019/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4" "../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:/ti/ccs_folder/mmw_dss_16xx/src/sysbios/sysbios.ae674 ...
    gmake[1]: Entering directory `C:/ti/ccs_folder/mmw_dss_16xx/src/sysbios'
    cle674 C:/ti/bios_6_52_00_12/packages/ti/sysbios/BIOS.c ...
    asme674 C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/c64p/Exception_asm.s64P ...
    asme674 C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/c64p/Hwi_asm.s62 ...
    asme674 C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62 ...
    asme674 C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P ...
    asme674 C:/ti/bios_6_52_00_12/packages/ti/sysbios/rts/ti/tls_get_tp.asm ...
    asme674 C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/c62/TaskSupport_asm.s62 ...
    are674 BIOS.obj c64p_Exception_asm.obj c64p_Hwi_asm.obj c64p_Hwi_asm_switch.obj c64p_Hwi_disp_always.obj ti_tls_get_tp.obj c62_TaskSupport_asm.obj ...
    gmake[1]: Leaving directory `C:/ti/ccs_folder/mmw_dss_16xx/src/sysbios'
    Build of libraries done.
    cle674 package/cfg/dss_mmw_pe674.c ...
    'Finished building: ../dss_mmw.cfg'
    ' '
    'Building file: ../dss_config_edma_util.c'
    'Invoking: C6000 Compiler'
    "C:/software/ccs_setup_7.3.0.00019/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="C:/ti/ccs_folder/mmw_dss_16xx" --include_path="C:/ti/mmwave_sdk_01_01_00_02/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:/software/ccs_setup_7.3.0.00019/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --diag_wrap=off --diag_warning=225 --display_error_number --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: ../gen_twiddle_fft16x16.c'
    'Invoking: C6000 Compiler'
    "C:/software/ccs_setup_7.3.0.00019/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="C:/ti/ccs_folder/mmw_dss_16xx" --include_path="C:/ti/mmwave_sdk_01_01_00_02/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:/software/ccs_setup_7.3.0.00019/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --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: ../gen_twiddle_fft32x32.c'
    'Invoking: C6000 Compiler'
    "C:/software/ccs_setup_7.3.0.00019/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="C:/ti/ccs_folder/mmw_dss_16xx" --include_path="C:/ti/mmwave_sdk_01_01_00_02/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:/software/ccs_setup_7.3.0.00019/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --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: ../rx_ch_bias_measure.c'
    'Invoking: C6000 Compiler'
    "C:/software/ccs_setup_7.3.0.00019/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="C:/ti/ccs_folder/mmw_dss_16xx" --include_path="C:/ti/mmwave_sdk_01_01_00_02/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:/software/ccs_setup_7.3.0.00019/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="rx_ch_bias_measure.d_raw" --cmd_file="configPkg/compiler.opt" "../rx_ch_bias_measure.c"
    'Finished building: ../rx_ch_bias_measure.c'
    ' '
    'Building file: ../dss_main.c'
    'Invoking: C6000 Compiler'
    "C:/software/ccs_setup_7.3.0.00019/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="C:/ti/ccs_folder/mmw_dss_16xx" --include_path="C:/ti/mmwave_sdk_01_01_00_02/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:/software/ccs_setup_7.3.0.00019/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --diag_wrap=off --diag_warning=225 --display_error_number --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: ../dss_data_path.c'
    'Invoking: C6000 Compiler'
    "C:/software/ccs_setup_7.3.0.00019/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/bin/cl6x" -mv6740 --abi=eabi -O3 -ms0 --include_path="C:/ti/ccs_folder/mmw_dss_16xx" --include_path="C:/ti/mmwave_sdk_01_01_00_02/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:/software/ccs_setup_7.3.0.00019/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --diag_wrap=off --diag_warning=225 --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"
    'Finished building: ../dss_data_path.c'
    ' '
    'Building target: xwr16xx_mmw_dss.xe674'
    'Invoking: C6000 Linker'
    "C:/software/ccs_setup_7.3.0.00019/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/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 --diag_warning=225 --display_error_number --gen_func_subsections=on --obj_extension=.oe674 -z -m"xwr16xx_mmw_dss.map" --stack_size=0x800 --heap_size=0x800 -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/control/mmwave/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/control/mmwavelink/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/crc/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/mailbox/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/osal/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/soc/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/uart/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/edma/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/packages/ti/drivers/adcbuf/lib" -i"C:/ti/mmwave_sdk_01_01_00_02/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:/software/ccs_setup_7.3.0.00019/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/lib" -i"C:/software/ccs_setup_7.3.0.00019/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/include" --reread_libs --disable_auto_rts --diag_warning=225 --diag_wrap=off --warn_sections --display_error_number --xml_link_info="xwr16xx_mmw_dss_linkInfo.xml" --ram_model --unused_section_elimination=on -o "xwr16xx_mmw_dss.xe674" "./dss_config_edma_util.oe674" "./dss_data_path.oe674" "./dss_main.oe674" "./gen_twiddle_fft16x16.oe674" "./gen_twiddle_fft32x32.oe674" "./rx_ch_bias_measure.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 -lmathlib.ae674 -ldsplib.ae64P -llibedma_xwr16xx.ae674 -llibadcbuf_xwr16xx.ae674 -llibmmwavealg_xwr16xx.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 0xe01b20, 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 0xe029f4, 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 0x200035a4, 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 0x200034a0, 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_mmw_dss.xe674'
    ' '
    C:/ti/mmwave_sdk_01_01_00_02/packages/scripts/ImageCreator/xwr16xx/out2rprc/out2rprc.exe xwr16xx_mmw_dss.xe674 xwr16xx_mmw_dss.bin
    Parsing the input object file, xwr16xx_mmw_dss.xe674.
    Appending zeros 8458616
    Appending zeros 8468072
    File conversion complete!
    ' '

    **** Build Finished ****

    现在我也出现上面的问题,也检查了4.5的步骤 (打开bat文件,核对安装信息,又在dos运行了一下)

    请问上面的问题得到解决了吗?

  • "C:\\software\\ccs_setup_7.3.0.00019\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O
    rm -f C:/ti/ccs_folder/mmw_dss_16xx/xwr16xx_mmw_dss.bin
    makefile:189: recipe for target 'pre-build' failed
    process_begin: CreateProcess(NULL, rm -f C:/ti/ccs_folder/mmw_dss_16xx/xwr16xx_mmw_dss.bin, ...) failed.
    make (e=2): 系统找不到指定的文件。

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

    请问这些错误对编译.bin文件有影响么,我跑resource explorer里面的mmwave demo并不能在GUI中显示
  • 你好,

    process_begin: CreateProcess(NULL, rm -f C:/ti/ccs_folder/mmw_dss_16xx/xwr16xx_mmw_dss.bin, ...) failed.
    make (e=2): 系统找不到指定的文件。

    这个不影响的,不能在GUI显示指的是?有没有按照user‘s guide 的步骤加载MSS/DSS的固件?设置好对应的串口?

    谢谢

  • 你好,
    你的编译结果没有问题,前面的pre build failed可以忽略,你可以对照resource explorer 里面的每个例程的指导文件,例如mmw_16xx_user—_guide.pdf详细目录为resource explorer/Softwave/mmwave sensors/labs/mmwave SDK Demo
  • 你好,
    以上即为全部的编译信息,我在实验室的win7系统上按照正确步骤安装的ccs的确无法通过编译,大概是系统哪里出现问题了,然后我在我的win10笔记本上按照相同步骤安装了ccs,可以通过编译,一开始我以为是win7缺少的Windows6.1-KB2999226-x64与Windows6.1-KB3033929-x64 (1)补丁问题,但后来发现在安装时已经检查过了,并没有问题,所以一直不明白哪里的问题,但是我现在选择用笔记本开发awr1642。虽然速度有点慢。。。。
    谢谢!
  • 你好,

    很高兴能够听到你的反馈。

    WIN7是可以被支持的,可能是应用程序或者系统本身的安装的问题。

    如果有其他问题,请随时提出。

    谢谢。

  • 我也遇到了类似的问题,想请教一下,

    我的dds重建以后会出现一些警告

    警告的内容是

    Description Resource Path Location Type
    #10068-D no matching section dss_mmw_linker.cmd /pplcount_16xx_dss line 40 C/C++ Problem

    Description Resource Path Location Type
    #10068-D no matching section dss_mmw_linker.cmd /pplcount_16xx_dss line 55 C/C++ Problem

    Description Resource Path Location Type
    #10370-D null: 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. pplcount_16xx_dss C/C++ Problem

    Description Resource Path Location Type
    #10370-D null: 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. pplcount_16xx_dss C/C++ Problem

    Description Resource Path Location Type
    #10370-D null: 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. pplcount_16xx_dss C/C++ Problem

    Description Resource Path Location Type
    #10370-D null: 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. pplcount_16xx_dss C/C++ Problem

    .fastCode:
    {
    -ldsplib.lib (.text:DSPF_sp_fftSPxSP)                                                                                        44行
    -ldsplib.ae64P (.text:psa)
    RADARDEMO_rangeProc_priv.oe674(.text:RADARDEMO_rangeProcWin1D1AntFxdpPartial)
    RADARDEMO_rangeProc.oe674(.text:RADARDEMO_rangeProc_run)
    RADARDEMO_detectionCFAR_priv.oe674(.text:RADARDEMO_detectionCFAR_raCAAll)
    RADARDEMO_aoaEstCaponBF_matrixInv.oe674 (.text:MATRIX_single8x8MatInv)
    //RADARDEMO_aoaEstCaponBF_DopplerEst.oe674 (.text:RADARDEMO_aoaEstCaponBF_dopperEstInput)
    RADARDEMO_aoaEstCaponBF_heatmapEst.oe674 (.text:RADARDEMO_aoaEstCaponBF_heatmap)
    RADARDEMO_aoaEstCaponBF_heatmapEst.oe674 (.text:RADARDEMO_aoaEstCaponBF_covInv)
    RADARDEMO_aoaEstCaponBF_matrixInv.oe674 (.text:MATRIX_4x4_BWInversionfp)
    RADARDEMO_aoaEstCaponBF.oe674 (.text:RADARDEMO_aoaEstCaponBF_run)
    RADARDEMO_aoaEstCaponBF_matrixInv.oe674 (.text:MATRIX_Mult4x4fp)
    RADARDEMO_detectionCFAR.oe674 (.text:RADARDEMO_detectionCFAR_run)
    radarProcess.oe674(.text:radarRangeProcessRun)
    radarProcess.oe674(.text:radarRangeAzimuthProcessRun)
    dss_main.oe674 (.text:MmwDemo_dssDataPathProcessEvents)                             55行

    辛苦了~

    如果这些警告没有关系,我想问一下

    为什么使用matlab执行的时候总是会报错提示超时

  • win7x 系统,可以cmd 执行C:/ti/mmwave_sdk_02_00_00_04/packages/scripts/ImageCreator/xwr16xx/out2rprc/out2rprc.exe 看下是否缺了Microsoft .NET版本: 4.0.30319.1。我的已经解决了
  • 这个问题解决了吗?这个警告会影响bin文件的形成吗?我现在出现这个警告后下载到开发板里发先在GUI界面里程序不运行了。