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/IWR1642BOOST: IWR1642BOOST

Part Number: IWR1642BOOST

Tool/software: Code Composer Studio

Hi,

When I build the High accuracy lab project of mmwave sdk 1.6.2 on CCSV8. It is giving some error. could u pls tell me what I have to do. since I want to modify The main .c code and test.

LOGS: ATTACHED FOR REFERENCE


*


**** Build of configuration Debug for project high_accuracy_16xx_lab ****

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

rm -f C:/Users/320023522/workspace_v83u/high_accuracy_16xx_lab/xwr16xx_high_accuracy_16xx_lab_mss.bin
makefile:187: recipe for target 'pre-build' failed
process_begin: CreateProcess(NULL, rm -f C:/Users/320023522/workspace_v83u/high_accuracy_16xx_lab/xwr16xx_high_accuracy_16xx_lab_mss.bin, ...) failed.

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

Building file: "../mss_mmw.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_50_01_12_core/xs" --xdcpath="C:/ti/bios_6_53_02_00/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.R4F -p ti.platforms.cortexR:IWR16XX:false:200 -r release -c "C:/ti/ti-cgt-arm_16.9.6.LTS" "../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 C:/Users/320023522/workspace_v83u/high_accuracy_16xx_lab/src/sysbios/sysbios.aer4f ...
gmake[1]: Entering directory `C:/Users/320023522/workspace_v83u/high_accuracy_16xx_lab/src/sysbios'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `C:/Users/320023522/workspace_v83u/high_accuracy_16xx_lab/src/sysbios'
Build of libraries done.
cler4f package/cfg/mss_mmw_per4f.c ...
Finished building: "../mss_mmw.cfg"

Building file: "../cycle_measure.c"
Invoking: ARM Compiler
"C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/320023522/workspace_v83u/high_accuracy_16xx_lab" --include_path="C:/ti/mmwave_sdk_01_02_00_05" --include_path="C:/ti/mmwave_sdk_01_02_00_05/packages" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=_LITTLE_ENDIAN --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="cycle_measure.d_raw" --cmd_file="configPkg/compiler.opt" "../cycle_measure.c"
Finished building: "../cycle_measure.c"

Building file: "../cli.c"
Invoking: ARM Compiler
"C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/320023522/workspace_v83u/high_accuracy_16xx_lab" --include_path="C:/ti/mmwave_sdk_01_02_00_05" --include_path="C:/ti/mmwave_sdk_01_02_00_05/packages" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=_LITTLE_ENDIAN --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="cli.d_raw" --cmd_file="configPkg/compiler.opt" "../cli.c"

>> Compilation failure
subdir_rules.mk:9: recipe for target 'cli.obj' failed
"..\mss_mmw.h", line 196: error #20: identifier "Mailbox_Handle" is undefined
1 error detected in the compilation of "../cli.c".
gmake[1]: *** [cli.obj] Error 1
Building file: "../mss_main.c"
Invoking: ARM Compiler
"C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/320023522/workspace_v83u/high_accuracy_16xx_lab" --include_path="C:/ti/mmwave_sdk_01_02_00_05" --include_path="C:/ti/mmwave_sdk_01_02_00_05/packages" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=_LITTLE_ENDIAN --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="mss_main.d_raw" --cmd_file="configPkg/compiler.opt" "../mss_main.c"

