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.

IWR1642BOOST: Traffic Monitoring Object Detection and Tracking Reference Design Compilation Error

Part Number: IWR1642BOOST
Other Parts Discussed in Thread: TIDEP-0090

I followed the instructions in the TIDEP-0090  software getting started and when I ran the "gmake all" command I got the following linker error: 

<Linking>
"dss/dss_mmw_linker.cmd", line 49: warning #10068-D: no matching section
"dss/dss_mmw_linker.cmd", line 38: error #10099-D: program will not fit into available memory. run placement with alignment fails for section ".fastCode" size 0x7000 . Available memory ranges:
L1PSRAM size: 0x4000 unused: 0x4000 max hole: 0x4000
"C:/ti/mmwave_sdk_01_00_00_05/packages/ti/platform/xwr16xx/c674x_linker.cmd", line 91: error #10099-D: program will not fit into available memory. run placement with alignment fails for section ".stack" size 0x1000 . Available memory ranges:
L2SRAM_UMAP0 size: 0x20000 unused: 0xbd6 max hole: 0xbc4
L2SRAM_UMAP1 size: 0x20000 unused: 0x0 max hole: 0x0
error #10010: errors encountered during linking; "xwr16xx_mmw_demo_dss.xe674" not built

>> Compilation failure
gmake: *** [dssDemo] Error 1

