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/AWR1642: mmWave SDK Compile error

Part Number: AWR1642

Tool/software: Code Composer Studio

Hi,
      I setup mmWave SDK step by step following user guide. However, when do "gmake clean" and "gmake all", it shows error as following. It seems some file/directory is missing.
      Could you help me how to identify the missed file/directory ? Thanks. 
Martin
C:\ti\mmwave_sdk_01_00_00_05\packages\ti\demo\xwr16xx\mmw>gmake clean
'Cleaning the MSS Millimeter Wave Demo Objects'
process_begin: CreateProcess(NULL, rm -f obj_xwr16xx/mss_main.oer4f obj_xwr16xx/cli.oer4f xwr16xx_mmw_demo_mss.map xwr16xx_mmw_demo_mss.xer4f xwr16xx_mmw_demo_mss.bin obj_xwr16xx/mss_main.d obj_xwr16xx/cli.d mss_mmw_per4f.rov.xs, ...) failed.
make (e=2): 系統找不到指定的檔案。
gmake: *** [mss/mss_mmw.mak:87: mssDemoClean] Error 2
C:\ti\mmwave_sdk_01_00_00_05\packages\ti\demo\xwr16xx\mmw>gmake all
'Configuring RTSC packages...'
xs --xdcpath="" xdc.tools.configuro -t ti.targets.arm.elf.R4F -p ti.platforms.cortexR:AWR16XX:false:200 -r release -c C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.1.LTS -o mss/mmw_configPkg_xwr16xx mss/mss_mmw.cfg
process_begin: CreateProcess(NULL, xs --xdcpath= xdc.tools.configuro -t ti.targets.arm.elf.R4F -p ti.platforms.cortexR:AWR16XX:false:200 -r release -c C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.1.LTS -o mss/mmw_configPkg_xwr16xx mss/mss_mmw.cfg, ...) failed.
make (e=2): 系統找不到指定的檔案。
gmake: *** [mss/mss_mmw.mak:62: mssDemoRTSC] Error 2
  • Hello Martin,

    Have you followed "Sec 4.4.2 Setting up build environment"  for Windows environment ?

    This error would occur if your environment variables are not set properly or if you have missed installing any of the tools required for build.

    Are you getting below message when you execute "mmwave_sdk_setupenv.bat" ?

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

    mmWave Build Environment Configured

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

    Regards,

    Raghu

  • Hi Raghu,

    Problem fixed now, thanks for your help.
    But still have problem as following :
    Can you give me some suggestion ?

    Martin

    ******************************************************************************
    Built the DSS Millimeter Wave OUT & BIN Formats
    ******************************************************************************
    c:/ti/mmwave_sdk_01_00_00_05/packages\scripts\ImageCreator\xwr16xx\multicore_image_generator\MulticoreImageGen.exe LE 37 0x01000005 xwr16xx_mmw_demo.bin 0x35510000 xwr16xx_mmw_demo_mss.bin 0xb5510000 c:/ti/mmwave_sdk_01_00_00_05/packages/../firmware/radarss/xwr16xx_radarss_rprc.bin 0xd5510000 xwr16xx_mmw_demo_dss.bin
    Number of Input Files 3
    Number of zeros 48
    Number of zeros 8
    Number of zeros 56

    call c:/ti/mmwave_sdk_01_00_00_05/packages\scripts\ImageCreator\xwr16xx\crc_multicore_image\crc_multicore_image.exe xwr16xx_mmw_demo.bin xwr16xx_mmw_demo.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 c:/ti/mmwave_sdk_01_00_00_05/packages\scripts\ImageCreator\xwr16xx\append_bin_crc\gen_bincrc32.pl xwr16xx_mmw_demo.bin
    Digest/CRC.pm did not return a true value at c:/ti/mmwave_sdk_01_00_00_05/packages\scripts\ImageCreator\xwr16xx\append_bin_crc\gen_bincrc32.pl line 58.
    BEGIN failed--compilation aborted at c:/ti/mmwave_sdk_01_00_00_05/packages\scripts\ImageCreator\xwr16xx\append_bin_crc\gen_bincrc32.pl line 58.
    gmake: *** [mmwDemo] Error 255

    C:\ti\mmwave_sdk_01_00_00_05\packages\ti\demo\xwr16xx\mmw>
  • Martin,

    You seem to have missed the step to obtain CRC.pm and the Perl installation is missing the "Digest" lib.

    Obtain CRC.pm (http://cpansearch.perl.org/src/OLIMAUL/Digest-CRC-0.21/lib/Digest/CRC.pm) and copy it to your Perl installation's

    lib\Digest path. ex: C:\Strawberry\perl\lib\Digest

    I assume you have installed the StrawberryPerl .

    -Raghu

  • Hi Raghu,
    Problem fixed. Thanks.
    Regards,
    Martin

    call c:/ti/mmwave_sdk_01_00_00_05/packages\scripts\ImageCreator\xwr16xx\crc_multicore_image\crc_multicore_image.exe xwr16xx_mmw_demo.bin xwr16xx_mmw_demo.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 c:/ti/mmwave_sdk_01_00_00_05/packages\scripts\ImageCreator\xwr16xx\append_bin_crc\gen_bincrc32.pl xwr16xx_mmw_demo.bin
    >>>> Binary CRC32 = 7f54f6dc <<<<
    >>>> Total bytes in binary file 412100 <<<<
    ******************************************************************************
    Built the mmw Demo Flash Binary
    ******************************************************************************