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.

AWR1843BOOST: Issue with generating binary file with mrr_18xx_mss Example on Ubuntu 20.04 with CCS

Part Number: AWR1843BOOST
Other Parts Discussed in Thread: SYSBIOS

The "mrr_18xx_mss" example in the radar toolbox is getting successfully compiled and I am able to generate the "mrr_18xx_mss.xer4f" binary. However, in the example there is a post-build step  

out2rprc.exe mrr_18xx_mss.xer4f mrr_18xx_mss.bin

As this is only an exe file, it does not execute in the Linux environment. I checked the toolbox and there does not exists any Linux executable for this. Please advise on how to proceed.

Detailed Logs Here:


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

/home/pallab/ti/ccs1230/ccs/utils/bin/gmake -k -j 20 clean -O

rm -rf "configPkg/linker.cmd" "configPkg/compiler.opt" "mrr_18xx_mss.xer4f"
rm -rf "mss_main.obj" "mss_mrr_cli.obj" "common/cfg.obj"
rm -rf "mss_main.d" "mss_mrr_cli.d" "common/cfg.d"
rm -rf "configPkg/"
Finished clean

**** Build Finished ****

**** Build of configuration Debug for project mrr_18xx_mss ****

/home/pallab/ti/ccs1230/ccs/utils/bin/gmake -k -j 20 all -O

rm -f /home/pallab/Developer/ccs_workspace/mrr_18xx_mss/mrr_18xx_mss.bin

