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.

[参考译文] IWR6843ISK-ODS:IWR6843ISK-ODS:

Guru**** 1626620 points
Other Parts Discussed in Thread: IWR6843ISK-ODS
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/1378101/iwr6843isk-ods-iwr6843isk-ods

器件型号:IWR6843ISK-ODS

工具与软件:

/*
//###########################################################################
// FILE:    28M35E20B1_RAM_lnk_m3.cmd
// TITLE:   Linker Command File for 28M35E20B1 examples that run out of RAM
//          This ONLY includes all SARAM blocks on the 28M35E20B1 device.
//          This does not include flash or OTP.
//          Keep in mind that C0 and C1 are protected by the code
//          security module.
//          What this means is in most cases you will want to move to
//          another memory map file which has more memory defined.
//###########################################################################
// $TI Release: 28M35x Driver Library vAlpha1 $
// $Release Date: July 11, 2011 $
//###########################################################################
*/

--retain=g_pfnVectors

/* The following command line options are set as part of the CCS project.    */
/* If you are building using the command line, or for some reason want to    */
/* define them here, you can uncomment and modify these lines as needed.     */
/* If you are using CCS for building, it is probably better to make any such */
/* modifications in your CCS project and leave this file alone.              */
/*                                                                           */
/* --heap_size=0                                                             */
/* --stack_size=256                                                          */
/* --library=rtsv7M3_T_le_eabi.lib                                           */


/* System memory map */

MEMORY
{
    C0 (RWX)         : origin = 0x20000000, length = 0x2000
    C1 (RWX)         : origin = 0x20002000, length = 0x2000
    BOOT_RSVD (RX)   : origin = 0x20004000, length = 0x0FF8
    RESETISR (RWX)   : origin = 0x20004FF8, length = 0x0008
    INTVECS (RWX)    : origin = 0x20005000, length = 0x01B0
    C2 (RWX)         : origin = 0x200051B0, length = 0x0E50
    C3 (RWX)         : origin = 0x20006000, length = 0x2000
    CTOMRAM (RX)     : origin = 0x2007F000, length = 0x0800
    MTOCRAM (RWX)    : origin = 0x2007F800, length = 0x0800
}

/* Section allocation in memory */

SECTIONS
{
    .intvecs:   > INTVECS
    .resetisr:  > RESETISR
  	 .text   :   > C0   //error for memory space
  	 .const  :   > C2  //error for memory space
    .cinit  :   > C2
    .pinit  :   > C2

    .vtable :   > C1
    .data   :   > C1  //error for memory space
  	 .bss    :   > C1  //error for memory space
    .sysmem :   > C1
    .stack  :   > C1
    
    GROUP : > MTOCRAM
    {
        PUTBUFFER  
        PUTWRITEIDX
        GETREADIDX  
    }

    GROUP : > CTOMRAM 
    {
        GETBUFFER : TYPE = DSECT
        GETWRITEIDX : TYPE = DSECT
        PUTREADIDX : TYPE = DSECT
    }    
}

__STACK_TOP = __stack + 256;


您好!

我正在 IWR6843ISK-ODS 上工作,每当我尝试构建项目时,我都会收到错误消息,(我提到评论为" //错误的内存空间")。

