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.

AWR1642BOOST: mmWave Demo building error on Windows 7

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: MATHLIB

Hi, 

I followed the steps listed in "mmwave_sdk_user_guide.pdf" and tried to build mmWave demo program, but I got a building error.

I tried the following procedures:

step 1. Setting up build environment:

            I changed the folder to "C:\ti\mmwave_sdk_02_01_00_04\packages\scripts\windows" in the cmd window and typed the below command:

            "C:\ti\mmwave_sdk_02_01_00_04\packages\scripts\windows>setenv.bat"

           I got the below message in the end:

           "mmWave Build Environment Configured"

step 2. Building demo:

            I changed the folder to "C:\ti\mmwave_sdk_02_01_00_04\packages\ti\demo\xwr16xx\mmw" in the cmd window and typed the below 2 commands:

            command 1: "C:\ti\mmwave_sdk_02_01_00_04\packages\ti\demo\xwr16xx\mmw>make clean"

                                 I got the below messages:                                                                

                                 SHMEM_ALLOC is set to 0x00000006
                                 Cleaning the MSS Millimeter Wave Demo Objects
                                 Cleaning the MSS Millimeter Wave Demo RTSC package
                                 Cleaning the DSS Millimeter Wave Demo Objects
                                 Cleaning the DSS Millimeter Wave Demo RTSC package

            command 2: "C:\ti\mmwave_sdk_02_01_00_04\packages\ti\demo\xwr16xx\mmw>make all"

                                 I got the below error message in the end :                                 

                                 C:/ti/mmwave_sdk_02_01_00_04/packages xdc.tools.configuro: not found

                                 make: *** [mss/mss_mmw.mak:63: mssDemoRTSC] Error 127

How do I solve this error?

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

the below is the complete message after I typed "make all":

SHMEM_ALLOC is set to 0x00000006
Configuring RTSC packages...
C:/ti/xdctools_3_50_04_43_core/xs --xdcpath="C:/ti/bios_6_53_02_00/packages;C:/ti/mmwave_sdk_02_01_00_04/packages" xdc.tools.configuro -t ti.targets.arm.elf.R4Ft -p ti.platforms.cortexR:AWR16XX:false:200 -r release -c C:/ti/ti-cgt-arm_16.9.6.LTS -DMMWAVE_SDK_DEVICE_TYPE=xwr16xx --compileOptions "--enum_type=int" -o mss/mmw_configPkg_xwr16xx mss/mss_mmw.cfg
Script, capsule, module or package must be supplied as an
argument,
or interactive mode (-i) must be selected.
Usage: xs [options] [<script> | <capsule> | <module> | <package>] [args]
Options:
-h, --help Print this message and exit
-v, --version Print the version and exit
@opts-file Read the specified file and include its contents as
arguments to xs
-i Run in interactive mode
--xdcpath PATH, or
--xdcpath=PATH Add PATH to the beginning of the package path
-D<name>=<val> Add the "name=value" definition to the XDC
Script environment
-g[=<opts>] use graphical debugger to run script, and
optionally pass <opts> to debugger
This option must be last in [options].

-m Specifies that the next argument is the name of
a module. The module must define a main() function.
This option must be last in [options].
-f Specifies that the next argument is the name of
a script. This option must be last in [options].
-c Specifies that the next argument is the name of
a capsule. The module must define a main() function.
This option must be last in [options].

If none of the options '-m', '-f', and '-c' is specified,
the argument given to xs after [options] is assumed to
be a package name. This package must have a module named
Main that defines a main() function.

Graphical Debugger Options:
-i break at the first line of the startup script

C:/ti/mmwave_sdk_02_01_00_04/packages xdc.tools.configuro: not found
make: *** [mss/mss_mmw.mak:63: mssDemoRTSC] Error 127

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

Thanks for your help

Edward Lee

            

  • Hi Edward,

    Could you check if all the dependency tools are installed at 'c:\ti' path? And same version is provided in the setenv.bat file.

    Looks like some of tool path it is not able to find here.

    Regards,

    Jitendra

  • Hi, Jitendra, 

    I installed the following tools on my computer:

    SDK 2.0: mmwave_sdk_02_00_00_04-Windows-x86-Install.exe

    SDK 2.1: mmwave_sdk_02_01_00_04-Windows-x86-Install.exe

    in the folder C:\ti, I have the following folders:

    bios_6_53_02_00

    dsplib_c64Px_3_4_0_0

    dsplib_c674x_3_4_0_0

    mathlib_c674x_3_1_2_1

    mmwave_sdk_02_00_00_04

    mmwave_sdk_02_01_00_04

    ti-cgt-arm_16.9.6.LTS

    ti-cgt-c6000_8.1.3

    xdctools_3_50_04_43_core

    I want to build mmWave demo of SDK 2.1, therefore I used the setenv.bat file in the folder: C:\ti\mmwave_sdk_02_01_00_04\packages\scripts\windows

    The tool version names in the setenv.bat file are the same as the folder names in the above list

    I executed the setenv.bat and I got the message "mmWave Build Environment Configured".

    Does it suggest that my environment variable setting and tool dependency are OK?

    Thanks for your help

    Edward Lee

  • Hi Edward,

    checkenv.bat file (comes along with setenv.bat) file just checks if all the path variables are set, but it doesn't check the existence of that path in your system.

    But if you have installed all the given tools with the SDK installer then it would compile the demo project without any error.

    Regards,

    Jitendra

  • Hi, Jitendra, 

    I want to build mmWave demo of SDK 2.1 and I have installed the following tools on my computer:

    SDK 2.0: mmwave_sdk_02_00_00_04-Windows-x86-Install.exe

    SDK 2.1: mmwave_sdk_02_01_00_04-Windows-x86-Install.exe

    Do I need to install some other necessary tools for building the mmwave demo project since I got the below error message?

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

    the error after I typed "make all":

    C:/ti/mmwave_sdk_02_01_00_04/packages xdc.tools.configuro: not found

    make: *** [mss/mss_mmw.mak:63: mssDemoRTSC] Error 127

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

    I have checked the tool version names in the setenv.bat file and they are the same as the folder names in my C:\ti\ which are listed in my previous reply.

    Thanks for your help

    Edward Lee

  • Hi Edward,

    according to the SDK 2.1 Release Notes the SDK installer does not include mmWave Radar Device support package and TI Emulators package. Have a look on the mentioned release notes, page 4, to see the correct versions and how to install them.

    Best Regards