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/CODECOMPOSER: My project of AWR1642 mss project can't be built in my laptop in CCSv8.3

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

Hello :

We have met some problems when building the official CCS project downloaded from mmwave_industrial_toolbox_3_2_0. The building process just stop in the step of combining the xwr16xx_mmw_mss.bin and xwr16xx_mmw_dss.bin. I waited for nearly 2 hours but it doesn't continue the process.What's the problem?

Thank you.

Console Messages:

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


**** Build of configuration Debug for project mmw_mss_16xx ****

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

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

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 D:/PROGRA~2/ti_workspace_v8/mmw_mss_16xx/src/sysbios/sysbios.aer4f ...
gmake[1]: Entering directory `D:/PROGRA~2/ti_workspace_v8/mmw_mss_16xx/src/sysbios'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `D:/PROGRA~2/ti_workspace_v8/mmw_mss_16xx/src/sysbios'
Build of libraries done.
cler4f package/cfg/mss_mmw_per4f.c ...
Finished building: "../mss_mmw.cfg"

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="D:/programme file/ti_workspace_v8/mmw_mss_16xx" --include_path="C:/ti/mmwave_sdk_02_00_00_04/packages" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=MMWAVE_L3RAM_SIZE=0xC0000 -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=int --abi=eabi --obj_extension=.oer4f --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="D:/programme file/ti_workspace_v8/mmw_mss_16xx" --include_path="C:/ti/mmwave_sdk_02_00_00_04/packages" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=MMWAVE_L3RAM_SIZE=0xC0000 -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=int --abi=eabi --obj_extension=.oer4f --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_mmw_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=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=MMWAVE_L3RAM_SIZE=0xC0000 -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=int --abi=eabi --obj_extension=.oer4f -z -m"xwr16xx_mmw_mss.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ti-cgt-arm_16.9.6.LTS/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/control/mmwave/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/control/mmwavelink/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/crc/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/dma/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/esm/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/gpio/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/mailbox/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/osal/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/pinmux/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/soc/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/uart/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/utils/cli/lib" -i"C:/ti/ti-cgt-arm_16.9.6.LTS/include" --reread_libs --disable_auto_rts --define=MMWAVE_L3RAM_SIZE=0xC0000 --diag_warning=225 --diag_wrap=off --display_error_number --warn_sections --xml_link_info="xwr16xx_mmw_mss_linkInfo.xml" --rom_model --unused_section_elimination=on -o "xwr16xx_mmw_mss.xer4f" "./cli.oer4f" "./mss_main.oer4f" "../mss_mmw_linker.cmd" "../r4f_linker.cmd" -l"configPkg/linker.cmd" -llibosal_xwr16xx.aer4f -llibesm_xwr16xx.aer4f -llibgpio_xwr16xx.aer4f -llibsoc_xwr16xx.aer4f -llibpinmux_xwr16xx.aer4f -llibcrc_xwr16xx.aer4f -llibdma_xwr16xx.aer4f -llibuart_xwr16xx.aer4f -llibmailbox_xwr16xx.aer4f -llibmmwavelink_xwr16xx.aer4f -llibmmwave_xwr16xx.aer4f -llibcli_xwr16xx.aer4f -lrtsv7R4_T_le_v3D16_eabi.lib -llibc.a
<Linking>
Finished building target: "xwr16xx_mmw_mss.xer4f"

C:/ti/mmwave_sdk_02_00_00_04/packages/scripts/ImageCreator/xwr16xx/out2rprc/out2rprc.exe xwr16xx_mmw_mss.xer4f xwr16xx_mmw_mss.bin
Parsing the input object file, xwr16xx_mmw_mss.xer4f.
Appending zeros 0
Appending zeros 256
File conversion complete!
C:/ti/mmwave_sdk_02_00_00_04/packages/scripts/ImageCreator/xwr16xx/multicore_image_generator/MulticoreImageGen.exe LE 37 0x00000006 xwr16xx_mmw.bin 0x35510000 xwr16xx_mmw_mss.bin 0xb5510000 C:/ti/mmwave_sdk_02_00_00_04/firmware/radarss/xwr16xx_radarss_rprc.bin 0xd5510000 D:/programme file/ti_workspace_v8/mmw_dss_16xx/Debug/xwr16xx_mmw_dss.bin

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

  • Hi,
    Is this default application you have ported to CCS from toolbox folder which is not building?
    Could you once remove these command steps from CCS project "properties ->Build->Steps" and try running manually from command prompt to see it works from CMD-propmt (outside of CCS).

    ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/xwr16xx/out2rprc/out2rprc.exe xwr16xx_mmw_mss.xer4f xwr16xx_mmw_mss.bin
    ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/xwr16xx/multicore_image_generator/MulticoreImageGen.exe LE 37 0x00000006 xwr16xx_mmw.bin 0x35510000 xwr16xx_mmw_mss.bin 0xb5510000 ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/firmware/radarss/xwr16xx_radarss_rprc.bin 0xd5510000 ${WORKSPACE_LOC}/mmw_dss_16xx/Debug/xwr16xx_mmw_dss.bin
    ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/xwr16xx/crc_multicore_image/crc_multicore_image.exe xwr16xx_mmw.bin xwr16xx_mmw.bin.tmp
    ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/append_bin_crc/gen_bincrc32.exe xwr16xx_mmw.bin


    Regards,
    Jitendra
  • I delete the latter three build command
    ---------------
    ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/xwr16xx/multicore_image_generator/MulticoreImageGen.exe LE 37 0x00000006 xwr16xx_mmw.bin 0x35510000 xwr16xx_mmw_mss.bin 0xb5510000 ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/firmware/radarss/xwr16xx_radarss_rprc.bin 0xd5510000 ${WORKSPACE_LOC}/mmw_dss_16xx/Debug/xwr16xx_mmw_dss.bin
    ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/xwr16xx/crc_multicore_image/crc_multicore_image.exe xwr16xx_mmw.bin xwr16xx_mmw.bin.tmp
    ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/append_bin_crc/gen_bincrc32.exe xwr16xx_mmw.bin
    -------------------
    and it works well. Composer could generate xwr16xx_mmw_dss.bin and xwr16xx_mmw_mss.bin, only has problems in generating xwr16xx_mmw.bin.
    I try it in a desktop, project could be built. Maybe there's something wrong with my laptop.

    Thanks.