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.

IWR1843BOOST: Building IWR1843Boost Out of the box demo.

Part Number: IWR1843BOOST
Other Parts Discussed in Thread: IWR1843, IWR6843ISK

Hi Team, 

I want to make some changes in out of box demo program for IWR1843Boost. 

Working on building the IWR1843Boost out of the box demo.  After running setenv and having this configured, "mmWave Build Environment Configured" running "make clean" is giving this error.

makefile:13: /ti/common/mmwave_sdk.mak: No such file or directory. make: *** No rule to make target `/ti/common/mmwave_sdk.mak'. Stop.  

Can I please know what is to be done in this case. Referring to other forum questions, I haven't made any changes in any of the files as such in the target files. 

Best Regards,

Veena

  • Hello.

    Are you using your own makefile, as that path does not exist within the toolbox; within the common folder is another set of folders.

    Sincerely,

    Santosh

  • Hi Santosh,

    1. I got through that error. However, I came across this one while building .bin file from for IWR1843 target demo version. 

    SHMEM_ALLOC is set to 0x00000008
    Configuring RTSC packages...
    C:/ti/xdctools_3_50_08_24_core/xs --xdcpath="C:/ti/bios_6_73_01_01/packages;C:/ti/mmwave_sdk_03_06_00_00-LTS/packages" xdc.tools.configuro -t ti.targets.arm.elf.R4Ft -p ti.platforms.cortexR:IWR18XX:false:200 -r release -c C:/ti/ti-cgt-arm_16.9.6.LTS -DMMWAVE_SDK_DEVICE_TYPE=xwr18xx --compileOptions "--enum_type=int" -o mmw_configPkg_mss_xwr18xx mss/mmw_mss.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_03_06_00_00-LTS/packages xdc.tools.configuro: not found
    make: *** [mmwMssRTSC] Error 127

    2. While building the program I observed that the make file considers .asm files. I want to make changes in the .cc and .h files so was looking for the relevant source files related to out of the box demo IWR1843boost and out of the box IWR6843ISK.  

    Regards,

    Veena

  • Hello.

    I am looking into this internally and will get back to you with an answer tomorrow.  Can you provide the command you used to build the .bin file as well as the directory in which you ran it so that I can try to recreate it?

    Sincerely,

    Santosh

  • Hi Santosh,

    In location C:\ti\mmwave_sdk_03_06_00_00-LTS\packages\scripts\windows\setenv.bat file I made the following below changes. No other changes are made. 

    @REM Select your device. Options (case sensitive) are: awr14xx, iwr14xx, awr16xx, iwr16xx, awr18xx, iwr18xx, awr68xx, iwr68xx
    set MMWAVE_SDK_DEVICE=iwr18xx

    @REM If download via CCS is needed, set below define to yes else no
    @REM yes: Out file created can be loaded using CCS.
    @REM Binary file created can be used to flash
    @REM no: Out file created cannot be loaded using CCS.
    @REM Binary file created can be used to flash
    @REM (additional features: write-protect of TCMA, etc)
    set DOWNLOAD_FROM_CCS = no

    and after running setenv.bat file in command prompt it gave the following notification 

    1. "mmWave Build Environment Configured" 

    2. Ran the make clean and make all in "C:\ti\mmwave_sdk_03_06_00_00-LTS\packages\ti\demo\xwr18xx\mmw" 

    after which there was an error indicating the one which I posted above. 

    Best Regards,
    Veena

  • Hello.

    If you are just trying to build Out of Box for 1843, please refer to the developer's guide section in the Out of Box Demo user's guide, which I have linked here.  It is much simpler than using the batch files, and you can still generate the .bin file as you are looking to do here.

    Sincerely,

    Santosh