>> Compilation failure
subdir_rules.mk:23: recipe for target 'mss_main.obj' failed
"..\mss_mmw.h", line 196: error #20: identifier "Mailbox_Handle" is undefined
"../mss_main.c", line 653: error #20: identifier "Mailbox_Handle" is undefined
"../mss_main.c", line 692: error #137: struct "MMWave_CtrlCfg_t" has no field "freqLimitLow"
"../mss_main.c", line 693: error #137: struct "MMWave_CtrlCfg_t" has no field "freqLimitHigh"
"../mss_main.c", line 764: error #137: struct "MMWave_CalibrationCfg_t" has no field "enableCalibration"
"../mss_main.c", line 765: error #137: struct "MMWave_CalibrationCfg_t" has no field "enablePeriodicity"
"../mss_main.c", line 766: error #137: struct "MMWave_CalibrationCfg_t" has no field "periodicTimeInFrames"
"../mss_main.c", line 1042: warning #515-D: a value of type "void (*)(uint16_t, uint16_t, uint16_t, uint8_t *)" cannot be assigned to an entity of type "MMWave_eventFxn"
"../mss_main.c", line 1048: warning #515-D: a value of type "void (*)(void)" cannot be assigned to an entity of type "MMWave_startFxn"
7 errors detected in the compilation of "../mss_main.c".
gmake[1]: *** [mss_main.obj] Error 1
Building file: "../radarOsal_malloc.c"
Invoking: ARM Compiler
"C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/320023522/workspace_v83u/high_accuracy_16xx_lab" --include_path="C:/ti/mmwave_sdk_01_02_00_05" --include_path="C:/ti/mmwave_sdk_01_02_00_05/packages" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=_LITTLE_ENDIAN --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="radarOsal_malloc.d_raw" --cmd_file="configPkg/compiler.opt" "../radarOsal_malloc.c"
gmake[1]: Target 'main-build' not remade because of errors.
gmake: *** [all] Error 2
Finished building: "../radarOsal_malloc.c"

makefile:153: recipe for target 'all' failed