Can someone please help!!

  • Hello Leslie,

    Looks like the cmd file in SDK specifies the size which is not enough for the TI-Demo that you have downloaded.

    The installation folder for TIDEP-0090 has a getting started guide which talks about changes to cmd file and that might be of help here.

    File : tmdemo_gsg.pdf.  Page 9,  "Build Demo" Mentions the following:

    Go to mmwave_sdk_01_00_00_0x/packages/ti/platform/xwr16xx directory, change line 33 of c674x_linker.cmd from
    –#define L1P_CACHE_SIZE (16*1024)
    –To
    –#define L1P_CACHE_SIZE (4*1024)

    Please check the above file at following path under installation folder:

    mmwave_demo_dev\radarDemo\chains\RadarReceiverEDMA_mmwSDK\mmw_TMDemo\BuildInstructions

    Typically the full path would be : C:\tmdemo\mmwave_demo_dev\radarDemo\chains\RadarReceiverEDMA_mmwSDK\mmw_TMDemo\BuildInstructions

    Thank you,

    Vaibhav

  • Thanks

    For some reason I didn't see that instruction.
    I didnt even read it, thought it was under For Linux environment heading.

    Regards
  • Hie Vaibhav

    Made the changes and also ran gmake clean. I also deleted the obj files as well to do a clean compile but I still have the error


    <Linking>
    "dss/dss_mmw_linker.cmd", line 49: warning #10068-D: no matching section
    "dss/dss_mmw_linker.cmd", line 38: error #10099-D: program will not fit into available memory. run placement with alignment fails for section ".fastCode" size 0x7000 . Available memory ranges:
    L1PSRAM size: 0x7000 unused: 0x7000 max hole: 0x7000
    "C:/ti/mmwave_sdk_01_00_00_05/packages/ti/platform/xwr16xx/c674x_linker.cmd", line 92: error #10099-D: program will not fit into available memory. run placement with alignment fails for section ".stack" size 0x1000 . Available memory ranges:
    L2SRAM_UMAP0 size: 0x20000 unused: 0xbd6 max hole: 0xbc4
    L2SRAM_UMAP1 size: 0x20000 unused: 0x0 max hole: 0x0
    error #10010: errors encountered during linking; "xwr16xx_mmw_demo_dss.xe674" not built

    >> Compilation failure
    gmake: *** [dssDemo] Error 1

    Regards
  • Hie Vaibhav

    It also seems to me that the linker file being used is not the c674x_linker.cmd.

    The makefile dss_mmw.mak, included in the makefile by include ./dss/dss_mmw.mak uses the following linker script dss_mmw_linker.cmd found in the following folder: tmdemo\mmwave_demo_dev\radarDemo\chains\RadarReceiverEDMA_mmwSDK\mmw_TMDemo\dss

    If the above is true, then the change to c674x_linker.cmd will not make any difference.

    Please help, I am more confused now.

    I need to get the demo compiled and working for me to proceed.
  • tidep0090_build_log.txt
    C:\tmdemo\mmwave_demo_dev\radarDemo\chains\RadarReceiverEDMA_mmwSDK\mmw_TMDemo>c
    d BuildInstructions
    
    C:\tmdemo\mmwave_demo_dev\radarDemo\chains\RadarReceiverEDMA_mmwSDK\mmw_TMDemo\B
    uildInstructions>mmwave_sdk_setupenv.bat
    -----------------------------------------------
    mmWave Build Environment Configured
    -----------------------------------------------
    C:\tmdemo\mmwave_demo_dev\radarDemo\chains\RadarReceiverEDMA_mmwSDK\mmw_TMDemo\B
    uildInstructions>cd ..
    
    C:\tmdemo\mmwave_demo_dev\radarDemo\chains\RadarReceiverEDMA_mmwSDK\mmw_TMDemo>g
    make all
    Configuring RTSC packages...
    xs --xdcpath="c:/ti/bios_6_50_01_12/packages;C:/ti/mmwave_sdk_01_00_00_05/packag
    es" xdc.tools.configuro -t ti.targets.arm.elf.R4F -p ti.platforms.cortexR:IWR16X
    X:false:200 -r release -c C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.1.LTS -o ms
    s/mmw_configPkg_xwr16xx mss/mss_mmw.cfg
    making package.mak (because of package.bld) ...
    generating interfaces for package mmw_configPkg_xwr16xx (because package/package
    .xdc.inc is older than package.xdc) ...
    configuring mss_mmw.xer4f from package/cfg/mss_mmw_per4f.cfg ...
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    making C:/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_T
    MDemo/mss/mmw_configPkg_xwr16xx/package/cfg/mss_mmw_per4f.src/sysbios/sysbios.ae
    r4f ...
    gmake[1]: Entering directory `C:/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarRe
    ceiverEDMA_mmwSDK/mmw_TMDemo/mss/mmw_configPkg_xwr16xx/package/cfg/mss_mmw_per4f
    .src/sysbios'
    cler4f C:/ti/bios_6_50_01_12/packages/ti/sysbios/BIOS.c ...
    asmer4f C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/arm/IntrinsicsSupport_a
    sm.asm ...
    asmer4f C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/arm/TaskSupport_asm.asm
     ...
    asmer4f C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/arm/v7r/vim/Hwi_asm.sv7
    R ...
    asmer4f C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/arm/v7r/vim/Hwi_asm_swi
    tch.sv7R ...
    asmer4f C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/arm/exc/Exception_asm.a
    sm ...
    asmer4f C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/arm/v7r/tms570/Core_asm
    .sv7R ...
    arer4f BIOS.obj arm_IntrinsicsSupport_asm.obj arm_TaskSupport_asm.obj vim_Hwi_as
    m.obj vim_Hwi_asm_switch.obj exc_Exception_asm.obj tms570_Core_asm.obj ...
    gmake[1]: Leaving directory `C:/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarRec
    eiverEDMA_mmwSDK/mmw_TMDemo/mss/mmw_configPkg_xwr16xx/package/cfg/mss_mmw_per4f.
    src/sysbios'
    Build of libraries done.
    cler4f package/cfg/mss_mmw_per4f.c ...
    Finished configuring packages
    
    [R4 Device/Type: iwr16xx/xwr16xx] Building file: mss/mss_main.c
    [R4 Device/Type: iwr16xx/xwr16xx] Building file: C:/tmdemo/mmwave_demo_dev/radar
    Demo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../
    ../radarDemo/modules/utilities/radarOsal_malloc.c
    [R4 Device/Type: iwr16xx/xwr16xx] Building file: C:/tmdemo/mmwave_demo_dev/radar
    Demo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../
    ../radarDemo/modules/tracking/clusterTracker/src/RADARDEMO_clusterTracker.c
    [R4 Device/Type: iwr16xx/xwr16xx] Building file: C:/tmdemo/mmwave_demo_dev/radar
    Demo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../
    ../radarDemo/modules/tracking/clusterTracker/src/RADARDEMO_clusterTracker_math.c
    
    [R4 Device/Type: iwr16xx/xwr16xx] Building file: C:/tmdemo/mmwave_demo_dev/radar
    Demo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../
    ../radarDemo/modules/tracking/clusterTracker/src/RADARDEMO_clusterTracker_priv.c
    
    [R4 Device/Type: iwr16xx/xwr16xx] Building file: mss/cli.c
    armcl -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -me -g --displa
    y_error_number --diag_warning=225 --diag_wrap=off -z --reread_libs --warn_sectio
    ns --rom_model --unused_section_elimination -iC:/ti/ccsv7/tools/compiler/ti-cgt-
    arm_16.9.1.LTS/lib --reread_libs -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/driv
    ers/osal/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/esm/lib -iC:/ti/
    mmwave_sdk_01_00_00_05/packages/ti/drivers/soc/lib -iC:/ti/mmwave_sdk_01_00_00_0
    5/packages/ti/drivers/pinmux/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/driv
    ers/uart/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/crc/lib -iC:/ti/
    mmwave_sdk_01_00_00_05/packages/ti/drivers/mailbox/lib -iC:/ti/mmwave_sdk_01_00_
    00_05/packages/ti/control/mmwavelink/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages
    /ti/control/mmwave/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/utils/cli/lib
    -llibosal_xwr16xx.aer4f -llibesm_xwr16xx.aer4f -llibsoc_xwr16xx.aer4f -llibpinmu
    x_xwr16xx.aer4f -llibcrc_xwr16xx.aer4f -llibuart_xwr16xx.aer4f -llibmailbox_xwr1
    6xx.aer4f -llibmmwavelink_xwr16xx.aer4f -llibmmwave_xwr16xx.aer4f -llibcli_xwr16
    xx.aer4f                                        \
            -lmss/mmw_configPkg_xwr16xx/linker.cmd --map_file=xwr16xx_mmw_demo_mss.m
    ap obj_xwr16xx/mss_main.oer4f obj_xwr16xx/radarOsal_malloc.oer4f obj_xwr16xx/RAD
    ARDEMO_clusterTracker.oer4f obj_xwr16xx/RADARDEMO_clusterTracker_math.oer4f obj_
    xwr16xx/RADARDEMO_clusterTracker_priv.oer4f obj_xwr16xx/cli.oer4f       \
            C:/ti/mmwave_sdk_01_00_00_05/packages/ti/platform/xwr16xx/r4f_linker.cmd
     mss/mss_mmw_linker.cmd -l"rtsv7R4_T_le_v3D16_eabi.lib" -o xwr16xx_mmw_demo_mss.
    xer4f
    <Linking>
    Built the MSS Millimeter Wave Demo [Preparing the BIN Format]
    Parsing the input object file, xwr16xx_mmw_demo_mss.xer4f.
    Appending zeros 0
    Appending zeros 256
    File conversion complete!
    ******************************************************************************
    Built the MSS Millimeter Wave OUT & BIN Formats
    ******************************************************************************
    Configuring RTSC packages...
    xs --xdcpath="c:/ti/bios_6_50_01_12/packages;C:/ti/mmwave_sdk_01_00_00_05/packag
    es" xdc.tools.configuro -t ti.targets.elf.C674 -p ti.platforms.c6x:IWR16XX:false
    :600 -DMMWAVE_SDK_DEVICE=iwr16xx -DMMWAVE_SDK_DEVICE_TYPE=xwr16xx -r release -c
    C:/ti/c6000_7.4.16 -o dss/mmw_configPkg_xwr16xx dss/dss_mmw.cfg
    making package.mak (because of package.bld) ...
    generating interfaces for package mmw_configPkg_xwr16xx (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:/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_T
    MDemo/dss/mmw_configPkg_xwr16xx/package/cfg/dss_mmw_pe674.src/sysbios/sysbios.ae
    674 ...
    gmake[1]: Entering directory `C:/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarRe
    ceiverEDMA_mmwSDK/mmw_TMDemo/dss/mmw_configPkg_xwr16xx/package/cfg/dss_mmw_pe674
    .src/sysbios'
    cle674 C:/ti/bios_6_50_01_12/packages/ti/sysbios/BIOS.c ...
    asme674 C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/c64p/Exception_asm.s64P
     ...
    asme674 C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/c64p/Hwi_asm.s62 ...
    asme674 C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62
     ...
    asme674 C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/c64p/Hwi_disp_always.s6
    4P ...
    asme674 C:/ti/bios_6_50_01_12/packages/ti/sysbios/rts/ti/tls_get_tp.asm ...
    asme674 C:/ti/bios_6_50_01_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:/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarRec
    eiverEDMA_mmwSDK/mmw_TMDemo/dss/mmw_configPkg_xwr16xx/package/cfg/dss_mmw_pe674.
    src/sysbios'
    Build of libraries done.
    cle674 package/cfg/dss_mmw_pe674.c ...
    Finished configuring packages
    
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: dss/dss_main.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: dss/dss_config_edma_util.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: dss/dss_data_path.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/tmdemo/mmwave_demo_dev/rad
    arDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../.
    ./../radarDemo/chains/RadarReceiverEDMA_mmwSDK/radarProcess.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/tmdemo/mmwave_demo_dev/rad
    arDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../.
    ./../radarDemo/modules/clustering/dbscan/src/RADARDEMO_clusteringDBscan.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/tmdemo/mmwave_demo_dev/rad
    arDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../.
    ./../radarDemo/modules/clustering/dbscan/src/RADARDEMO_clusteringDBscan_priv.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/tmdemo/mmwave_demo_dev/rad
    arDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../.
    ./../radarDemo/modules/detection/CFAR/src/RADARDEMO_detectionCFAR.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/tmdemo/mmwave_demo_dev/rad
    arDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../.
    ./../radarDemo/modules/detection/CFAR/src/RADARDEMO_detectionCFAR_priv.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/tmdemo/mmwave_demo_dev/rad
    arDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../.
    ./../radarDemo/modules/dopplerProc/dopplerProc/src/RADARDEMO_dopplerProc.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/tmdemo/mmwave_demo_dev/rad
    arDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../.
    ./../radarDemo/modules/dopplerProc/dopplerProc/src/RADARDEMO_dopplerProc_priv.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/tmdemo/mmwave_demo_dev/rad
    arDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../.
    ./../radarDemo/modules/dopplerProc/dopplerProc/src/RADARDEMO_dopplerProc_utils.c
    
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/tmdemo/mmwave_demo_dev/rad
    arDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../.
    ./../radarDemo/modules/rangeProc/rangeProc/src/RADARDEMO_rangeProc.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/tmdemo/mmwave_demo_dev/rad
    arDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../.
    ./../radarDemo/modules/rangeProc/rangeProc/src/RADARDEMO_rangeProc_priv.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/tmdemo/mmwave_demo_dev/rad
    arDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../.
    ./../radarDemo/modules/utilities/cycle_measure.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/tmdemo/mmwave_demo_dev/rad
    arDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../.
    ./../radarDemo/modules/utilities/radarOsal_malloc.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/tmdemo/mmwave_demo_dev/rad
    arDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../.
    ./../radarDemo/modules/DoA/DML/src/RADARDEMO_aoaEstDML.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/tmdemo/mmwave_demo_dev/rad
    arDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../.
    ./../radarDemo/modules/DoA/DML/src/RADARDEMO_aoaEstDML_priv.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/tmdemo/mmwave_demo_dev/rad
    arDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../.
    ./../radarDemo/modules/DoA/BF/src/RADARDEMO_aoaEstBF.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/tmdemo/mmwave_demo_dev/rad
    arDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../.
    ./../radarDemo/modules/DoA/BF/src/RADARDEMO_aoaEstBF_priv.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/tmdemo/mmwave_demo_dev/rad
    arDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../.
    ./../radarDemo/modules/tracking/clusterTracker/src/RADARDEMO_clusterTracker.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/tmdemo/mmwave_demo_dev/rad
    arDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../.
    ./../radarDemo/modules/tracking/clusterTracker/src/RADARDEMO_clusterTracker_math
    .c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/tmdemo/mmwave_demo_dev/rad
    arDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../.
    ./../radarDemo/modules/tracking/clusterTracker/src/RADARDEMO_clusterTracker_priv
    .c
    cl6x -mv6740 --abi=eabi -g --define=SOC_XWR16XX --display_error_number --diag_wa
    rning=225 --diag_wrap=off -z --reread_libs --warn_sections --ram_model -iC:/ti/c
    6000_7.4.16/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/osal/lib -iC:
    /ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/soc/lib -iC:/ti/mmwave_sdk_01_00_
    00_05/packages/ti/drivers/uart/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/dr
    ivers/crc/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/mailbox/lib -iC
    :/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/adcbuf/lib -iC:/ti/mmwave_sdk_01
    _00_00_05/packages/ti/drivers/edma/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/t
    i/control/mmwavelink/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/control/mmwa
    ve/lib -iC:/tmdemo/mmwave_demo_dev/lib/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/l
    ib -iC:/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMD
    emo/BuildInstructions../../../../../../lib/c674x-dsplib_1_03_00_01/lib -iC:/ti/m
    mwave_sdk_01_00_00_05/packages/ti/alg/mmwavelib/lib -llibosal_xwr16xx.ae674 -lli
    bsoc_xwr16xx.ae674 -llibcrc_xwr16xx.ae674 -llibuart_xwr16xx.ae674 -llibmailbox_x
    wr16xx.ae674 -llibmmwavelink_xwr16xx.ae674 -llibmmwave_xwr16xx.ae674 -llibadcbuf
    _xwr16xx.ae674 -llibedma_xwr16xx.ae674 -llibmmwavealg_xwr16xx.ae674 -ldsplib.ae6
    4P -ldsplib674x_elf.lib
                    \
            -ldss/mmw_configPkg_xwr16xx/linker.cmd --map_file=xwr16xx_mmw_demo_dss.m
    ap obj_xwr16xx/dss_main.oe674 obj_xwr16xx/dss_config_edma_util.oe674 obj_xwr16xx
    /dss_data_path.oe674 obj_xwr16xx/radarProcess.oe674 obj_xwr16xx/RADARDEMO_cluste
    ringDBscan.oe674 obj_xwr16xx/RADARDEMO_clusteringDBscan_priv.oe674 obj_xwr16xx/R
    ADARDEMO_detectionCFAR.oe674 obj_xwr16xx/RADARDEMO_detectionCFAR_priv.oe674 obj_
    xwr16xx/RADARDEMO_dopplerProc.oe674 obj_xwr16xx/RADARDEMO_dopplerProc_priv.oe674
     obj_xwr16xx/RADARDEMO_dopplerProc_utils.oe674 obj_xwr16xx/RADARDEMO_rangeProc.o
    e674 obj_xwr16xx/RADARDEMO_rangeProc_priv.oe674 obj_xwr16xx/cycle_measure.oe674
    obj_xwr16xx/radarOsal_malloc.oe674 obj_xwr16xx/RADARDEMO_aoaEstDML.oe674 obj_xwr
    16xx/RADARDEMO_aoaEstDML_priv.oe674 obj_xwr16xx/RADARDEMO_aoaEstBF.oe674 obj_xwr
    16xx/RADARDEMO_aoaEstBF_priv.oe674 obj_xwr16xx/RADARDEMO_clusterTracker.oe674 ob
    j_xwr16xx/RADARDEMO_clusterTracker_math.oe674 obj_xwr16xx/RADARDEMO_clusterTrack
    er_priv.oe674   \
            C:/ti/mmwave_sdk_01_00_00_05/packages/ti/platform/xwr16xx/c674x_linker.c
    md dss/dss_mmw_linker.cmd -lrts6740_elf.lib -o xwr16xx_mmw_demo_dss.xe674
    <Linking>
    "dss/dss_mmw_linker.cmd", line 49: warning #10068-D: no matching section
    Built the DSS Millimeter Wave Demo [Preparing the BIN Format]
    Parsing the input object file, xwr16xx_mmw_demo_dss.xe674.
    Appending zeros 8484128
    Appending zeros 8501872
    Appending zeros 8511448
    File conversion complete!
    ******************************************************************************
    Built the DSS Millimeter Wave OUT & BIN Formats
    ******************************************************************************
    C:/ti/mmwave_sdk_01_00_00_05/packages\scripts\ImageCreator\xwr16xx\multicore_ima
    ge_generator\MulticoreImageGen.exe LE 37 0x01000005 iwr16xx_mmw_demo.bin 0x35510
    000 xwr16xx_mmw_demo_mss.bin 0xb5510000 xwr16xx_mmw_demo_dss.bin
    Number of Input Files 2
    Number of zeros 56
    
    call C:/ti/mmwave_sdk_01_00_00_05/packages\scripts\ImageCreator\xwr16xx\crc_mult
    icore_image\crc_multicore_image.exe iwr16xx_mmw_demo.bin iwr16xx_mmw_demo.bin.tm
    p
    size of App Image is 372096 bytes
    cur_crc_read_addr 128
    cur_crc_read_addr 115136
    Failed to remove CRC temp file
    
    perl C:/ti/mmwave_sdk_01_00_00_05/packages\scripts\ImageCreator\xwr16xx\append_b
    in_crc\gen_bincrc32.pl iwr16xx_mmw_demo.bin
    >>>> Binary CRC32 = fc24b75e <<<<
    >>>> Total bytes in binary file 372100 <<<<
    ******************************************************************************
    Built the mmw Demo Flash Binary
    ******************************************************************************
    
    C:\tmdemo\mmwave_demo_dev\radarDemo\chains\RadarReceiverEDMA_mmwSDK\mmw_TMDemo>
    Hi,

    Can you please share with us the "mmwave_sdk_setupenv.bat" and the building log when you run "gmake all".

    I have attached a successful build log

    Thank you
    Cesar

  • Hello Leslie,

    Just wanted to make sure you have already tired the compile steps for Out of Box demo on IWR1643 device and this would make sure your setup is flushed to do compiles for mmWave devices.

    Thank you,
    Vaibhav
  • Dear Cesar

    Thanks for the reply.

    Here is the setupenv and buld log files

    setup.txt
    @REM ******************************************************************
    @REM * FILE PURPOSE: Environment Setup
    @REM ******************************************************************
    @REM * FILE NAME: mmwave_sdk_setupenv.bat
    @REM *
    @REM * DESCRIPTION:
    @REM *  Configures and sets up the Build Environment for mmWave SDK.
    @REM *
    @REM ******************************************************************
    @echo off
    
    REM -------------------------------------------------------------------
    REM Sanity Check: Ensure that all the required variables are defined
    REM -------------------------------------------------------------------
    if [%R4F_CODEGEN_INSTALL_PATH%] == [] (
    @echo Error: R4F_CODEGEN_INSTALL_PATH [R4F Toochain] needs to be defined
    @echo For Example:
    @echo   set R4F_CODEGEN_INSTALL_PATH=C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS
    goto fail
    )
    if [%MMWAVE_SDK_INSTALL_PATH%] == [] (
    @echo Error: MMWAVE_SDK_INSTALL_PATH [mmWave SDK Package Location] needs to be defined
    @echo For Example:
    @echo   set MMWAVE_SDK_INSTALL_PATH=C:/ti/mmwave_sdk_01_00_00_00/packages
    goto fail
    )
    if [%BIOS_INSTALL_PATH%] == [] (
    @echo Error: BIOS_INSTALL_PATH [SYSBIOS] needs to be defined
    @echo For Example:
    @echo   set BIOS_INSTALL_PATH=c:/ti/bios_6_46_00_12_eng/packages
    goto fail
    )
    if [%XDC_INSTALL_PATH%] == [] (
    @echo Error: XDC_INSTALL_PATH [XDC Build Tools] needs to be defined
    @echo For Example:
    @echo   set XDC_INSTALL_PATH=c:/ti/xdctools_3_31_02_38_core
    goto fail
    )
    if [%PERL_INSTALL_PATH%] == [] (
    @echo Error: PERL_INSTALL_PATH [Perl Install Path] needs to be defined
    @echo For Example:
    @echo   set PERL_INSTALL_PATH=C:/Perl/Bin
    goto fail
    )
    if [%DOWNLOAD_FROM_CCS%] == [] (
    @echo Error: DOWNLOAD_FROM_CCS needs to be defined
    @echo For Example:
    @echo   set DOWNLOAD_FROM_CCS=yes
    @echo   OR
    @echo   set DOWNLOAD_FROM_CCS=no
    goto fail
    )
    if [%MMWAVE_SDK_DEVICE%] == [] (
    @echo Error: MMWAVE_SDK_DEVICE needs to be defined
    @echo For Example:
    @echo   set MMWAVE_SDK_DEVICE=awr14xx
    @echo   OR
    @echo   set MMWAVE_SDK_DEVICE=awr16xx
    @echo   OR
    @echo   set MMWAVE_SDK_DEVICE=iwr14xx
    @echo   OR
    @echo   set MMWAVE_SDK_DEVICE=iwr16xx
    goto fail
    )
    
    set MMWAVE_SDK_DEVICE_TYPE=xwr14xx
    if [%MMWAVE_SDK_DEVICE%] == [awr16xx] (
        set MMWAVE_SDK_DEVICE_TYPE=xwr16xx
    )
    if [%MMWAVE_SDK_DEVICE%] == [iwr16xx] (
        set MMWAVE_SDK_DEVICE_TYPE=xwr16xx
    )
    
    if [%MMWAVE_SDK_DEVICE_TYPE%] == [xwr16xx] (
    if [%C674_CODEGEN_INSTALL_PATH%] == [] (
    @echo Error: C674_CODEGEN_INSTALL_PATH [DSP Toolchain] needs to be defined
    @echo For Example:
    @echo   set C674_CODEGEN_INSTALL_PATH=C:/ti/ccsv6/tools/compiler/c6000_7.4.16
    goto fail
    )
    if [%C64Px_DSPLIB_INSTALL_PATH%] == [] (
    @echo Error: C64Px_DSPLIB_INSTALL_PATH needs to be defined
    @echo For Example:
    @echo   set C64Px_DSPLIB_INSTALL_PATH=C:/ti/dsplib_c64Px_3_4_0_0
    goto fail
    )
    if [%C674x_MATHLIB_INSTALL_PATH%] == [] (
    @echo Error: C674x_MATHLIB_INSTALL_PATH needs to be defined
    @echo For Example:
    @echo   set C674x_MATHLIB_INSTALL_PATH=C:/ti/mathlib_c674x_3_1_2_1
    goto fail
    )
    if [%XWR16XX_RADARSS_IMAGE_BIN%] == [] (
    @echo Error: XWR16XX_RADARSS_IMAGE_BIN needs to be defined with the complete path and filename of the BSS binary
    @echo For Example:
    @echo   set XWR16XX_RADARSS_IMAGE_BIN=%MMWAVE_SDK_INSTALL_PATH%/firmware/radarss/xwr16xx_radarss_rprc.bin
    goto fail
    )
    if NOT EXIST "%XWR16XX_RADARSS_IMAGE_BIN%" (
    @echo Error: %XWR16XX_RADARSS_IMAGE_BIN% does not exist. Check the path
    goto fail
    )
    )
    
    REM ----------------------------------------------------------
    REM Setup the PATH configuration:
    REM  This can be modified if the tools are installed in a
    REM  different directory.
    REM ----------------------------------------------------------
    
    REM Clear all environment paths first.
    REM set PATH=
    set INCLUDE=
    set LIB=
    
    REM Test requirements
    REM set PATH=%PATH%;C:/Windows;C:/Windows/system32
    
    REM ----------------------------------------------------------
    REM Please do not change anything below this
    REM ----------------------------------------------------------
    
    REM XDC Tools including gmake
    set PATH=%PERL_INSTALL_PATH%;%XDC_INSTALL_PATH%;%XDC_INSTALL_PATH%/bin;%PATH%
    
    REM Set XDC environment variables
    set XDCCGROOT=%C674_CODEGEN_INSTALL_PATH%
    set XDCBUILDCFG=%MMWAVE_SDK_INSTALL_PATH%/config.bld
    set XDCARGS=
    
    REM Clear all XDCPATH values first.
    set XDCPATH=%BIOS_INSTALL_PATH%
    set XDCPATH=%XDCPATH%;%MMWAVE_SDK_INSTALL_PATH%
    
    REM TI Code Generation Tools
    set PATH=%C674_CODEGEN_INSTALL_PATH%/bin;%PATH%
    set PATH=%R4F_CODEGEN_INSTALL_PATH%/bin;%PATH%
    
    REM Tools:
    REM - Doxygen
    REM These are only used by the release scripts. Customers can build without these defined.
    set PATH=%DOXYGEN_INSTALL_PATH%\bin;%GRAPHVIZ_INSTALL_PATH%\bin;%PATH%
    
    @echo -----------------------------------------------
    @echo mmWave Build Environment Configured
    @echo -----------------------------------------------
    
    REM Set the Title Window appropriately.
    Title mmWave Build Environment
    goto end
    
    :fail
    @echo Error: Failed to setup mmWave Build Environment !
    Title Error: Failed to setup mmWave Build Environment
    REM Return error
    EXIT /B 1
    
    :end
    REM Return success
    EXIT /B 0
    

    build log.txt
    C:\ti\tmdemo\mmwave_demo_dev\radarDemo\chains\RadarReceiverEDMA_mmwSDK\mmw_TMDemo>gmake all
    Configuring RTSC packages...
    xs --xdcpath="c:/ti/bios_6_50_01_12/packages;C:/ti/mmwave_sdk_01_00_00_05/packages" xdc.tools.configuro -t ti.targets.arm.elf.R4F -p ti.platforms.cortexR:IWR16XX:false:200 -r release -c C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS -o mss/mmw_configPkg_xwr16xx mss/mss_mmw.cfg
    making package.mak (because of package.bld) ...
    generating interfaces for package mmw_configPkg_xwr16xx (because package/package.xdc.inc is older than package.xdc) ...
    configuring mss_mmw.xer4f from package/cfg/mss_mmw_per4f.cfg ...
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    making C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/mss/mmw_configPkg_xwr16xx/package/cfg/mss_mmw_per4f.src/sysbios/sysbios.aer4f ...
    gmake[1]: Entering directory `C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/mss/mmw_configPkg_xwr16xx/package/cfg/mss_mmw_per4f.src/sysbios'
    cler4f C:/ti/bios_6_50_01_12/packages/ti/sysbios/BIOS.c ...
    asmer4f C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/arm/IntrinsicsSupport_asm.asm ...
    asmer4f C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/arm/TaskSupport_asm.asm ...
    asmer4f C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/arm/v7r/vim/Hwi_asm.sv7R ...
    asmer4f C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/arm/v7r/vim/Hwi_asm_switch.sv7R ...
    asmer4f C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/arm/exc/Exception_asm.asm ...
    asmer4f C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/arm/v7r/tms570/Core_asm.sv7R ...
    arer4f BIOS.obj arm_IntrinsicsSupport_asm.obj arm_TaskSupport_asm.obj vim_Hwi_asm.obj vim_Hwi_asm_switch.obj exc_Exception_asm.obj tms570_Core_asm.obj ...
    gmake[1]: Leaving directory `C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/mss/mmw_configPkg_xwr16xx/package/cfg/mss_mmw_per4f.src/sysbios'
    Build of libraries done.
    cler4f package/cfg/mss_mmw_per4f.c ...
    Finished configuring packages
    
    [R4 Device/Type: iwr16xx/xwr16xx] Building file: mss/mss_main.c
    [R4 Device/Type: iwr16xx/xwr16xx] Building file: C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../../radarDemo/modules/utilities/radarOsal_malloc.c
    [R4 Device/Type: iwr16xx/xwr16xx] Building file: C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../../radarDemo/modules/tracking/clusterTracker/src/RADARDEMO_clusterTracker.c
    [R4 Device/Type: iwr16xx/xwr16xx] Building file: C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../../radarDemo/modules/tracking/clusterTracker/src/RADARDEMO_clusterTracker_math.c
    [R4 Device/Type: iwr16xx/xwr16xx] Building file: C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../../radarDemo/modules/tracking/clusterTracker/src/RADARDEMO_clusterTracker_priv.c
    [R4 Device/Type: iwr16xx/xwr16xx] Building file: mss/cli.c
    armcl -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -me -g --display_error_number --diag_warning=225 --diag_wrap=off -z --reread_libs --warn_sections --rom_model --unused_section_elimination -iC:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/lib --reread_libs -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/osal/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/esm/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/soc/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/pinmux/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/uart/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/crc/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/mailbox/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/control/mmwavelink/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/control/mmwave/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/utils/cli/lib -llibosal_xwr16xx.aer4f -llibesm_xwr16xx.aer4f -llibsoc_xwr16xx.aer4f -llibpinmux_xwr16xx.aer4f -llibcrc_xwr16xx.aer4f -llibuart_xwr16xx.aer4f -llibmailbox_xwr16xx.aer4f -llibmmwavelink_xwr16xx.aer4f -llibmmwave_xwr16xx.aer4f -llibcli_xwr16xx.aer4f                                        \
            -lmss/mmw_configPkg_xwr16xx/linker.cmd --map_file=xwr16xx_mmw_demo_mss.map obj_xwr16xx/mss_main.oer4f obj_xwr16xx/radarOsal_malloc.oer4f obj_xwr16xx/RADARDEMO_clusterTracker.oer4f obj_xwr16xx/RADARDEMO_clusterTracker_math.oer4f obj_xwr16xx/RADARDEMO_clusterTracker_priv.oer4f obj_xwr16xx/cli.oer4f       \
            C:/ti/mmwave_sdk_01_00_00_05/packages/ti/platform/xwr16xx/r4f_linker.cmd mss/mss_mmw_linker.cmd -l"rtsv7R4_T_le_v3D16_eabi.lib" -o xwr16xx_mmw_demo_mss.xer4f
    <Linking>
    Built the MSS Millimeter Wave Demo [Preparing the BIN Format]
    Parsing the input object file, xwr16xx_mmw_demo_mss.xer4f.
    Appending zeros 0
    Appending zeros 256
    File conversion complete!
    ******************************************************************************
    Built the MSS Millimeter Wave OUT & BIN Formats
    ******************************************************************************
    Configuring RTSC packages...
    xs --xdcpath="c:/ti/bios_6_50_01_12/packages;C:/ti/mmwave_sdk_01_00_00_05/packages" xdc.tools.configuro -t ti.targets.elf.C674 -p ti.platforms.c6x:IWR16XX:false:600 -DMMWAVE_SDK_DEVICE=iwr16xx -DMMWAVE_SDK_DEVICE_TYPE=xwr16xx -r release -c C:/ti/c6000_code_gen_tools/ti-cgt-c6000_8.2.0 -o dss/mmw_configPkg_xwr16xx dss/dss_mmw.cfg
    making package.mak (because of package.bld) ...
    generating interfaces for package mmw_configPkg_xwr16xx (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/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/dss/mmw_configPkg_xwr16xx/package/cfg/dss_mmw_pe674.src/sysbios/sysbios.ae674 ...
    gmake[1]: Entering directory `C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/dss/mmw_configPkg_xwr16xx/package/cfg/dss_mmw_pe674.src/sysbios'
    cle674 C:/ti/bios_6_50_01_12/packages/ti/sysbios/BIOS.c ...
    remark #24038-D: --optimize_with_debug is deprecated and will be removed in a
       subsequent release. The behavior is enabled by default.
    "C:/ti/bios_6_50_01_12/packages/ti/sysbios/timers/rti/Timer.c", line 92: remark #2142-D: comparison between signed and unsigned operands
    "C:/ti/bios_6_50_01_12/packages/ti/sysbios/timers/rti/Timer.c", line 187: remark #2142-D: comparison between signed and unsigned operands
    asme674 C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/c64p/Exception_asm.s64P ...
    remark #24038-D: --optimize_with_debug is deprecated and will be removed in a
       subsequent release. The behavior is enabled by default.
    asme674 C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/c64p/Hwi_asm.s62 ...
    remark #24038-D: --optimize_with_debug is deprecated and will be removed in a
       subsequent release. The behavior is enabled by default.
    asme674 C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62 ...
    remark #24038-D: --optimize_with_debug is deprecated and will be removed in a
       subsequent release. The behavior is enabled by default.
    asme674 C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P ...
    remark #24038-D: --optimize_with_debug is deprecated and will be removed in a
       subsequent release. The behavior is enabled by default.
    asme674 C:/ti/bios_6_50_01_12/packages/ti/sysbios/rts/ti/tls_get_tp.asm ...
    remark #24038-D: --optimize_with_debug is deprecated and will be removed in a
       subsequent release. The behavior is enabled by default.
    asme674 C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/c62/TaskSupport_asm.s62 ...
    remark #24038-D: --optimize_with_debug is deprecated and will be removed in a
       subsequent release. The behavior is enabled by default.
    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/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/dss/mmw_configPkg_xwr16xx/package/cfg/dss_mmw_pe674.src/sysbios'
    Build of libraries done.
    cle674 package/cfg/dss_mmw_pe674.c ...
    Finished configuring packages
    
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: dss/dss_main.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: dss/dss_config_edma_util.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: dss/dss_data_path.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../../radarDemo/chains/RadarReceiverEDMA_mmwSDK/radarProcess.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../../radarDemo/modules/clustering/dbscan/src/RADARDEMO_clusteringDBscan.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../../radarDemo/modules/clustering/dbscan/src/RADARDEMO_clusteringDBscan_priv.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../../radarDemo/modules/detection/CFAR/src/RADARDEMO_detectionCFAR.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../../radarDemo/modules/detection/CFAR/src/RADARDEMO_detectionCFAR_priv.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../../radarDemo/modules/dopplerProc/dopplerProc/src/RADARDEMO_dopplerProc.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../../radarDemo/modules/dopplerProc/dopplerProc/src/RADARDEMO_dopplerProc_priv.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../../radarDemo/modules/dopplerProc/dopplerProc/src/RADARDEMO_dopplerProc_utils.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../../radarDemo/modules/rangeProc/rangeProc/src/RADARDEMO_rangeProc.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../../radarDemo/modules/rangeProc/rangeProc/src/RADARDEMO_rangeProc_priv.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../../radarDemo/modules/utilities/cycle_measure.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../../radarDemo/modules/utilities/radarOsal_malloc.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../../radarDemo/modules/DoA/DML/src/RADARDEMO_aoaEstDML.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../../radarDemo/modules/DoA/DML/src/RADARDEMO_aoaEstDML_priv.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../../radarDemo/modules/DoA/BF/src/RADARDEMO_aoaEstBF.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../../radarDemo/modules/DoA/BF/src/RADARDEMO_aoaEstBF_priv.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../../radarDemo/modules/tracking/clusterTracker/src/RADARDEMO_clusterTracker.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../../radarDemo/modules/tracking/clusterTracker/src/RADARDEMO_clusterTracker_math.c
    [C674 Device/Type: iwr16xx/xwr16xx] Building file: C:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../../radarDemo/modules/tracking/clusterTracker/src/RADARDEMO_clusterTracker_priv.c
    cl6x -mv6740 --abi=eabi -g --define=SOC_XWR16XX --display_error_number --diag_warning=225 --diag_wrap=off -z --reread_libs --warn_sections --ram_model -iC:/ti/c6000_code_gen_tools/ti-cgt-c6000_8.2.0/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/osal/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/soc/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/uart/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/crc/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/mailbox/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/adcbuf/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/drivers/edma/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/control/mmwavelink/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/control/mmwave/lib -iC:/ti/tmdemo/mmwave_demo_dev/lib/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/lib -iC:/ti/tmdemo/mmwave_demo_dev/radarDemo/chains/RadarReceiverEDMA_mmwSDK/mmw_TMDemo/BuildInstructions../../../../../../lib/c674x-dsplib_1_03_00_01/lib -iC:/ti/mmwave_sdk_01_00_00_05/packages/ti/alg/mmwavelib/lib -llibosal_xwr16xx.ae674 -llibsoc_xwr16xx.ae674 -llibcrc_xwr16xx.ae674 -llibuart_xwr16xx.ae674 -llibmailbox_xwr16xx.ae674 -llibmmwavelink_xwr16xx.ae674 -llibmmwave_xwr16xx.ae674 -llibadcbuf_xwr16xx.ae674 -llibedma_xwr16xx.ae674 -llibmmwavealg_xwr16xx.ae674 -ldsplib.ae64P -ldsplib674x_elf.lib
                                                                            \
            -ldss/mmw_configPkg_xwr16xx/linker.cmd --map_file=xwr16xx_mmw_demo_dss.map obj_xwr16xx/dss_main.oe674 obj_xwr16xx/dss_config_edma_util.oe674 obj_xwr16xx/dss_data_path.oe674 obj_xwr16xx/radarProcess.oe674 obj_xwr16xx/RADARDEMO_clusteringDBscan.oe674 obj_xwr16xx/RADARDEMO_clusteringDBscan_priv.oe674 obj_xwr16xx/RADARDEMO_detectionCFAR.oe674 obj_xwr16xx/RADARDEMO_detectionCFAR_priv.oe674 obj_xwr16xx/RADARDEMO_dopplerProc.oe674 obj_xwr16xx/RADARDEMO_dopplerProc_priv.oe674 obj_xwr16xx/RADARDEMO_dopplerProc_utils.oe674 obj_xwr16xx/RADARDEMO_rangeProc.oe674 obj_xwr16xx/RADARDEMO_rangeProc_priv.oe674 obj_xwr16xx/cycle_measure.oe674 obj_xwr16xx/radarOsal_malloc.oe674 obj_xwr16xx/RADARDEMO_aoaEstDML.oe674 obj_xwr16xx/RADARDEMO_aoaEstDML_priv.oe674 obj_xwr16xx/RADARDEMO_aoaEstBF.oe674 obj_xwr16xx/RADARDEMO_aoaEstBF_priv.oe674 obj_xwr16xx/RADARDEMO_clusterTracker.oe674 obj_xwr16xx/RADARDEMO_clusterTracker_math.oe674 obj_xwr16xx/RADARDEMO_clusterTracker_priv.oe674   \
            C:/ti/mmwave_sdk_01_00_00_05/packages/ti/platform/xwr16xx/c674x_linker.cmd dss/dss_mmw_linker.cmd -lrts6740_elf.lib -o xwr16xx_mmw_demo_dss.xe674
    <Linking>
    "dss/dss_mmw_linker.cmd", line 49: warning #10068-D: no matching section
    "dss/dss_mmw_linker.cmd", line 38: error #10099-D: program will not fit into available memory.  run placement with alignment fails for section ".fastCode" size 0x7000 .  Available memory ranges:
       L1PSRAM      size: 0x7000       unused: 0x7000       max hole: 0x7000
    "C:/ti/mmwave_sdk_01_00_00_05/packages/ti/platform/xwr16xx/c674x_linker.cmd", line 91: error #10099-D: program will not fit into available memory.  run placement with alignment fails for section ".stack" size 0x1000 .  Available memory ranges:
       L2SRAM_UMAP0   size: 0x20000      unused: 0xbd6        max hole: 0xbc4
       L2SRAM_UMAP1   size: 0x20000      unused: 0x0          max hole: 0x0
    error #10010: errors encountered during linking; "xwr16xx_mmw_demo_dss.xe674" not built
    
    >> Compilation failure
    gmake: *** [dssDemo] Error 1

  • Dear Vaibhav

    No I didn't I just used the inlcuded bins.
    Thanks
  • Dear Cesar

    Sorry I copied the wrong file. The correct setup file is below

    3225.setup.txt
    @REM ******************************************************************
    @REM * FILE PURPOSE: Environment Setup
    @REM ******************************************************************
    @REM * FILE NAME: mmwave_sdk_setupenv.bat
    @REM *
    @REM * DESCRIPTION:
    @REM *  Configures and sets up the Build Environment for mmWave SDK.
    @REM *
    @REM ******************************************************************
    @echo off
    
    set DOWNLOAD_FROM_CCS=yes
    set MMWAVE_SDK_DEVICE=iwr16xx
    
    set R4F_CODEGEN_INSTALL_PATH=C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS
    set MMWAVE_SDK_INSTALL_PATH=C:/ti/mmwave_sdk_01_00_00_05/packages
    set BIOS_INSTALL_PATH=c:/ti/bios_6_50_01_12/packages
    set XDC_INSTALL_PATH=c:/ti/xdctools_3_50_02_20_core
    set PERL_INSTALL_PATH=C:/StrawberryPerl/perl/bin
    set C674_CODEGEN_INSTALL_PATH=C:/ti/c6000_code_gen_tools/ti-cgt-c6000_8.2.0
    set C64Px_DSPLIB_INSTALL_PATH=C:/ti/tmdemo/mmwave_demo_dev/lib/dsplib_c64Px_3_4_0_0
    set C674x_MATHLIB_INSTALL_PATH=C:/ti/mathlib_c674x_3_1_2_1
    set XWR16XX_RADARSS_IMAGE_BIN=C:/ti/mmwave_sdk_01_00_00_05/firmware/radarss/xwr16xx_radarss_rprc.bin
    
    
    set MMWAVE_DEMO_DEV_PATH=%CD%../../../../../..
    set MMWAVE_DEMO_DEV_PATH=%MMWAVE_DEMO_DEV_PATH:\=/%
    REM -------------------------------------------------------------------
    REM Sanity Check: Ensure that all the required variables are defined
    REM -------------------------------------------------------------------
    if [%R4F_CODEGEN_INSTALL_PATH%] == [] (
    @echo Error: R4F_CODEGEN_INSTALL_PATH [R4F Toochain] needs to be defined
    @echo For Example:
    @echo   set R4F_CODEGEN_INSTALL_PATH=C:/ti/ccsv7/tools/compiler/arm_16.9.1.LTS
    goto fail
    )
    if [%MMWAVE_SDK_INSTALL_PATH%] == [] (
    @echo Error: MMWAVE_SDK_INSTALL_PATH [mmWave SDK Package Location] needs to be defined
    @echo For Example:
    @echo   set MMWAVE_SDK_INSTALL_PATH=C:/ti/mmwave_sdk_01_00_00_03/packages
    goto fail
    )
    if [%BIOS_INSTALL_PATH%] == [] (
    @echo Error: BIOS_INSTALL_PATH [SYSBIOS] needs to be defined
    @echo For Example:
    @echo   set BIOS_INSTALL_PATH=c:/ti/bios_6_50_01_12/packages
    goto fail
    )
    if [%XDC_INSTALL_PATH%] == [] (
    @echo Error: XDC_INSTALL_PATH [XDC Build Tools] needs to be defined
    @echo For Example:
    @echo   set XDC_INSTALL_PATH=c:/ti/xdctools_3_50_00_10_core
    goto fail
    )
    if [%PERL_INSTALL_PATH%] == [] (
    @echo Error: PERL_INSTALL_PATH [Perl Install Path] needs to be defined
    @echo For Example:
    @echo   set PERL_INSTALL_PATH=C:/Perl/Bin
    goto fail
    )
    if [%DOWNLOAD_FROM_CCS%] == [] (
    @echo Error: DOWNLOAD_FROM_CCS needs to be defined
    @echo For Example:
    @echo   set DOWNLOAD_FROM_CCS=yes
    @echo   OR
    @echo   set DOWNLOAD_FROM_CCS=no
    goto fail
    )
    if [%MMWAVE_SDK_DEVICE%] == [] (
    @echo Error: MMWAVE_SDK_DEVICE needs to be defined
    @echo For Example:
    @echo   set MMWAVE_SDK_DEVICE=awr14xx
    @echo   OR
    @echo   set MMWAVE_SDK_DEVICE=awr16xx
    @echo   OR
    @echo   set MMWAVE_SDK_DEVICE=iwr14xx
    @echo   OR
    @echo   set MMWAVE_SDK_DEVICE=iwr16xx
    goto fail
    )
    
    set MMWAVE_SDK_DEVICE_TYPE=xwr14xx
    if [%MMWAVE_SDK_DEVICE%] == [awr16xx] (
        set MMWAVE_SDK_DEVICE_TYPE=xwr16xx
    )
    if [%MMWAVE_SDK_DEVICE%] == [iwr16xx] (
        set MMWAVE_SDK_DEVICE_TYPE=xwr16xx
    )
    
    if [%MMWAVE_SDK_DEVICE_TYPE%] == [xwr16xx] (
    if [%C674_CODEGEN_INSTALL_PATH%] == [] (
    @echo Error: C674_CODEGEN_INSTALL_PATH [DSP Toolchain] needs to be defined
    @echo For Example:
    @echo   set C674_CODEGEN_INSTALL_PATH=C:/ti/ccsv7/tools/compiler/c6000_7.4.16
    goto fail
    )
    if [%C64Px_DSPLIB_INSTALL_PATH%] == [] (
    @echo Error: C64Px_DSPLIB_INSTALL_PATH needs to be defined
    @echo For Example:
    @echo   set C64Px_DSPLIB_INSTALL_PATH=C:/ti/dsplib_c64Px_3_4_0_0
    goto fail
    )
    if [%C674x_MATHLIB_INSTALL_PATH%] == [] (
    @echo Error: C674x_MATHLIB_INSTALL_PATH needs to be defined
    @echo For Example:
    @echo   set C674x_MATHLIB_INSTALL_PATH=C:/ti/mathlib_c674x_3_1_2_1
    goto fail
    )
    if [%XWR16XX_RADARSS_IMAGE_BIN%] == [] (
    @echo Error: XWR16XX_RADARSS_IMAGE_BIN needs to be defined with the complete path and filename of the BSS binary
    @echo For Example:
    @echo   set XWR16XX_RADARSS_IMAGE_BIN=%MMWAVE_SDK_INSTALL_PATH%/firmware/radarss/ar1xxx_bss_rprc.bin
    goto fail
    )
    if NOT EXIST "%XWR16XX_RADARSS_IMAGE_BIN%" (
    @echo Error: %XWR16XX_RADARSS_IMAGE_BIN% does not exist. Check the path
    goto fail
    )
    )
    
    REM ----------------------------------------------------------
    REM Setup the PATH configuration:
    REM  This can be modified if the tools are installed in a
    REM  different directory.
    REM ----------------------------------------------------------
    
    REM Clear all environment paths first.
    REM set PATH=
    set INCLUDE=
    set LIB=
    
    REM Test requirements
    REM set PATH=%PATH%;C:/Windows;C:/Windows/system32
    
    REM ----------------------------------------------------------
    REM Please do not change anything below this
    REM ----------------------------------------------------------
    
    REM XDC Tools including gmake
    set PATH=%PERL_INSTALL_PATH%;%XDC_INSTALL_PATH%;%XDC_INSTALL_PATH%/bin;%PATH%
    
    REM Set XDC environment variables
    set XDCCGROOT=%C674_CODEGEN_INSTALL_PATH%
    set XDCBUILDCFG=%MMWAVE_SDK_INSTALL_PATH%/config.bld
    set XDCARGS=
    
    REM Clear all XDCPATH values first.
    set XDCPATH=%BIOS_INSTALL_PATH%
    set XDCPATH=%XDCPATH%;%MMWAVE_SDK_INSTALL_PATH%
    
    REM TI Code Generation Tools
    set PATH=%C674_CODEGEN_INSTALL_PATH%/bin;%PATH%
    set PATH=%R4F_CODEGEN_INSTALL_PATH%/bin;%PATH%
    
    REM Tools:
    REM - Doxygen
    REM These are only used by the release scripts. Customers can build without these defined.
    set PATH=%DOXYGEN_INSTALL_PATH%\bin;%GRAPHVIZ_INSTALL_PATH%\bin;%PATH%
    
    @echo -----------------------------------------------
    @echo mmWave Build Environment Configured
    @echo -----------------------------------------------
    
    REM Set the Title Window appropriately.
    Title mmWave Build Environment
    goto end
    
    :fail
    @echo Failed to setup mmWave Build Environment !
    Title Failed to setup mmWave Build Environment
    
    :end
    
    

  • Hi,

    I noticed in 3225.setup.txt that the version of the C674x cgtools is not c6000_7.4.16.

    Could you try to update the cgtools and try to build the executable?

    Thank you

    Cesar 

  • Hie Cesar,

    Thanks for your help. I managed to built without errors using c6000_7.4.16 version of C674x cgtools. 

    Thank you very much. 

    Much appreciated