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.

IWR1843BOOST: outbox添加卡尔曼跟踪算法

Part Number: IWR1843BOOST
Other Parts Discussed in Thread: MATHLIB, SYSBIOS

在outbox工程中添加卡尔曼跟踪算法时,出现错误

Description Resource Path Location Type
#10010 errors encountered during linking; "xwr18xx_mmw_demo_dss_isk.xe674" not built mmwave_sdk_18xx_dss C/C++ Problem

并且这个错误有时候又没有出现,具体原因是什么

  • 能发一下整个编译信息吗?添加代码前是可以编译的是吗?

  • 添加代码之前是可以编译的


    **** Clean-only build of configuration isk for project mmwave_sdk_18xx_dss ****

    "C:\\ti\\ccs1120\\ccs\\utils\\bin\\gmake" -k -j 12 clean -O

    DEL /F "xwr18xx_mmw_demo_dss_isk.hex" "configPkg\linker.cmd" "configPkg\compiler.opt" "xwr18xx_mmw_demo_dss_isk.xe674"
    DEL /F "Extended_Kalman_Filter_xyz.oe674" "data_path.oe674" "dss_main.oe674" "objectdetection.oe674"
    DEL /F "Extended_Kalman_Filter_xyz.d" "data_path.d" "dss_main.d" "objectdetection.d"
    RMDIR /S/Q "configPkg\"
    找不到 C:\Users\zjx\Desktop\1843outbox\mmwave_sdk_18xx_dss\isk\xwr18xx_mmw_demo_dss_isk.hex
    找不到 C:\Users\zjx\Desktop\1843outbox\mmwave_sdk_18xx_dss\isk\xwr18xx_mmw_demo_dss_isk.xe674
    Finished clean

    **** Build Finished ****

    **** Build of configuration isk for project mmwave_sdk_18xx_dss ****

    "C:\\ti\\ccs1120\\ccs\\utils\\bin\\gmake" -k -j 12 all -O

    Building file: "../mmw_dss.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_50_08_24_core/xs" --xdcpath="C:/ti/bios_6_73_01_01/packages;C:/ti/mathlib_c674x_3_1_2_1/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C674 -p ti.platforms.c6x:IWR18XX:false:600 -r release -c "C:/ti/ti-cgt-c6000_8.3.3" --compileOptions "--enum_type=int " "../mmw_dss.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring mmw_dss.xe674 from package/cfg/mmw_dss_pe674.cfg ...
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    making C:/Users/zjx/Desktop/1843outbox/mmwave_sdk_18xx_dss/src/sysbios/sysbios.ae674 ...
    gmake[1]: Entering directory `C:/Users/zjx/Desktop/1843outbox/mmwave_sdk_18xx_dss/src/sysbios'
    gmake[1]: Nothing to be done for `all'.
    gmake[1]: Leaving directory `C:/Users/zjx/Desktop/1843outbox/mmwave_sdk_18xx_dss/src/sysbios'
    Build of libraries done.
    cle674 package/cfg/mmw_dss_pe674.c ...
    Finished building: "../mmw_dss.cfg"

    Building file: "../data_path.c"
    Invoking: C6000 Compiler
    "C:/ti/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --opt_for_speed=3 --include_path="C:/Users/zjx/Desktop/1843outbox/mmwave_sdk_18xx_dss" --include_path="C:/ti/mmwave_sdk_03_05_00_04/packages" --include_path="C:/ti/mmwave_sdk_03_05_00_04/packages/ti/demo/xwr18xx/mmw" --include_path="C:/ti/mmwave_sdk_03_05_00_04/packages/ti/demo/utils" --include_path="C:/ti/ti-cgt-c6000_8.3.3/include" --define=SOC_XWR18XX --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 --define=OBJDET_NO_RANGE --define=APP_RESOURCE_FILE='<'ti/demo/xwr18xx/mmw/mmw_res.h'>' -g --gcc --diag_error=10015 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="data_path.d_raw" --cmd_file="configPkg/compiler.opt" "../data_path.c"
    Finished building: "../data_path.c"

    Building file: "../dss_main.c"
    Invoking: C6000 Compiler
    "C:/ti/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --opt_for_speed=3 --include_path="C:/Users/zjx/Desktop/1843outbox/mmwave_sdk_18xx_dss" --include_path="C:/ti/mmwave_sdk_03_05_00_04/packages" --include_path="C:/ti/mmwave_sdk_03_05_00_04/packages/ti/demo/xwr18xx/mmw" --include_path="C:/ti/mmwave_sdk_03_05_00_04/packages/ti/demo/utils" --include_path="C:/ti/ti-cgt-c6000_8.3.3/include" --define=SOC_XWR18XX --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 --define=OBJDET_NO_RANGE --define=APP_RESOURCE_FILE='<'ti/demo/xwr18xx/mmw/mmw_res.h'>' -g --gcc --diag_error=10015 --diag_warning=225 --diag_wrap=off --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: "../Extended_Kalman_Filter_xyz.c"
    Invoking: C6000 Compiler
    "C:/ti/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --opt_for_speed=3 --include_path="C:/Users/zjx/Desktop/1843outbox/mmwave_sdk_18xx_dss" --include_path="C:/ti/mmwave_sdk_03_05_00_04/packages" --include_path="C:/ti/mmwave_sdk_03_05_00_04/packages/ti/demo/xwr18xx/mmw" --include_path="C:/ti/mmwave_sdk_03_05_00_04/packages/ti/demo/utils" --include_path="C:/ti/ti-cgt-c6000_8.3.3/include" --define=SOC_XWR18XX --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 --define=OBJDET_NO_RANGE --define=APP_RESOURCE_FILE='<'ti/demo/xwr18xx/mmw/mmw_res.h'>' -g --gcc --diag_error=10015 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="Extended_Kalman_Filter_xyz.d_raw" --cmd_file="configPkg/compiler.opt" "../Extended_Kalman_Filter_xyz.c"
    "C:/ti/mathlib_c674x_3_1_2_1/packages/ti/mathlib/src/common/common.h", line 55: warning #48-D: incompatible redefinition of macro "TRUE" (declared at line 323 of "C:/ti/xdctools_3_50_08_24_core/packages/xdc/std.h")
    "C:/ti/mathlib_c674x_3_1_2_1/packages/ti/mathlib/src/common/common.h", line 56: warning #48-D: incompatible redefinition of macro "FALSE" (declared at line 320 of "C:/ti/xdctools_3_50_08_24_core/packages/xdc/std.h")
    Finished building: "../Extended_Kalman_Filter_xyz.c"

    Building file: "../objectdetection.c"
    Invoking: C6000 Compiler
    "C:/ti/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --opt_for_speed=3 --include_path="C:/Users/zjx/Desktop/1843outbox/mmwave_sdk_18xx_dss" --include_path="C:/ti/mmwave_sdk_03_05_00_04/packages" --include_path="C:/ti/mmwave_sdk_03_05_00_04/packages/ti/demo/xwr18xx/mmw" --include_path="C:/ti/mmwave_sdk_03_05_00_04/packages/ti/demo/utils" --include_path="C:/ti/ti-cgt-c6000_8.3.3/include" --define=SOC_XWR18XX --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 --define=OBJDET_NO_RANGE --define=APP_RESOURCE_FILE='<'ti/demo/xwr18xx/mmw/mmw_res.h'>' -g --gcc --diag_error=10015 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="objectdetection.d_raw" --cmd_file="configPkg/compiler.opt" "../objectdetection.c"
    "../objectdetection.c", line 979: warning #551-D: variable "obj" is used before its value is set
    "../objectdetection.c", line 979: warning #169-D: argument of type "DPIF_PointCloudCartesian *" is incompatible with parameter of type "DPIF_PointCloudCartesianio *"
    Finished building: "../objectdetection.c"

    Building target: "xwr18xx_mmw_demo_dss_isk.xe674"
    Invoking: C6000 Linker
    "C:/ti/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --opt_for_speed=3 --define=SOC_XWR18XX --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 --define=OBJDET_NO_RANGE --define=APP_RESOURCE_FILE='<'ti/demo/xwr18xx/mmw/mmw_res.h'>' -g --gcc --diag_error=10015 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --obj_extension=.oe674 -z -m"xwr18xx_mmw_demo_dss_isk.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ti-cgt-c6000_8.3.3/lib" -i"C:/Users/zjx/Desktop/1843outbox/mmwave_sdk_18xx_dss" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/control/mmwave/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/control/mmwavelink/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/control/dpm/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/alg/mmwavelib/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/drivers/crc/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/drivers/soc/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/drivers/osal/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/drivers/mailbox/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/drivers/edma/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/drivers/adcbuf/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/drivers/cbuff/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/drivers/hwa/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/utils/hsiheader/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/utils/mathutils/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/datapath/dpc/dpu/dopplerproc/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/datapath/dpc/dpu/cfarcaproc/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/datapath/dpc/dpu/staticclutterproc/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/datapath/dpu/rangeproc/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/datapath/dpedma/lib" -i"C:/ti/mathlib_c674x_3_1_2_1/packages/ti/mathlib/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/datapath/dpc/dpu/aoaproc/lib" -i"C:/ti/ti-cgt-c6000_8.3.3/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="xwr18xx_mmw_demo_dss_linkInfo.xml" --ram_model --unused_section_elimination=on -o "xwr18xx_mmw_demo_dss_isk.xe674" "./Extended_Kalman_Filter_xyz.oe674" "./data_path.oe674" "./dss_main.oe674" "./objectdetection.oe674" "../c674x_linker.cmd" "../mmw_dss_linker.cmd" -l"configPkg/linker.cmd" -lmathlib.ae674 -llibmathutils.ae674 -llibsoc_xwr18xx.ae674 -llibosal_xwr18xx.ae674 -llibcrc_xwr18xx.ae674 -llibmailbox_xwr18xx.ae674 -llibmmwavelink_xwr18xx.ae674 -llibmmwave_xwr18xx.ae674 -llibedma_xwr18xx.ae674 -llibadcbuf_xwr18xx.ae674 -llibmmwavealg_xwr18xx.ae674 -llibcbuff_xwr18xx.ae674 -llibhsiheader_xwr18xx.ae674 -llibcfarcaproc_hwa_xwr18xx.ae674 -llibdopplerproc_hwa_xwr18xx.ae674 -llibdpm_xwr18xx.ae674 -llibdpedma_hwa_xwr18xx.ae674 -llibhwa_xwr18xx.ae674 -llibrangeproc_hwa_xwr18xx.ae674 -llibstaticclutterproc_xwr18xx.ae674 -lrts6740_elf.lib -llibaoaproc_hwa_xwr18xx.ae674 -llibc.a
    <Linking>
    "../c674x_linker.cmd", line 86: error #10099-D: program will not fit into available memory. placement with alignment fails for section ".switch" size 0xd4 . Available memory ranges:
    L2SRAM_UMAP0 size: 0x20000 unused: 0x21 max hole: 0x4
    L2SRAM_UMAP1 size: 0x20000 unused: 0x0 max hole: 0x0
    "../c674x_linker.cmd", line 92: error #10099-D: program will not fit into available memory. placement with alignment fails for section ".neardata" size 0xc . Available memory ranges:
    L2SRAM_UMAP0 size: 0x20000 unused: 0x21 max hole: 0x4
    L2SRAM_UMAP1 size: 0x20000 unused: 0x0 max hole: 0x0
    warning #10281-D: Section ".bss" requires a STATIC_BASE relative relocation, but is located at 0x0081c414, which is probably out of range of the STATIC_BASE. STATIC_BASE is located at 0x00000000. Might be required to correct placement of ".bss" so it lies within 0x8000 of the STATIC_BASE.
    warning #10281-D: Section ".bss" requires a STATIC_BASE relative relocation, but is located at 0x0081c414, which is probably out of range of the STATIC_BASE. STATIC_BASE is located at 0x00000000. Might be required to correct placement of ".bss" so it lies within 0x8000 of the STATIC_BASE.
    error #10010: errors encountered during linking; "xwr18xx_mmw_demo_dss_isk.xe674" not built

    >> Compilation failure
    makefile:167: recipe for target 'xwr18xx_mmw_demo_dss_isk.xe674' failed
    gmake[1]: *** [xwr18xx_mmw_demo_dss_isk.xe674] Error 1
    makefile:163: recipe for target 'all' failed
    gmake: *** [all] Error 2

    **** Build Finished ****

  • error #10099-D: program will not fit into available memory.

    从报错信息看,添加代码后,cmd文件里分配的段大小不够了,请尝试根据map文件调整一下各个段的大小。