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/IWR1642: mmWave SDK Demo - 16xx

Part Number: IWR1642

Tool/software: Code Composer Studio

I am trying to get the mmWave SDK Demo to compile in CCS on a Windows 10 vm. The DSS one compiles correctly but I am getting this post build error for the MSS demo:

C:/ti/mmwave_sdk_01_00_00_05/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_01_00_00_05/packages/scripts/ImageCreator/xwr16xx/multicore_image_generator/MulticoreImageGen.exe LE 37 0x01000005 xwr16xx_mmw.bin 0x35510000 xwr16xx_mmw_mss.bin 0xb5510000 C:/ti/mmwave_sdk_01_00_00_05/firmware/radarss/xwr16xx_radarss_rprc.bin 0xd5510000 C:/Users/IEUser/workspace_v7/mmw_dss/Debug/xwr16xx_mmw_dss.bin
Number of Input Files 3
Number of zeros 48
Number of zeros 8
Number of zeros 56

C:/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr16xx/crc_multicore_image/crc_multicore_image.exe xwr16xx_mmw.bin xwr16xx_mmw.bin.tmp
size of App Image is 412096 bytes
cur_crc_read_addr 128
cur_crc_read_addr 103040
cur_crc_read_addr 239232
Failed to remove CRC temp file

perl.exe C:/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr16xx/append_bin_crc/gen_bincrc32.pl xwr16xx_mmw.bin
makefile:188: recipe for target 'post-build' failed
' '
process_begin: CreateProcess(NULL, perl.exe C:/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr16xx/append_bin_crc/gen_bincrc32.pl xwr16xx_mmw.bin, ...) failed.
make (e=2): The system cannot find the file specified.

gmake[3]: [post-build] Error 2 (ignored)

**** Build Finished ****

Does anyone know what may be causing this error?

  • Hi Duncan,

    The simplest reason I can think about is that gmake is unable to find perl. Can you please ensure that you have perl installed and in the Windows Search Path (PATH environment variable) so that you can execute perl from any directory on the Windows Command Prompt?

    process_begin: CreateProcess(NULL, perl.exe C:/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr16xx/append_bin_crc/gen_bincrc32.pl xwr16xx_mmw.bin, ...) failed.

    make (e=2): The system cannot find the file specified.

    Regards

    -Nitin

  • To add to my previous post, If you have perl installed and available in the Windows Search path (this is critical as simply installing it will not help, you need to be able to execute perl from any directory), you should see the following output for a successful build:

    Please make that you have all the dependencies (including the required version of perl) as mentioned in the demo setup guide installed.

    C:/ti/mmwave_sdk_01_00_00_05/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_01_00_00_05/packages/scripts/ImageCreator/xwr16xx/multicore_image_generator/MulticoreImageGen.exe LE 37 0x01000005 xwr16xx_mmw.bin 0x35510000 xwr16xx_mmw_mss.bin 0xb5510000 C:/ti/mmwave_sdk_01_00_00_05/firmware/radarss/xwr16xx_radarss_rprc.bin 0xd5510000 C:/Users/a0272655/workspace_v7/mmw_dss/Debug/xwr16xx_mmw_dss.bin

    Number of Input Files 3

    Number of zeros 48

    Number of zeros 8

    Number of zeros 56

    C:/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr16xx/crc_multicore_image/crc_multicore_image.exe xwr16xx_mmw.bin xwr16xx_mmw.bin.tmp

    size of App Image is 412096 bytes

    cur_crc_read_addr 128

    cur_crc_read_addr 103040

    cur_crc_read_addr 239232

    Failed to remove CRC temp file

    perl.exe C:/ti/mmwave_sdk_01_00_00_05/packages/scripts/ImageCreator/xwr16xx/append_bin_crc/gen_bincrc32.pl xwr16xx_mmw.bin

    >>>> Binary CRC32 = 33440762 <<<<

    >>>> Total bytes in binary file 412100 <<<<

    ' '

  • Hi Duncan,

    Noticed that you have marked the answer as verified so I assume that you were able to build the demo. If so, can we close this thread? Please open a new thread if you have further questions.

    Thanks
    -Nitin
  • Yes, that solved my problem. The thread can be closed