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/AWR1642BOOST: vitalsigns build issue

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: SYSBIOS, MMWAVE-SDK

Tool/software: Code Composer Studio

**** Build of configuration Debug for project vitalSigns_16xx_mss ****

"D:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O

rm -f D:/lenovo/workspace_v8/vitalSigns_16xx_mss/vitalSigns_16xx_mss.bin
makefile:186: recipe for target 'pre-build' failed
process_begin: CreateProcess(NULL, rm -f D:/lenovo/workspace_v8/vitalSigns_16xx_mss/vitalSigns_16xx_mss.bin, ...) failed.
make (e=2): 系统找不到指定的文件。

gmake[1]: [pre-build] Error 2 (ignored)

Building file: "../mss_main.c"
Invoking: ARM Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="D:/lenovo/workspace_v8/vitalSigns_16xx_mss" --include_path="D:/ti/mmwave_sdk_03_01_00_02" --include_path="D:/ti/mmwave_sdk_03_01_00_02/packages" --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include" --define=_LITTLE_ENDIAN --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0x40000 --define=DebugP_ASSERT_ENABLED -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=int --abi=eabi --preproc_with_compile --preproc_dependency="mss_main.d_raw" --cmd_file="configPkg/compiler.opt" "../mss_main.c"

>> Compilation failure
subdir_rules.mk:9: recipe for target 'mss_main.obj' failed
"../mss_main.c", line 561: warning #169-D: argument of type "int32_t *" is incompatible with parameter of type "rlCalibrationData_t *"
"../mss_main.c", line 561: error #167: too few arguments in function call
1 error detected in the compilation of "../mss_main.c".
gmake[1]: *** [mss_main.obj] Error 1
gmake[1]: Target 'main-build' not remade because of errors.
gmake: *** [all] Error 2
makefile:152: recipe for target 'all' failed