**** Build Finished ****

  •  Hi,

    This was I think the toolbox ver problem. now I downloaded sdk 1.2 with ccsv8 and toolbox2.3.1

    It is debugging, but not able to generate the .xef4 file, I have only xer4f file foe ARM.

    Pls help me to get that file.Follwed same steps which was in mmwave demo pdf.

    build logh:


    **** Clean-only build of configuration Debug for project high_accuracy_16xx_mss ****

    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 clean -O

    DEL /F "xwr16xx_high_accuracy_mss.hex" "configPkg\linker.cmd" "configPkg\compiler.opt" "xwr16xx_high_accuracy_mss.xer4f"
    RMDIR /S/Q "configPkg\"
    DEL /F "cli.obj" "cycle_measure.obj" "mss_main.obj" "radarOsal_malloc.obj"
    DEL /F "cli.d" "cycle_measure.d" "mss_main.d" "radarOsal_malloc.d"
    Could Not Find C:\Users\320023522\workspace_v83\high_accuracy_16xx_mss\Debug\xwr16xx_high_accuracy_mss.hex
    Finished clean

    **** Build Finished ****

    **** Build of configuration Debug for project high_accuracy_16xx_mss ****

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

    rm -f C:/Users/320023522/workspace_v83/high_accuracy_16xx_mss/xwr16xx_high_accuracy_mss.bin
    makefile:188: recipe for target 'pre-build' failed
    process_begin: CreateProcess(NULL, rm -f C:/Users/320023522/workspace_v83/high_accuracy_16xx_mss/xwr16xx_high_accuracy_mss.bin, ...) failed.

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

    Building file: "../mss_mmw.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_50_04_43_core/xs" --xdcpath="C:/ti/bios_6_53_02_00/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.R4F -p ti.platforms.cortexR:IWR16XX:false:200 -r release -c "C:/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 C:/Users/320023522/workspace_v83/high_accuracy_16xx_mss/src/sysbios/sysbios.aer4f ...
    gmake[1]: Entering directory `C:/Users/320023522/workspace_v83/high_accuracy_16xx_mss/src/sysbios'
    gmake[1]: Nothing to be done for `all'.
    gmake[1]: Leaving directory `C:/Users/320023522/workspace_v83/high_accuracy_16xx_mss/src/sysbios'
    Build of libraries done.
    cler4f package/cfg/mss_mmw_per4f.c ...
    Finished building: "../mss_mmw.cfg"

    Building file: "../cycle_measure.c"
    Invoking: ARM Compiler
    "C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/320023522/workspace_v83/high_accuracy_16xx_mss" --include_path="C:/ti/mmwave_sdk_01_02_00_05" --include_path="C:/ti/mmwave_sdk_01_02_00_05/packages" --include_path="C:/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="cycle_measure.d_raw" --cmd_file="configPkg/compiler.opt" "../cycle_measure.c"
    Finished building: "../cycle_measure.c"

    Building file: "../radarOsal_malloc.c"
    Invoking: ARM Compiler
    "C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/320023522/workspace_v83/high_accuracy_16xx_mss" --include_path="C:/ti/mmwave_sdk_01_02_00_05" --include_path="C:/ti/mmwave_sdk_01_02_00_05/packages" --include_path="C:/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="radarOsal_malloc.d_raw" --cmd_file="configPkg/compiler.opt" "../radarOsal_malloc.c"
    Finished building: "../radarOsal_malloc.c"

    Building file: "../cli.c"
    Invoking: ARM Compiler
    "C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/320023522/workspace_v83/high_accuracy_16xx_mss" --include_path="C:/ti/mmwave_sdk_01_02_00_05" --include_path="C:/ti/mmwave_sdk_01_02_00_05/packages" --include_path="C:/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"
    Finished building: "../cli.c"

    Building file: "../mss_main.c"
    Invoking: ARM Compiler
    "C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/320023522/workspace_v83/high_accuracy_16xx_mss" --include_path="C:/ti/mmwave_sdk_01_02_00_05" --include_path="C:/ti/mmwave_sdk_01_02_00_05/packages" --include_path="C:/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"
    Finished building: "../mss_main.c"

    Building target: "xwr16xx_high_accuracy_mss.xer4f"
    Invoking: ARM Linker
    "C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --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 -z -m"xwr16xx_high_accuracy_mss.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ti-cgt-arm_16.9.6.LTS/lib" -i"C:/ti/mmwave_sdk_01_02_00_05/packages/ti/control/mmwave/lib" -i"C:/ti/mmwave_sdk_01_02_00_05/packages/ti/control/mmwavelink/lib" -i"C:/ti/mmwave_sdk_01_02_00_05/packages/ti/drivers/crc/lib" -i"C:/ti/mmwave_sdk_01_02_00_05/packages/ti/drivers/esm/lib" -i"C:/ti/mmwave_sdk_01_02_00_05/packages/ti/drivers/gpio/lib" -i"C:/ti/mmwave_sdk_01_02_00_05/packages/ti/drivers/osal/lib" -i"C:/ti/mmwave_sdk_01_02_00_05/packages/ti/drivers/pinmux/lib" -i"C:/ti/mmwave_sdk_01_02_00_05/packages/ti/drivers/mailbox/lib" -i"C:/ti/mmwave_sdk_01_02_00_05/packages/ti/drivers/dma/lib" -i"C:/ti/mmwave_sdk_01_02_00_05/packages/ti/drivers/soc/lib" -i"C:/ti/mmwave_sdk_01_02_00_05/packages/ti/drivers/uart/lib" -i"C:/ti/mmwave_sdk_01_02_00_05/packages/ti/utils/cli/lib" -i"C:/ti/ti-cgt-arm_16.9.6.LTS/include" --reread_libs --disable_auto_rts --diag_warning=225 --diag_wrap=off --display_error_number --warn_sections --xml_link_info="xwr16xx_high_accuracy_mss_linkInfo.xml" --rom_model --unused_section_elimination=on -o "xwr16xx_high_accuracy_mss.xer4f" "./cli.obj" "./cycle_measure.obj" "./mss_main.obj" "./radarOsal_malloc.obj" "../mss_mmw_linker.cmd" "../r4f_linker.cmd" -l"configPkg/linker.cmd" -llibosal_xwr16xx.aer4f -llibesm_xwr16xx.aer4f -llibgpio_xwr16xx.aer4f -llibsoc_xwr16xx.aer4f -llibmailbox_xwr16xx.aer4f -llibpinmux_xwr16xx.aer4f -llibcrc_xwr16xx.aer4f -llibDMA_xwr16xx.aer4f -llibuart_xwr16xx.aer4f -llibmmwavelink_xwr16xx.aer4f -llibmmwave_xwr16xx.aer4f -llibcli_xwr16xx.aer4f -lrtsv7R4_T_le_v3D16_eabi.lib -llibc.a
    <Linking>
    Finished building target: "xwr16xx_high_accuracy_mss.xer4f"

    C:/ti/mmwave_sdk_01_02_00_05/packages/scripts/ImageCreator/xwr16xx/out2rprc/out2rprc.exe xwr16xx_high_accuracy_mss.xer4f xwr16xx_high_accuracy_mss.bin
    Parsing the input object file, xwr16xx_high_accuracy_mss.xer4f.
    Appending zeros 0
    Appending zeros 256
    Appending zeros 80520
    File conversion complete!
    C:/ti/mmwave_sdk_01_02_00_05/packages/scripts/ImageCreator/xwr16xx/multicore_image_generator/MulticoreImageGen.exe LE 37 0x01020002 xwr16xx_high_accuracy_lab.bin 0x35510000 xwr16xx_high_accuracy_mss.bin 0xb5510000 C:/ti/mmwave_sdk_01_02_00_05/firmware/radarss/xwr16xx_radarss_rprc.bin 0xd5510000 C:/Users/320023522/workspace_v83/high_accuracy_16xx_dss/Debug/xwr16xx_high_accuracy_dss.bin
    Number of Input Files 3
    Error opening input image file! C:/Users/320023522/workspace_v83/high_accuracy_16xx_dss/Debug/xwr16xx_high_accuracy_dss.bin
    Number of zeros 40
    Number of zeros 24

    C:/ti/mmwave_sdk_01_02_00_05/packages/scripts/ImageCreator/xwr16xx/crc_multicore_image/crc_multicore_image.exe xwr16xx_high_accuracy_lab.bin xwr16xx_high_accuracy_lab.bin.tmp
    size of App Image is 279168 bytes
    cur_crc_read_addr 128
    cur_crc_read_addr 91712
    Failed to remove CRC temp file

    C:/ti/mmwave_sdk_01_02_00_05/packages/scripts/ImageCreator/append_bin_crc/gen_bincrc32.exe xwr16xx_high_accuracy_lab.bin
    >>>> Binary CRC32 = 4be93654 <<<<
    >>>> Total bytes in binary file 279172 <<<<

    **** Build Finished ****

  • It seems the problem is solved. Let me know if you still have question.

    Thanks and Regards,
    Michelle
  • Hi, I have IWR1642 ES1, and CCS V8 and mmwave sdk1.2.
    hen i tried to build the code of toolbox 1.6.2 it is giving those errors mentioned in first page.
    But in guide it is tild that it is tested with CCS7. but when i try to do it with CCS7 1.6.2 high accuracy toolbox, it is not able to load files due to errror telling IWR1642 is not detected.

    Pls help to solve this
  •  When I build toolbox 2.3.1 in ccs8 and got all bin files. It is loaded suceesfuly through ccs as well as uniflash.

    But when I load conifg file from C:\ti\mmwave_industrial_toolbox_2_3_1\labs\lab0005-high-accuracy-16xx\lab0005_high_accuracy_16xx_pjt\high acc test. After loading, I am not able see any lot and it is not showing sdk ver info, as shown bwlow.

  • Hi,

    Pls need your urgent support.

    I am trying to build the toolbox 1.6.2 in CCS8 for IWR1642 REVA. When I build High acc.dss, I am getting this build error but not able to make out why it is there. pls support to get rid of this.

    since I want to modify the, mss code. in present case mss code doent have any error. The error is attached for refernce.

  • According to the current ti resource explorer mmwave training tool webpage, snapshot see below:

    Please use the recommended version. When you install SDK, please make sure you have the recommended dsplib installed.

    Thanks and Regards,

    Michelle