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.
Tool/software:
I am referring to the “mmWave Image Creator User Guide” to combine separate MSS and DSS .binfiles into a single .bin file. I have successfully developed my MSS and DSS projects using CCS, compiled them, and generated the respective .bin files. In the Post-build steps of the MSS project, I added the following commands:
${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/out2rprc/out2rprc.exe vital_sign_detect_1843_mss.out vital_sign_detect_1843_mss.tmp ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/multicore_image_generator/MulticoreImageGen.exe LE 37 0x00000006 vital_sign_detection_1843.bin 0x35510000 vital_sign_detect_1843_mss.bin 0xb5510000 ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/firmware/radarss/xwr18xx_radarss_rprc.bin 0xd5510000 ${WORKSPACE_LOC}/vital_sign_detect_1843_dss/Debug/vital_sign_detect_1843_dss.bin ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/crc_multicore_image/crc_multicore_image.exe vital_sign_detection_1843.bin vital_sign_detection_1843.tmp ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/append_bin_crc/gen_bincrc32.exe vital_sign_detection_1843.bin
However, when I recompile the MSS project, the build process always stalls at 43%. Below is my build log:
**** Build of configuration Debug for project vital_sign_detect_1843_mss **** "C:\\ti\\ccs1240\\ccs\\utils\\bin\\gmake" -k -j 16 all -O Building file: "../mss.cfg" Invoking: XDCtools "C:/ti/xdctools_3_50_08_24_core/xs" --xdcpath="C:/ti/bios_6_73_01_01/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.R4F -p ti.platforms.cortexR:IWR68XX:false:200 -r release -c "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS" --compileOptions "--enum_type=int" "../mss.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.xer4f from package/cfg/mss_per4f.cfg ... generating custom ti.sysbios library makefile ... Starting build of library sources ... making C:/Users/allen/Documents/ccs_workspace/Vital_Sign_Detection_Workspace/vital_sign_detect_1843_mss/src/sysbios/sysbios.aer4f ... gmake[1]: Entering directory `C:/Users/allen/Documents/ccs_workspace/Vital_Sign_Detection_Workspace/vital_sign_detect_1843_mss/src/sysbios' cler4f C:/ti/bios_6_73_01_01/packages/ti/sysbios/BIOS.c ... asmer4f C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/arm/IntrinsicsSupport_asm.asm ... asmer4f C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/arm/TaskSupport_asm.asm ... asmer4f C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/arm/v7r/vim/Hwi_asm.sv7R ... asmer4f C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/arm/v7r/vim/Hwi_asm_switch.sv7R ... asmer4f C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/arm/exc/Exception_asm.asm ... asmer4f C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/arm/v7r/tms570/Core_asm.sv7R ... arer4f BIOS.obj arm_IntrinsicsSupport_asm.obj arm_TaskSupport_asm.obj vim_Hwi_asm.obj vim_Hwi_asm_switch.obj exc_Exception_asm.obj tms570_Core_asm.obj ... gmake[1]: Leaving directory `C:/Users/allen/Documents/ccs_workspace/Vital_Sign_Detection_Workspace/vital_sign_detect_1843_mss/src/sysbios' Build of libraries done. cler4f package/cfg/mss_per4f.c ... Finished building: "../mss.cfg" 1 file(s) copied. making ../src/sysbios/sysbios.aer4f ... gmake[1]: Nothing to be done for 'all'. rm -f "C:/Users/allen/Documents/ccs_workspace/Vital_Sign_Detection_Workspace/vital_sign_detect_1843_mss/Debug/vital_sign_detection_1843.bin" makefile:185: recipe for target 'pre-build' failed process_begin: CreateProcess(NULL, rm -f C:/Users/allen/Documents/ccs_workspace/Vital_Sign_Detection_Workspace/vital_sign_detect_1843_mss/Debug/vital_sign_detection_1843.bin, ...) failed. gmake[1]: [pre-build] Error 2 (ignored) making ../src/sysbios/sysbios.aer4f ... gmake[2]: Nothing to be done for 'all'. Building file: "../yuen_adcconfig.c" Invoking: Arm Compiler "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --opt_for_speed=1 --include_path="C:/Users/allen/Documents/ccs_workspace/Vital_Sign_Detection_Workspace/vital_sign_detect_1843_mss" --include_path="C:/ti/bios_6_73_01_01/packages/ti/posix/ccs" --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --include_path="C:/ti/mmwave_sdk_03_06_00_00-LTS/packages" --define=SOC_XWR18XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_NUM_BANK=8 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=OBJDET_NO_RANGE -g --diag_warning=225 --diag_wrap=off --display_error_number --enum_type=int --abi=eabi --obj_extension=.oer4f --preproc_with_compile --preproc_dependency="yuen_adcconfig.d_raw" --cmd_file="configPkg/compiler.opt" "../yuen_adcconfig.c" Finished building: "../yuen_adcconfig.c" Building file: "../yuen_rfparser.c" Invoking: Arm Compiler "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --opt_for_speed=1 --include_path="C:/Users/allen/Documents/ccs_workspace/Vital_Sign_Detection_Workspace/vital_sign_detect_1843_mss" --include_path="C:/ti/bios_6_73_01_01/packages/ti/posix/ccs" --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --include_path="C:/ti/mmwave_sdk_03_06_00_00-LTS/packages" --define=SOC_XWR18XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_NUM_BANK=8 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=OBJDET_NO_RANGE -g --diag_warning=225 --diag_wrap=off --display_error_number --enum_type=int --abi=eabi --obj_extension=.oer4f --preproc_with_compile --preproc_dependency="yuen_rfparser.d_raw" --cmd_file="configPkg/compiler.opt" "../yuen_rfparser.c" Finished building: "../yuen_rfparser.c" Building file: "../mss_main.c" Invoking: Arm Compiler "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --opt_for_speed=1 --include_path="C:/Users/allen/Documents/ccs_workspace/Vital_Sign_Detection_Workspace/vital_sign_detect_1843_mss" --include_path="C:/ti/bios_6_73_01_01/packages/ti/posix/ccs" --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --include_path="C:/ti/mmwave_sdk_03_06_00_00-LTS/packages" --define=SOC_XWR18XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_NUM_BANK=8 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=OBJDET_NO_RANGE -g --diag_warning=225 --diag_wrap=off --display_error_number --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" "../mss_main.c", line 620: warning #179-D: variable "retVal" was declared but never referenced "../mss_main.c", line 858: warning #552-D: variable "address" was set but never used "../mss_main.c", line 1057: warning #552-D: variable "event" was set but never used Finished building: "../mss_main.c" making ../src/sysbios/sysbios.aer4f ... gmake[3]: Nothing to be done for 'all'. Building target: "vital_sign_detect_1843_mss.out" Invoking: Arm Linker "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --opt_for_speed=1 --define=SOC_XWR18XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_NUM_BANK=8 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=DebugP_ASSERT_ENABLED --define=_LITTLE_ENDIAN --define=OBJDET_NO_RANGE -g --diag_warning=225 --diag_wrap=off --display_error_number --enum_type=int --abi=eabi --obj_extension=.oer4f -z -m"vital_sign_detect_1843_mss.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/lib" -i"C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/control/mmwave/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/control/mmwavelink/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/control/dpm/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/adcbuf/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/crc/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/dma/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/edma/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/esm/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/gpio/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/hwa/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/mailbox/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/osal/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/pinmux/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/soc/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/uart/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/qspi/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/qspiflash/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/utils/cli/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/utils/mathutils/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/datapath/dpu/rangeproc/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/datapath/dpedma/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/cbuff/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/utils/hsiheader/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/utils/rtrim/lib" --reread_libs --disable_auto_rts --define=MMWAVE_L3RAM_NUM_BANK=6 --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0 --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --diag_wrap=off --display_error_number --warn_sections --xml_link_info="vital_sign_detect_1843_mss_linkInfo.xml" --rom_model -o "vital_sign_detect_1843_mss.out" "./mss_main.oer4f" "./yuen_adcconfig.oer4f" "./yuen_rfparser.oer4f" "../mss_mmw_linker.cmd" "../r4f_linker.cmd" -l"configPkg/linker.cmd" -llibc.a -llibosal_xwr18xx.aer4f -llibesm_xwr18xx.aer4f -llibgpio_xwr18xx.aer4f -llibsoc_xwr18xx.aer4f -llibpinmux_xwr18xx.aer4f -llibcrc_xwr18xx.aer4f -llibuart_xwr18xx.aer4f -llibqspi_xwr18xx.aer4f -llibqspiflash_xwr18xx.aer4f -llibmailbox_xwr18xx.aer4f -llibmmwavelink_xwr18xx.aer4f -llibmmwave_xwr18xx.aer4f -llibadcbuf_xwr18xx.aer4f -llibdma_xwr18xx.aer4f -llibedma_xwr18xx.aer4f -llibcli_xwr18xx.aer4f -llibhwa_xwr18xx.aer4f -llibdpm_xwr18xx.aer4f -llibmathutils.aer4f -llibcbuff_xwr18xx.aer4f -llibhsiheader_xwr18xx.aer4f -llibrangeproc_hwa_xwr18xx.aer4f -llibdpedma_hwa_xwr18xx.aer4f -llibrtrimutils.aer4f -lrtsv7R4_T_le_v3D16_eabi.lib <Linking> Finished building target: "vital_sign_detect_1843_mss.out" C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/out2rprc/out2rprc.exe vital_sign_detect_1843_mss.out vital_sign_detect_1843_mss.tmp Parsing the input object file, vital_sign_detect_1843_mss.out. Appending zeros 0 Appending zeros 256 Appending zeros 70260 File conversion complete! C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/multicore_image_generator/MulticoreImageGen.exe LE 37 0x00000006 vital_sign_detection_1843.bin 0x35510000 vital_sign_detect_1843_mss.bin 0xb5510000 C:/ti/mmwave_sdk_03_06_00_00-LTS/firmware/radarss/xwr18xx_radarss_rprc.bin 0xd5510000 C:/Users/allen/Documents/ccs_workspace/Vital_Sign_Detection_Workspace/vital_sign_detect_1843_dss/Debug/vital_sign_detect_1843_dss.bin Number of Input Files 3 Number of zeros 48 Number of zeros 32 C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/crc_multicore_image/crc_multicore_image.exe vital_sign_detection_1843.bin vital_sign_detection_1843.tmp
What could be causing this issue, and how can I resolve it? Thank you for your help!
Hi Yuen,
You can refer to the following e2e's, a similar topic has been discussed here -
(3) AWR1843BOOST: mmwave SDK drivers test project - Sensors forum - Sensors - TI E2E support forums
Regards,
Shruti