**** Build Finished ****

  • Please, refer to this post: e2e.ti.com/.../2801151
    Hope this helps.
  • As suggested by Tom please ensure you are using compatible versions of Industrial Toolbox and mmWave SDK. If you continue to have problems, please provide specifics about the versions you are using.
  • Dear Sir, Where I can download the SDK,2.0.0.0, I find the 2.00.00.01. I request, but need wite
  • Dear Tom, Where I can download the SDK,2.0.0.0, I find the 2.00.00.01. I request, but need wait
  • Try with mmWave SDK 2.00.00.04 and go ahead. 

  • I try the 2.01.0.04, but cannot work also:


    **** Build of configuration Debug for project vitalSigns_16xx_mss ****

    "D:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O
     
    rm -f D:/workspace/vitalSigns_16xx_mss/vitalSigns_16xx_mss.bin
    makefile:195: recipe for target 'pre-build' failed
    process_begin: CreateProcess(NULL, rm -f D:/workspace/vitalSigns_16xx_mss/vitalSigns_16xx_mss.bin, ...) failed.
    make (e=2): 系统找不到指定的文件。
     
    gmake[1]: [pre-build] Error 2 (ignored)
     
    Building file: "../mss_mmw.cfg"
    Invoking: XDCtools
    "D:/ti/xdctools_3_50_04_43_core/xs" --xdcpath="D:/ti/bios_6_53_02_00/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.R4F -p ti.platforms.cortexR:AWR16XX:false:200 -r debug -c "D:/ti/ti-cgt-arm_16.9.6.LTS" --compileOptions "--enum_type=int " "../mss_mmw.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (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 D:/workspace/vitalSigns_16xx_mss/src/sysbios/sysbios.aer4f ...
    gmake[1]: Entering directory `D:/workspace/vitalSigns_16xx_mss/src/sysbios'
    gmake[1]: Nothing to be done for `all'.
    gmake[1]: Leaving directory `D:/workspace/vitalSigns_16xx_mss/src/sysbios'
    Build of libraries done.
    cler4f package/cfg/mss_mmw_per4f.c ...
    Finished building: "../mss_mmw.cfg"
     
    Building file: "../mss_main.c"
    Invoking: ARM Compiler
    "D:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="D:/workspace/vitalSigns_16xx_mss" --include_path="D:/ti/mmwave_sdk_02_01_00_04" --include_path="D:/ti/mmwave_sdk_02_01_00_04/packages" --include_path="D:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=_LITTLE_ENDIAN --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0x40000 --define=DebugP_ASSERT_ENABLED -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=int --abi=eabi --preproc_with_compile --preproc_dependency="mss_main.d_raw" --cmd_file="configPkg/compiler.opt" "../mss_main.c"
     
    >> Compilation failure
    subdir_rules.mk:9: recipe for target 'mss_main.obj' failed
    "../mss_main.c", line 561: warning #169-D: argument of type "int32_t *" is incompatible with parameter of type "rlCalibrationData_t *"
    "../mss_main.c", line 561: error #167: too few arguments in function call
    1 error detected in the compilation of "../mss_main.c".
    gmake[1]: *** [mss_main.obj] Error 1
    Building file: "../cli.c"
    Invoking: ARM Compiler
    "D:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="D:/workspace/vitalSigns_16xx_mss" --include_path="D:/ti/mmwave_sdk_02_01_00_04" --include_path="D:/ti/mmwave_sdk_02_01_00_04/packages" --include_path="D:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=_LITTLE_ENDIAN --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0x40000 --define=DebugP_ASSERT_ENABLED -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=int --abi=eabi --preproc_with_compile --preproc_dependency="cli.d_raw" --cmd_file="configPkg/compiler.opt" "../cli.c"
    gmake[1]: Target 'main-build' not remade because of errors.
    gmake: *** [all] Error 2
    Finished building: "../cli.c"
     
    makefile:161: recipe for target 'all' failed

    **** Build Finished ****

    My Pre-requisites is as following:

  • Hello,

    please, show me mss_main.c lines from 555 to 570.
  • Dear Tom,

        /* Has the mmWave module been opened? */
        if (gMmwMssMCB.isMMWaveOpen == false)
        {
            /* Get the open configuration from the CLI mmWave Extension */
            CLI_getMMWaveExtensionOpenConfig (&gMmwMssMCB.cfg.openCfg);

            /* NO: Setup the calibration frequency: */
            gMmwMssMCB.cfg.openCfg.freqLimitLow  = 760U;
            gMmwMssMCB.cfg.openCfg.freqLimitHigh = 810U;

            /* Open the mmWave module: */
            if (MMWave_open (gMmwMssMCB.ctrlHandle, &gMmwMssMCB.cfg.openCfg, &errCode) < 0)
            {
                System_printf ("Error: MMWDemoMSS mmWave open configuration failed [Error code %d]\n", errCode);
                return -1;
            }

            /* mmWave module has been opened. */
            gMmwMssMCB.isMMWaveOpen = true;
        }
        else
        {

    Thank you so much,

    Yi

  • Please, deleate your project from the workspace with "Delete project contents on disk ..." marked ON.
    Then, import your projects again, switch mmWave SDK to version 2.00.00.04 and try to compile.
  • Yi,

    Is this issue resolved?

    I just confirmed that the lab project builds without errors with the following configuration:

    CCS 8.3
    mmWave SDK 2.00.00.04
    Automotive Toolbox 2.4.3


    Please follow the steps below and let us know if you still have problems.

    1) Open a new workspace in CCS

    2) From Resource Explorer (menu View->Resource Explorer), navigate to Driver Vital Signs lab, and import it into IDE

    3)  In Project Properties->Products tab, ensure the SDK version selected is 2.00.00.04.

    4) Build project.

  • Dear Tom,

    Where can I get the SDK 2.00.00.04? I find there are only SDK2.00.00.01, but it cannot download, so I download the SDK2.01.00.04。

    I find them there:www.ti.com/.../mmwave-sdk

    Thank  you so much,

    Yi

  • Dear Tom,

    Where can I get the SDK 2.00.00.04? I find there are only SDK2.00.00.01, but it cannot download, so I download the SDK2.01.00.04。

    I find them there:www.ti.com/.../mmwave-sdk

    Thank you so much,

    Yi
  • Go to the www page link to which you have provided.
    Press "Get Software", go to the bottom and select "Link to previous release download page".
    Again to the bottom, than select "Link to previous release download page" and repeat that until you get a link to SDK v2.00.00.04.
  • Dear Tom,

    Thank you so much for patient answer,

    I pass the building as your guilding,

    BTW, what is the different between the mss project and the dss project,

    Thanks again,

    Yi

  • user5165330 said:
    BTW, what is the different between the mss project and the dss project,

    They are for different MCU cores.
    Read your MCU and SDK manuals.