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

Part Number: IWR1443BOOST
Other Parts Discussed in Thread: MMWAVE-SDK

Tool/software: Code Composer Studio

Hi,

I am trying to build 4k FFT demo in CCS7.3 on Linux ubantu 16.04. The mmwave sdk version is mmwave_sdk_01_00_00_05. Using resource manager, I am able to import the project and able to build.

But build is failing in post build steps and following error is displayed.

======================================================================================

<Linking>
Finished building target: xwr14xx_4k_fft_lab_mss.xer4f
 
/home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe xwr14xx_4k_fft_lab_mss.xer4f xwr14xx_4k_fft_lab_mss.bin 0x200000
makefile:195: recipe for target 'post-build' failed
/home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: 1: /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: MZ����@���: not found
/home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: 2: /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: : not found
/home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: 1: /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: .rsrc�: not found
/home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: 2: /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: ~�X��BN�: not found
/home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: 131: /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: �-X�-o7: not found
/home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: 132: /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: {�r�p�: not found
/home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: 132: /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: o7: not found
/home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: 133: /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: Syntax error: "(" unexpected
gmake[3]: [post-build] Error 2 (ignored)
gmake[3]: perl.exe: Command not found
gmake[3]: [post-build] Error 127 (ignored)
perl.exe /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/append_bin_crc/gen_bincrc32.pl xwr14xx_4k_fft_lab_mss.bin
makefile:195: recipe for target 'post-build' failed
 

**** Build Finished ****

======================================================================================

The post build setps are defined as follows.

=====================================================================================

${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/${MMWAVE_SDK_DEVICE}/out2rprc/out2rprc.exe ${MMWAVE_SDK_DEVICE}_${ProjName}_mss.xer4f ${MMWAVE_SDK_DEVICE}_${ProjName}_mss.bin ${LOAD_ADDRESS}
perl.exe ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/${MMWAVE_SDK_DEVICE}/append_bin_crc/gen_bincrc32.pl ${MMWAVE_SDK_DEVICE}_${ProjName}_mss.bin

====================================================================================

It looks like that I need to put proper post build steps in project settings. Can any one help to resolve this?

Thanks,

Shailendra

  • Hello Shailendra,

    At first look it seems like the complaint is about missing perl.exe.
    Do you have perl installed on linux machine and included in the PATH variable for you environment.

    Thank you,
    Vaibhav
  • Hi Vaibhav,

    perl is installed on Linux machine and it is in PATH. The perl version is v5.22.1. I wonder how perl is referred as perl.exe on linux build system. Anyway, I also tried to fix the issue by making copy of perl by name of perl.exe and keeping it /usr/bin/. I got following errors.

    =======================================================
    <Linking>
    Finished building target: xwr14xx_4k_fft_lab_mss.xer4f

    /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe xwr14xx_4k_fft_lab_mss.xer4f xwr14xx_4k_fft_lab_mss.bin 0x200000
    makefile:195: recipe for target 'post-build' failed
    /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: 1: /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: MZ����@���: not found
    /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: 2: /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: : not found
    /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: 1: /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: .rsrc�: not found
    /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: 2: /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: ~�X��BN�: not found
    /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: 131: /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: �-X�-o7: not found
    /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: 132: /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: {�r�p�: not found
    /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: 132: /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: o7: not found
    /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: 133: /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/out2rprc/out2rprc.exe: Syntax error: "(" unexpected
    gmake[3]: [post-build] Error 2 (ignored)
    Can't locate Digest/CRC.pm in @INC (you may need to install the Digest::CRC module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/append_bin_crc/gen_bincrc32.pl line 58.
    BEGIN failed--compilation aborted at /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/append_bin_crc/gen_bincrc32.pl line 58.
    gmake[3]: [post-build] Error 2 (ignored)
    perl.exe /home/shailen/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr14xx/append_bin_crc/gen_bincrc32.pl xwr14xx_4k_fft_lab_mss.bin
    makefile:195: recipe for target 'post-build' failed


    **** Build Finished ****



    ===================================================

    Any clue?

    Thanks,
    Shailendra
  • Shailendra,

    Before building the 4K fft lab, have you tried the mmwave-sdk for 14xx demo which is also available in tirex? 

    This would give us a clue if it's related to mmwave sdk environment or 4k fft lab.

    Thanks

    Regards,

    Michelle

  • Hi Michelle,

    I tried mmwave-sdk but unfortunately, the CCS project under 14xx demo is empty. The link to CCS project does not exits when I try to download using resource explorer. 

    Thanks,

    Shailendra

  • Shailendra,

    For the latest tirex, "mmWave SDK demo - 14xx" is located under Software/mmWave Training-v1.5.5/labs.

    Regards,
    Michelle
  • Hi,

    I looked in the same folder. But "CCS" does not have link which can be opened.

    Thanks,

    Shailendra

  • The Issue is resolved after installing crc.pm using following commands. Perl was installed already.

    > cpan

    > install Digest::CRC

    Thanks,

    Shailendra

  • Glad it's solved. Thanks for letting me know.

    Regards,
    Michelle