请提供错误消息的解决方案。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!  

    您能否分享您看到的错误消息? 您可以从控制台复制构建日志并将其发布在此处。 另外、请告诉我您使用的是哪个 SDK 版本以及您基于哪个示例项目创建的项目。  

    此致、

    Josh  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。


    ****为项目 out_of_box_6843_ODS****构建配置调试

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

    构建目标:"out_of_box_6843_ODS.xer4f"
    调用:ARM 链接器
    "c:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl -mv7R4 --code_state=16 --float_support=VFPv3D16 -ME -O3 --define=SOC_XWR68XX --define=Subsys_MSS --define=download_from_CCS --define=mmWave_L3RAM_NUM_BANK=6 --define=mmWave_SHM_BANK <'ti/demo/xwr64xx/mmw/mmw_res.h'>/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/control/mmwave/lib /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/adcbuf/lib /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/edma/lib /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/hwa/lib /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/pinmux/lib /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/utils/cli/lib /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/datapath/dpc/dpu/dopplerproc/lib -i_warning=225 - diag_wrap=off -- display_error_number - gen_func_subsections=on --enum_type=int --abi=eabi - obj_extension=.oer4f -z -m"out_of_box_6843_ODS.map"-/ti/ti-cgt-arm_16.9.6.LTS/lib /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/control/mmwavelink/lib /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/control/dpm/lib /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/crc/lib /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/dma/lib /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/esm/lib /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/gpio/lib /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/mailbox/lib /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/osal/lib /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers soc /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/uart/lib /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/utils/mathutils/lib /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/datapath/dpu/rangeproc/lib /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/datapath/dpc/dpu/cfarcaproc/lib /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/datapath/dpc/dpu/aoa2dproc/lib /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/datapath/dpc/dpu/staticclutterproc/lib /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/datapath/dpedma/lib /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/cbuff/lib /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/utils/hsiheader/lib /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/qspi/lib /ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/qspiflash/lib /ti/ti-cgt-arm_16.9.6.LTS/include - unused_section_elimination=on -o "out_of_box_6843_ods.xer4f"./antenna_geometry.oer4f"./data_path.oer4f"./main.oer4f"./main.oer4f".lib_crypx_cron.cron_4f"./mw4xx.dl_reli_reli_reloadmw_4f".ml_park.ml_relaxf"/ml_relipruer4f_reli_4f_reloadmwmw_4f"

    警告#10247-D:创建不带段规范的输出段".l3ram"
    警告#10247-D:正在创建输出段"。 DPC_objDetTcmbHeap"(未使用 SECTIONS 规范)
    警告#10247-D:正在创建不带 SECTIONS 规范的输出段"systemHeap"
    "../28M35E20B1_RAM_lnk_m3.cmd"、第51行:错误#10099-D:程序无法装入可用内存。 段".text"大小0x2603f 的对齐放置失败。 可用存储器范围:
    C0大小:0x2000未使用:0x2000最大空洞:0x2000
    "../28M35E20B1_RAM_lnk_m3.cmd"、第58行:错误#10099-D:程序无法装入可用内存。 对段".bss"大小0x3a48运行对齐放置失败。 可用存储器范围:
    C1大小:0x2000未使用:0x1b50最大空洞:0x1b50
    "../28M35E20B1_RAM_lnk_m3.cmd"、第57行:错误#10099-D:程序无法装入可用内存。 针对段".data"大小0x200c 运行带对齐的放置失败。 可用存储器范围:
    C1大小:0x2000未使用:0x1b50最大空洞:0x1b50
    "../28M35E20B1_RAM_lnk_m3.cmd"、第52行:错误#10099-D:程序无法装入可用内存。 段".const"大小0x11a4的对齐放置失败。 可用存储器范围:
    C2大小:0xe50未使用:0xe50最大空洞:0xe50
    错误#10010:链接过程中遇到错误;未构建"out_of_box_6843_ODS.xer4f"

    >>编译失败
    Makefile:173:目标"out_of_box_6843_ODS.xer4f"的配方失败
    gmake[1]:***[OUT_OF_BOX_6843_ODS.xer4f]错误1.
    Makefile:169:目标"全部"的配方失败
    gmake:***[All]错误2.

    ****构建完成****

    /***** /

    我正在使用的示例项目是--

    out_of_box_6843_ODS

    SDK 版本--

    MMWAVE_SDK_03_06_02_00-LTS  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!  

    谢谢你。

    我不熟悉您使用的 linker.cmd 文件。 您能否分享修改的目的?

    此致、

    Josh