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:

Part Number: IWR6843ISK-ODS

Tool/software:

/*
//###########################################################################
// 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;


Hi ,

I am working on IWR6843ISK-ODS , whenever I am trying to build the project I am getting error message ,(I have mention comment as " //error for memory space").

Please provide the solution for error message .

  • Hello, 

    Can you please share the error message you are seeing? You can copy the build log from the console and post it here. Please also let me know which SDK version you are using and which example project you have based your project off of. 

    Best Regards,

    Josh 


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

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

    Building target: "out_of_box_6843_ods.xer4f"
    Invoking: Arm Linker
    "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_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=DebugP_LOG_ENABLED --define=USE_2D_AOA_DPU --define=XWR68XX_ODS_ANTENNA_PATTERN --define=ODS --define=APP_RESOURCE_FILE='<'ti/demo/xwr64xx/mmw/mmw_res.h'>' -g --diag_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" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ti-cgt-arm_16.9.6.LTS/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/control/mmwave/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/control/mmwavelink/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/control/dpm/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/adcbuf/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/crc/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/dma/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/edma/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/esm/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/gpio/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/hwa/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/mailbox/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/osal/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/pinmux/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/soc/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/uart/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/utils/cli/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/utils/mathutils/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/datapath/dpu/rangeproc/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/datapath/dpc/dpu/dopplerproc/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/datapath/dpc/dpu/cfarcaproc/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/datapath/dpc/dpu/aoa2dproc/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/datapath/dpc/dpu/staticclutterproc/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/datapath/dpedma/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/cbuff/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/utils/hsiheader/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/qspi/lib" -i"C:/ti/mmwave_sdk_03_06_02_00-LTS/packages/ti/drivers/qspiflash/lib" -i"C:/ti/ti-cgt-arm_16.9.6.LTS/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="xwr64xxODS_mmw_mss_linkInfo.xml" --rom_model --unused_section_elimination=on -o "out_of_box_6843_ods.xer4f" "./antenna_geometry.oer4f" "./data_path.oer4f" "./main.oer4f" "./mmw_cli.oer4f" "./mmw_lvds_stream.oer4f" "./mmwdemo_adcconfig.oer4f" "./mmwdemo_flash.oer4f" "./mmwdemo_monitor.oer4f" "./mmwdemo_rfparser.oer4f" "./objectdetection.oer4f" "../28M35E20B1_RAM_lnk_m3.cmd" "../r4f_linker.cmd" -l"configPkg/linker.cmd" -llibosal_xwr68xx.aer4f -llibesm_xwr68xx.aer4f -llibgpio_xwr68xx.aer4f -llibsoc_xwr68xx.aer4f -llibpinmux_xwr68xx.aer4f -llibcrc_xwr68xx.aer4f -llibuart_xwr68xx.aer4f -llibmailbox_xwr68xx.aer4f -llibmmwavelink_xwr68xx.aer4f -llibmmwave_xwr68xx.aer4f -llibadcbuf_xwr68xx.aer4f -llibdma_xwr68xx.aer4f -llibedma_xwr68xx.aer4f -llibcli_xwr68xx.aer4f -llibhwa_xwr68xx.aer4f -llibdpm_xwr68xx.aer4f -llibmathutils.aer4f -llibcbuff_xwr68xx.aer4f -llibhsiheader_xwr68xx.aer4f -llibrangeproc_hwa_xwr68xx.aer4f -llibdopplerproc_hwa_xwr68xx.aer4f -llibcfarcaproc_hwa_xwr68xx.aer4f -llibaoa2dproc_hwa_xwr68xx.aer4f -llibstaticclutterproc_xwr68xx.aer4f -llibdpedma_hwa_xwr68xx.aer4f -llibqspi_xwr68xx.aer4f -llibqspiflash_xwr68xx.aer4f -lrtsv7R4_T_le_v3D16_eabi.lib -llibc.a
    <Linking>
    warning #10247-D: creating output section ".l3ram" without a SECTIONS specification
    warning #10247-D: creating output section ".DPC_objDetTcmbHeap" without a SECTIONS specification
    warning #10247-D: creating output section "systemHeap" without a SECTIONS specification
    "../28M35E20B1_RAM_lnk_m3.cmd", line 51: error #10099-D: program will not fit into available memory. placement with alignment fails for section ".text" size 0x2603f . Available memory ranges:
    C0 size: 0x2000 unused: 0x2000 max hole: 0x2000
    "../28M35E20B1_RAM_lnk_m3.cmd", line 58: error #10099-D: program will not fit into available memory. run placement with alignment fails for section ".bss" size 0x3a48 . Available memory ranges:
    C1 size: 0x2000 unused: 0x1b50 max hole: 0x1b50
    "../28M35E20B1_RAM_lnk_m3.cmd", line 57: error #10099-D: program will not fit into available memory. run placement with alignment fails for section ".data" size 0x200c . Available memory ranges:
    C1 size: 0x2000 unused: 0x1b50 max hole: 0x1b50
    "../28M35E20B1_RAM_lnk_m3.cmd", line 52: error #10099-D: program will not fit into available memory. placement with alignment fails for section ".const" size 0x11a4 . Available memory ranges:
    C2 size: 0xe50 unused: 0xe50 max hole: 0xe50
    error #10010: errors encountered during linking; "out_of_box_6843_ods.xer4f" not built

    >> Compilation failure
    makefile:173: recipe for target 'out_of_box_6843_ods.xer4f' failed
    gmake[1]: *** [out_of_box_6843_ods.xer4f] Error 1
    makefile:169: recipe for target 'all' failed
    gmake: *** [all] Error 2

    **** Build Finished ****

    /***********************************/

    I am using example project is --

    out_of_box_6843_ods

    SDK version ---

    mmwave_sdk_03_06_02_00-LTS 

  • Hi, 

    Thank you.

    I'm not familiar with the linker.cmd file you are using. Can you share the purpose of the modification?

    Best Regards,

    Josh