AWR1642开发板DSP代码编译错误

AWR1642开发板DSP代码编译错误

此问题尚无答案
All Replies
  • 秀才71分

    **** 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 ****

    以上错误怎么解决

  • 秀才550分

    你好,

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

    '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

  • 秀才71分

    你好;

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

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

  • 秀才550分

    生成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节开始。

  • 秀才71分

    你好;

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

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

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

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

  • 秀才550分

    你好,

    我建议你先导入这个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对比一下。

    3487.SDK_Build_Console.txt