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.

CCS/IWR1443BOOST: Building mmw demo in windows

Expert 1985 points
Part Number: IWR1443BOOST

Tool/software: Code Composer Studio

Hello,

I setup mmWave SDK step by step following user guide. However, when do "gmake clean" and "gmake all", I get the following message:

When I execute "mmwave_sdk_setupenv.bat" , I can see this message:

-----------------------------------------------

mmWave Build Environment Configured

-----------------------------------------------

Thanks and best regards,

Amin

  • Hi Amin,

    I wonder if you configured and ran setenv_tools.bat, which is available in the same directory, before running mmwave_sdk_setupenv.bat. You need to modify this file (to set the component install paths as per your setup and MMWAVE_SDK_DEVICE) and run this before invoking mmwave_sdk_setupenv.bat (as mentioned in section 4.4.2 of the the SDK user guide)

    Alternatively, you can also import the mmWave SDK Demo CCS project directly from CCS resource explorer in CCS v7.2. 

    The MMW Demo CCS project is available on TI Resource explorer at the following link and you can download it in CCS using CCS resource explorer (View->Resource Explorer).

    TI Resource Explorer (TIREX) mmWave Training Series

    The project comes with a user guide which provides step-by-step instructions for downloading and building the project in CCS.

    Regards

    -Nitin 

  • Hello Nitin,


    Thanks for your help. Please see the error below(for "gmake all"):

    I have the following compiler:   .../ccv6/tools/compiler/ti-cgt-arm_16.9.3.LTS,

    Regards,
    Amin

  • Amin,

    The error indicates that gmake was unable to find the arm compiler.Please modify the corresponding line in setenv_tools.bat to match the compiler path on your system. Also, modify the other component paths listed in setenv_tools to match your system as well.

    However, I notice another issue from the compiler path you provided. Are you using CCSv6 on your system. You need to upgrade to CCS v7 (v7.2) as mentioned in the SDK user guide as well as the mmWave Demo CCS project user guide. CCSv6 is not supported with mmWave SDK.

    .../ccv6/tools/compiler/ti-cgt-arm_16.9.3.LTS,

    -Nitin

    @REM Select your device. Options (case sensitive) are: awr14xx,iwr14xx, awr16xx, iwr16xx
    set MMWAVE_SDK_DEVICE=iwr14xx
    @REM Common settings for awr14xx, awr16xx, iwr14xx and iwr16xx
    set CGT_INSTALL_PATH=C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2
    @REM TI ARM compiler
    set R4F_CODEGEN_INSTALL_PATH=C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.1.LTS
    @REM Path to <mmwave_sdk installation path>/packages folder
    set MMWAVE_SDK_INSTALL_PATH=c:/ti/mmwave_sdk_01_00_00_05/packages
    @REM TI XDC
    set XDC_INSTALL_PATH=c:/ti/xdctools_3_50_00_10_core
    @REM TI BIOS
    set BIOS_INSTALL_PATH=C:/ti/bios_6_50_01_12/packages
    @REM perl
    set PERL_INSTALL_PATH=C:/perl/bin
    @REM if using CCS to download, set below define to yes else no
    set DOWNLOAD_FROM_CCS=yes
    pushd .
    cd %MMWAVE_SDK_INSTALL_PATH%/scripts/windows
    call mmwave_sdk_setupenv.bat
    popd .

  • Hello Nitin,


    Thank you. There are two versions on the my system(v6 and v7.2.0.00013). All changes have been made, but there is a problem:

    setenv_tools.bat  file:

    @REM Select your device. Options (case sensitive) are: awr14xx,iwr14xx, awr16xx, iwr16xx
    set MMWAVE_SDK_DEVICE=iwr14xx
    @REM Common settings for awr14xx, awr16xx, iwr14xx and iwr16xx
    set CGT_INSTALL_PATH=C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.3
    @REM TI ARM compiler
    set R4F_CODEGEN_INSTALL_PATH=C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS
    @REM Path to <mmwave_sdk installation path>/packages folder
    set MMWAVE_SDK_INSTALL_PATH=c:/ti/mmwave_sdk_01_00_00_05/packages
    @REM TI XDC
    set XDC_INSTALL_PATH=c:/ti/xdctools_3_50_00_10_core
    @REM TI BIOS
    set BIOS_INSTALL_PATH=C:/ti/bios_6_50_01_12/packages
    @REM perl
    set PERL_INSTALL_PATH=C:/Strawberry/perl/bin
    @REM if using CCS to download, set below define to yes else no
    set DOWNLOAD_FROM_CCS=yes
    pushd .
    cd %MMWAVE_SDK_INSTALL_PATH%/scripts/windows
    call mmwave_sdk_setupenv.bat
    popd .

    mmwave_sdk_setupenv.bat file:


    @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 ------------------------------------------------------------------- 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_00_10_core set PERL_INSTALL_PATH=C:/Strawberry/perl/bin set DOWNLOAD_FROM_CCS=yes set DOWNLOAD_FROM_CCS=no set MMWAVE_SDK_DEVICE=iwr14xx set MMWAVE_SDK_DEVICE_TYPE=xwr14xx 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

    Best regards,
    Amin

  • Hi Nitin,

    Problem fixed. Thanks.

    Regards,
    Amin