Building file: "../mss_mrr.cfg"
Invoking: XDCtools
"/home/pallab/ti/xdctools_3_50_08_24_core/xs" --xdcpath="/home/pallab/ti/bios_6_73_01_01/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.R4F -p ti.platforms.cortexR:AWR16XX:false:200 -r release -c "/home/pallab/ti/ti-cgt-arm_16.9.6.LTS" --compileOptions "--enum_type=int " "../mss_mrr.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_mrr.xer4f from package/cfg/mss_mrr_per4f.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making /home/pallab/Developer/ccs_workspace/mrr_18xx_mss/src/sysbios/sysbios.aer4f ...
gmake[1]: Entering directory `/home/pallab/Developer/ccs_workspace/mrr_18xx_mss/src/sysbios'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/home/pallab/Developer/ccs_workspace/mrr_18xx_mss/src/sysbios'
Build of libraries done.
cler4f package/cfg/mss_mrr_per4f.c ...
Finished building: "../mss_mrr.cfg"

Building file: "../common/cfg.c"
Invoking: Arm Compiler
"/home/pallab/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="/home/pallab/Developer/ccs_workspace/mrr_18xx_mss" --include_path="/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS" --include_path="/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages" --include_path="/home/pallab/ti/ti-cgt-arm_16.9.6.LTS/include" --define=_LITTLE_ENDIAN --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=SOC_XWR18XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=SHMEM_ALLOC=0x00000008 --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="common/cfg.d_raw" --obj_directory="common" --cmd_file="configPkg/compiler.opt" "../common/cfg.c"
Finished building: "../common/cfg.c"

Building file: "../mss_mrr_cli.c"
Invoking: Arm Compiler
"/home/pallab/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="/home/pallab/Developer/ccs_workspace/mrr_18xx_mss" --include_path="/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS" --include_path="/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages" --include_path="/home/pallab/ti/ti-cgt-arm_16.9.6.LTS/include" --define=_LITTLE_ENDIAN --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=SOC_XWR18XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=SHMEM_ALLOC=0x00000008 --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_mrr_cli.d_raw" --cmd_file="configPkg/compiler.opt" "../mss_mrr_cli.c"
Finished building: "../mss_mrr_cli.c"

Building file: "../mss_main.c"
Invoking: Arm Compiler
"/home/pallab/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="/home/pallab/Developer/ccs_workspace/mrr_18xx_mss" --include_path="/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS" --include_path="/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages" --include_path="/home/pallab/ti/ti-cgt-arm_16.9.6.LTS/include" --define=_LITTLE_ENDIAN --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=SOC_XWR18XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=SHMEM_ALLOC=0x00000008 --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: "mrr_18xx_mss.xer4f"
Invoking: Arm Linker
"/home/pallab/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --define=_LITTLE_ENDIAN --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=SOC_XWR18XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=SHMEM_ALLOC=0x00000008 --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"mrr_18xx_mss.map" --heap_size=0x800 --stack_size=0x800 -i"/home/pallab/ti/ti-cgt-arm_16.9.6.LTS/lib" -i"/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/control/mmwave/lib" -i"/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/control/mmwavelink/lib" -i"/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/crc/lib" -i"/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/esm/lib" -i"/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/gpio/lib" -i"/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/osal/lib" -i"/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/pinmux/lib" -i"/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/mailbox/lib" -i"/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/dma/lib" -i"/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/soc/lib" -i"/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/uart/lib" -i"/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/canfd/lib" -i"/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/utils/cli/lib" -i"/home/pallab/ti/ti-cgt-arm_16.9.6.LTS/include" --reread_libs --disable_auto_rts --define=MMWAVE_L3RAM_SIZE=0x100000 --diag_warning=225 --diag_wrap=off --display_error_number --warn_sections --xml_link_info="mrr_18xx_mss.xml" --rom_model --unused_section_elimination=on -o "mrr_18xx_mss.xer4f" "./mss_main.obj" "./mss_mrr_cli.obj" "./common/cfg.obj" "../mss_mrr_linker.cmd" "../r4f_linker.cmd" -l"configPkg/linker.cmd" -llibosal_xwr18xx.aer4f -llibesm_xwr18xx.aer4f -llibgpio_xwr18xx.aer4f -llibsoc_xwr18xx.aer4f -llibmailbox_xwr18xx.aer4f -llibpinmux_xwr18xx.aer4f -llibcrc_xwr18xx.aer4f -llibDMA_xwr18xx.aer4f -llibuart_xwr18xx.aer4f -llibcanfd_xwr18xx.aer4f -llibmmwavelink_xwr18xx.aer4f -llibmmwave_xwr18xx.aer4f -llibcli_xwr18xx.aer4f -lrtsv7R4_T_le_v3D16_eabi.lib -llibc.a
<Linking>
Finished building target: "mrr_18xx_mss.xer4f"

/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/out2rprc/out2rprc.exe mrr_18xx_mss.xer4f mrr_18xx_mss.bin
makefile:181: recipe for target 'post-build' failed
/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/out2rprc/out2rprc.exe: 1: MZ����@���: not found
/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/out2rprc/out2rprc.exe: 177: r�po9: not found
/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/out2rprc/out2rprc.exe: 178: �,X�,o6: not found
/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/out2rprc/out2rprc.exe: 180: {��r�p�:o6
{��r�po9: not found
/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/out2rprc/out2rprc.exe: 181: Syntax error: word unexpected (expecting ")")
/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/out2rprc/out2rprc.exe: 177: r�p{: not found
gmake[3]: [post-build] Error 2 (ignored)
/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/out2rprc/out2rprc.exe: 1: .rsrc�: not found
/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/out2rprc/out2rprc.exe: 2: ��WW��BN�: not found
/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/multicore_image_generator/MulticoreImageGen.exe: 1: MZ����@���: not found
/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/multicore_image_generator/MulticoreImageGen.exe: 1: P: not found
/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/multicore_image_generator/MulticoreImageGen.exe: 2: ��PX�/�����@: not found
/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/multicore_image_generator/MulticoreImageGen.exe LE 37 0x00000008 xwr18xx_mrr_demo.bin 0x35510000 /home/pallab/Developer/ccs_workspace/mrr_18xx_mss/Debug/mrr_18xx_mss.bin 0xb5510000 /home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/firmware/radarss/xwr18xx_radarss_rprc.bin 0xd5510000 /home/pallab/Developer/ccs_workspace/mrr_18xx_dss/Debug/mrr_18xx_dss.bin
makefile:181: recipe for target 'post-build' failed
/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/multicore_image_generator/MulticoreImageGen.exe: 9: Syntax error: "(" unexpected (expecting ")")
gmake[3]: [post-build] Error 2 (ignored)
/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/crc_multicore_image/crc_multicore_image.exe xwr18xx_mrr_demo.bin xwr18xx_mrr_demo.bin.tmp
makefile:181: recipe for target 'post-build' failed
/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/crc_multicore_image/crc_multicore_image.exe: 1: MZ����@���: not found
/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/crc_multicore_image/crc_multicore_image.exe: 2: ��PX�:�����@0��: not found
/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/crc_multicore_image/crc_multicore_image.exe: 1: P: not found
/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/crc_multicore_image/crc_multicore_image.exe: 2: ,.text���.data,��@0�.rdata�: not found
/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/crc_multicore_image/crc_multicore_image.exe: 11: Syntax error: "(" unexpected
gmake[3]: [post-build] Error 2 (ignored)
gmake[3]: execvp: /home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/append_bin_crc/gen_bincrc32.exe: Permission denied
gmake[3]: [post-build] Error 127 (ignored)
/home/pallab/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/append_bin_crc/gen_bincrc32.exe xwr18xx_mrr_demo.bin
makefile:181: recipe for target 'post-build' failed

**** Build Finished ****

  • Hello Palab,

    The intended use of this was for windows. You can refer the following file in the SDK and build the metaimage from: C:\ti\mmwave_sdk_03_06_00_00-LTS\packages\scripts\unix\generateMetaImage.sh
    Here you can see how the out2rprc is invoked for Linux based systems.

    Regards,
    Saswat Kumar