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/IWR1642BOOST: CSS Short Range Radar mss doesn't compile

Part Number: IWR1642BOOST
Other Parts Discussed in Thread: SYSBIOS, MATHLIB

Tool/software: Code Composer Studio

Hi there,

I have download the Sort Range Radar Demo form the industrial ToolBox (v2.5.2) and following the user's Guide I'm trying to compile the DSS and MSS as it's required. 

For the DSS everything compile perfectly. So the file "srrdemo_16xx_dss.bin" & "srrdemo_16xx_dss.xe674" are correctly in the folder debug.

But for the MSS the compilation is stuck at 40% on this command : 

I'm doing Rebuild All as asked.
I have tried to delete both project, and remove the industrial ToolBox and restart again, but I always have this problem...

Has someone an idea to resolve this ? 

Regards,

Nils

  • Nils,

    Which version of CCS are you using? And you imported the project from Resource Explorer correct?

    I just tried this with CCS 8.2 and was able to build both MSS and DSS versions of the Short range radar lab projects without any issues.

    Could you try again in a new workspace to see if that helps? And could you also try building a couple of other examples to see if any others get stuck as well?

  • Hello Nils,

    I used Project -> Import CCS Projects... and selected c:\ti\mmwave_industrial_toolbox_2_5_2.
    I could not find SSR Demo DSS and MSS in Resource Explorer but it is a separate issue.
    Both DSS and MSS were built successfully.

    Which CCS version do you use?
    As AartiG suggests, create a new workspace and please remember to never share a workspace between the different CCS versions.

    Looks to me that you have at least 4 cores / 8 threads CPU on host so the MSS project build, depending on your HDD/SSD performance, should take 3 to 10 mins.
    Could you post your CCS console output when the build hangs?
  • Nils,

    could you check the dependencies?

  • I'm using CCS 8.2

    I have tried to do the same operation in a new workspace, but it still doesn't work...

    Should I build it with a specific compiler version?

    When I get stuck at 40% I spend more than 25min waiting, and during that time nothing happens…

    I’ve tried to build the “mmWave SDK Demo – 16xx” from Industrial ToolBox and it’s the same, I get stuck at 40%

    Here is the console for that mmwave SDK Demo project.

    As I notice I’m again stuck the binary file.
    So here is what I have done for the SRR Demo:

    Start CCS and create new workspace.
    Import DSS and MSS from CSS.
    Check the tool dependency: (according to User’s Guide I’ve check the exact name and version as follow)

    - Require CCS 7.3 or later (I’m 8.2)  OK
    - TI SYS/BIOS 6.53.2.00                      OK
    - TI ARM compiler 16.9.6 LTS          OK
    - TI DSP compiler   8.1.3   OK
    - XDC   3.50.04.43   OK
    - C64x+ DSPLIB   3.4.0.0     OK
    - C674x DSPLIB   3.4.0.0   OK
    - C674x MATHLIN 3.1.2.1   OK
    - mmWave device support packages 1.5.3 (or later) 
    - TI Emulators package 6.0.0576.0 (or later)

    For the device support packages, I have been able to connect and send a pre-compiled bin file (Following process from User’s Guide) so I guess I’m good on that one.

    For the Emulator package I have download the “ti_emupack_setup_8.0.803.0_win_32.exe”. Should be goo right ?

    Here is the Console where it' blocked from SRR Demo : 

  • My Industrial ToolBox (v2.5.2) comes with:

    and console output for MSS:


    **** Build of configuration Debug for project srrdemo_16xx_mss ****

    "C:\\ti\\ccs820\\ccsv8\\utils\\bin\\gmake" -k -j 2 all -O
     
    rm -f C:/TI_Trash/CCS820/srrdemo_16xx_mss/srrdemo_16xx_mss.bin
    makefile:189: recipe for target 'pre-build' failed
    process_begin: CreateProcess(NULL, rm -f C:/TI_Trash/CCS820/srrdemo_16xx_mss/srrdemo_16xx_mss.bin, ...) failed.
    make (e=2): Nie można odnaleźć określonego pliku.
     
     
    Building file: "../mss_srr.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_50_04_43_core/xs" --xdcpath="C:/ti/bios_6_53_02_00/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.R4F -p ti.platforms.cortexR:AWR16XX:false:200 -r release -c "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_16.9.9.LTS" --compileOptions "--enum_type=int " "../mss_srr.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_srr.xer4f from package/cfg/mss_srr_per4f.cfg ...
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    making C:/TI_Trash/CCS820/srrdemo_16xx_mss/src/sysbios/sysbios.aer4f ...
    gmake[1]: Entering directory `C:/TI_Trash/CCS820/srrdemo_16xx_mss/src/sysbios'
    cler4f C:/ti/bios_6_53_02_00/packages/ti/sysbios/BIOS.c ...
    asmer4f C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/arm/IntrinsicsSupport_asm.asm ...
    asmer4f C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/arm/TaskSupport_asm.asm ...
    asmer4f C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/arm/v7r/vim/Hwi_asm.sv7R ...
    asmer4f C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/arm/v7r/vim/Hwi_asm_switch.sv7R ...
    asmer4f C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/arm/exc/Exception_asm.asm ...
    asmer4f C:/ti/bios_6_53_02_00/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:/TI_Trash/CCS820/srrdemo_16xx_mss/src/sysbios'
    Build of libraries done.
    cler4f package/cfg/mss_srr_per4f.c ...
    gmake[1]: [pre-build] Error 2 (ignored)
    Finished building: "../mss_srr.cfg"
     
    Building file: "../mss_srr_cli.c"
    Invoking: ARM Compiler
    "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_16.9.9.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/TI_Trash/CCS820/srrdemo_16xx_mss" --include_path="C:/ti/mmwave_sdk_02_00_00_04" --include_path="C:/ti/mmwave_sdk_02_00_00_04/packages" --include_path="C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_16.9.9.LTS/include" --define=_LITTLE_ENDIAN --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0x40000 --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_srr_cli.d_raw" --cmd_file="configPkg/compiler.opt" "../mss_srr_cli.c"
    Finished building: "../mss_srr_cli.c"
     
    Building file: "../mss_main.c"
    Invoking: ARM Compiler
    "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_16.9.9.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/TI_Trash/CCS820/srrdemo_16xx_mss" --include_path="C:/ti/mmwave_sdk_02_00_00_04" --include_path="C:/ti/mmwave_sdk_02_00_00_04/packages" --include_path="C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_16.9.9.LTS/include" --define=_LITTLE_ENDIAN --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0x40000 --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 file: "../common/cfg.c"
    Invoking: ARM Compiler
    "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_16.9.9.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/TI_Trash/CCS820/srrdemo_16xx_mss" --include_path="C:/ti/mmwave_sdk_02_00_00_04" --include_path="C:/ti/mmwave_sdk_02_00_00_04/packages" --include_path="C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_16.9.9.LTS/include" --define=_LITTLE_ENDIAN --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0x40000 --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 target: "srrdemo_16xx_mss.xer4f"
    Invoking: ARM Linker
    "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_16.9.9.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --define=_LITTLE_ENDIAN --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0x40000 --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"srrdemo_16xx_mss.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_16.9.9.LTS/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/control/mmwave/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/control/mmwavelink/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/crc/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/esm/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/gpio/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/osal/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/pinmux/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/mailbox/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/dma/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/soc/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/uart/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/utils/cli/lib" -i"C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_16.9.9.LTS/include" --reread_libs --disable_auto_rts --diag_warning=225 --diag_wrap=off --display_error_number --warn_sections --xml_link_info="srrdemo_16xx_mss.xml" --rom_model --unused_section_elimination=on -o "srrdemo_16xx_mss.xer4f" "./mss_main.obj" "./mss_srr_cli.obj" "./common/cfg.obj" "../mss_srr_linker.cmd" "../r4f_linker.cmd" -l"configPkg/linker.cmd" -llibosal_xwr16xx.aer4f -llibesm_xwr16xx.aer4f -llibgpio_xwr16xx.aer4f -llibsoc_xwr16xx.aer4f -llibmailbox_xwr16xx.aer4f -llibpinmux_xwr16xx.aer4f -llibcrc_xwr16xx.aer4f -llibDMA_xwr16xx.aer4f -llibuart_xwr16xx.aer4f -llibmmwavelink_xwr16xx.aer4f -llibmmwave_xwr16xx.aer4f -llibcli_xwr16xx.aer4f -lrtsv7R4_T_le_v3D16_eabi.lib -llibc.a
    <Linking>
    Finished building target: "srrdemo_16xx_mss.xer4f"
     
    C:/ti/mmwave_sdk_02_00_00_04/packages/scripts/ImageCreator/xwr16xx/out2rprc/out2rprc.exe srrdemo_16xx_mss.xer4f srrdemo_16xx_mss.bin
    Parsing the input object file, srrdemo_16xx_mss.xer4f.
    Appending zeros 0
    Appending zeros 256
    File conversion complete!
    C:/ti/mmwave_sdk_02_00_00_04/packages/scripts/ImageCreator/xwr16xx/multicore_image_generator/MulticoreImageGen.exe LE 37 0x00000006 srrdemo_16xx.bin 0x35510000 srrdemo_16xx_mss.bin 0xb5510000 C:/ti/mmwave_sdk_02_00_00_04/firmware/radarss/xwr16xx_radarss_rprc.bin 0xd5510000 C:/TI_Trash/CCS820/srrdemo_16xx_dss/Debug/srrdemo_16xx_dss.bin
    Number of Input Files 3
    Number of zeros 24
    Number of zeros 32
    Number of zeros 8
     
    C:/ti/mmwave_sdk_02_00_00_04/packages/scripts/ImageCreator/xwr16xx/crc_multicore_image/crc_multicore_image.exe srrdemo_16xx.bin srrdemo_16xx.bin.tmp
    size of App Image is 237376 bytes
    cur_crc_read_addr 128
    cur_crc_read_addr 85376
    cur_crc_read_addr 107328
    Failed to remove CRC temp file
     
    C:/ti/mmwave_sdk_02_00_00_04/packages/scripts/ImageCreator/append_bin_crc/gen_bincrc32.exe srrdemo_16xx.bin
    >>>> Binary CRC32 = 196ec0aa <<<<
    >>>> Total bytes in binary file 237380 <<<<
     
     

    **** Build Finished ****

    The differences I see right now are:
    ti-cgt-arm_16.9.9.LTS instead of 16.9.6.LTS
    ti-cgt-c6000_8.2.4 instead of 8.1.3

    Could you any other differences between your and my product/tool versions?

    Are you sure that you ran your installers with an admin privilege?

  • Thanks for all your help

    I have the same version of ToolBox as you.

    I have winmerged your console with mine, the differences are

    ""C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 8 all -O "  I've got an 8 and you a 2
    Can you go inn your Build settings and tell me which version of compiler do you use ? (I use version 8.1.3 and I have a second one available 8.2.4)

    Then:
    I guess like you on the make line the file is unfindable?
    I have this second line who emerged : 

    "make (e=2): Le fichier spécifié est introuvable.
    gmake[1]: [pre-build] Error 2 (ignored)"

    After that it's calling for me "ti-cgt-arm_16.9.6.LTS" and for you "ti-cgt-arm_16.9.9.LTS" 

    Thank you again for your help and your time ! 

    Here is the console output for file MSS:  (edit: I provide the console output for the DSS after that, a warning is on it, maybe it could impact the MSS?)

    **** Build of configuration Debug for project srrdemo_16xx_mss ****

    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 8 all -O

    rm -f C:/Users/nilsg/Documents/Code Composer Studio/workspace4/srrdemo_16xx_mss/srrdemo_16xx_mss.bin
    makefile:189: recipe for target 'pre-build' failed
    process_begin: CreateProcess(NULL, rm -f C:/Users/nilsg/Documents/Code Composer Studio/workspace4/srrdemo_16xx_mss/srrdemo_16xx_mss.bin, ...) failed.
    make (e=2): Le fichier spécifié est introuvable.

    gmake[1]: [pre-build] Error 2 (ignored)

    Building file: "../mss_srr.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_50_04_43_core/xs" --xdcpath="C:/ti/bios_6_53_02_00/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.R4F -p ti.platforms.cortexR:AWR16XX:false:200 -r release -c "C:/ti/ti-cgt-arm_16.9.6.LTS" --compileOptions "--enum_type=int " "../mss_srr.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_srr.xer4f from package/cfg/mss_srr_per4f.cfg ...
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    making C:/Users/nilsg/DOCUME~1/CODECO~1/workspace4/srrdemo_16xx_mss/src/sysbios/sysbios.aer4f ...
    gmake[1]: Entering directory `C:/Users/nilsg/DOCUME~1/CODECO~1/workspace4/srrdemo_16xx_mss/src/sysbios'
    cler4f C:/ti/bios_6_53_02_00/packages/ti/sysbios/BIOS.c ...
    asmer4f C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/arm/IntrinsicsSupport_asm.asm ...
    asmer4f C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/arm/TaskSupport_asm.asm ...
    asmer4f C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/arm/v7r/vim/Hwi_asm.sv7R ...
    asmer4f C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/arm/v7r/vim/Hwi_asm_switch.sv7R ...
    asmer4f C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/arm/exc/Exception_asm.asm ...
    asmer4f C:/ti/bios_6_53_02_00/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/nilsg/DOCUME~1/CODECO~1/workspace4/srrdemo_16xx_mss/src/sysbios'
    Build of libraries done.
    cler4f package/cfg/mss_srr_per4f.c ...
    Finished building: "../mss_srr.cfg"

    Building file: "../common/cfg.c"
    Invoking: ARM Compiler
    "C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/nilsg/Documents/Code Composer Studio/workspace4/srrdemo_16xx_mss" --include_path="C:/ti/mmwave_sdk_02_00_00_04" --include_path="C:/ti/mmwave_sdk_02_00_00_04/packages" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=_LITTLE_ENDIAN --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0x40000 --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_srr_cli.c"
    Invoking: ARM Compiler
    "C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/nilsg/Documents/Code Composer Studio/workspace4/srrdemo_16xx_mss" --include_path="C:/ti/mmwave_sdk_02_00_00_04" --include_path="C:/ti/mmwave_sdk_02_00_00_04/packages" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=_LITTLE_ENDIAN --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0x40000 --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_srr_cli.d_raw" --cmd_file="configPkg/compiler.opt" "../mss_srr_cli.c"
    Finished building: "../mss_srr_cli.c"

    Building file: "../mss_main.c"
    Invoking: ARM Compiler
    "C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/nilsg/Documents/Code Composer Studio/workspace4/srrdemo_16xx_mss" --include_path="C:/ti/mmwave_sdk_02_00_00_04" --include_path="C:/ti/mmwave_sdk_02_00_00_04/packages" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=_LITTLE_ENDIAN --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0x40000 --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: "srrdemo_16xx_mss.xer4f"
    Invoking: ARM Linker
    "C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --define=_LITTLE_ENDIAN --define=SOC_XWR16XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0x40000 --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"srrdemo_16xx_mss.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ti-cgt-arm_16.9.6.LTS/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/control/mmwave/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/control/mmwavelink/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/crc/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/esm/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/gpio/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/osal/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/pinmux/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/mailbox/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/dma/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/soc/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/uart/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/utils/cli/lib" -i"C:/ti/ti-cgt-arm_16.9.6.LTS/include" --reread_libs --disable_auto_rts --diag_warning=225 --diag_wrap=off --display_error_number --warn_sections --xml_link_info="srrdemo_16xx_mss.xml" --rom_model --unused_section_elimination=on -o "srrdemo_16xx_mss.xer4f" "./mss_main.obj" "./mss_srr_cli.obj" "./common/cfg.obj" "../mss_srr_linker.cmd" "../r4f_linker.cmd" -l"configPkg/linker.cmd" -llibosal_xwr16xx.aer4f -llibesm_xwr16xx.aer4f -llibgpio_xwr16xx.aer4f -llibsoc_xwr16xx.aer4f -llibmailbox_xwr16xx.aer4f -llibpinmux_xwr16xx.aer4f -llibcrc_xwr16xx.aer4f -llibDMA_xwr16xx.aer4f -llibuart_xwr16xx.aer4f -llibmmwavelink_xwr16xx.aer4f -llibmmwave_xwr16xx.aer4f -llibcli_xwr16xx.aer4f -lrtsv7R4_T_le_v3D16_eabi.lib -llibc.a
    <Linking>
    Finished building target: "srrdemo_16xx_mss.xer4f"

    C:/ti/mmwave_sdk_02_00_00_04/packages/scripts/ImageCreator/xwr16xx/out2rprc/out2rprc.exe srrdemo_16xx_mss.xer4f srrdemo_16xx_mss.bin
    Parsing the input object file, srrdemo_16xx_mss.xer4f.
    Appending zeros 0
    Appending zeros 256
    File conversion complete!
    C:/ti/mmwave_sdk_02_00_00_04/packages/scripts/ImageCreator/xwr16xx/multicore_image_generator/MulticoreImageGen.exe LE 37 0x00000006 srrdemo_16xx.bin 0x35510000 srrdemo_16xx_mss.bin 0xb5510000 C:/ti/mmwave_sdk_02_00_00_04/firmware/radarss/xwr16xx_radarss_rprc.bin 0xd5510000 C:/Users/nilsg/Documents/Code Composer Studio/workspace4/srrdemo_16xx_dss/Debug/srrdemo_16xx_dss.bin

    Console from DSS :

    **** Build of configuration Debug for project srrdemo_16xx_dss ****

    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 8 all -O

    rm -f C:/Users/nilsg/Documents/Code Composer Studio/workspace5/srrdemo_16xx_dss/srrdemo_16xx_dss.bin
    makefile:194: recipe for target 'pre-build' failed
    process_begin: CreateProcess(NULL, rm -f C:/Users/nilsg/Documents/Code Composer Studio/workspace5/srrdemo_16xx_dss/srrdemo_16xx_dss.bin, ...) failed.
    make (e=2): Le fichier spécifié est introuvable.

    gmake[1]: [pre-build] Error 2 (ignored)

    Building file: "../dss_srr.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_50_04_43_core/xs" --xdcpath="C:/ti/bios_6_53_02_00/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C674 -p ti.platforms.c6x:AWR16XX:false:600 -r release -c "C:/ti/ti-cgt-c6000_8.1.3" "../dss_srr.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring dss_srr.xe674 from package/cfg/dss_srr_pe674.cfg ...
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    making C:/Users/nilsg/DOCUME~1/CODECO~1/workspace5/srrdemo_16xx_dss/src/sysbios/sysbios.ae674 ...
    gmake[1]: Entering directory `C:/Users/nilsg/DOCUME~1/CODECO~1/workspace5/srrdemo_16xx_dss/src/sysbios'
    cle674 C:/ti/bios_6_53_02_00/packages/ti/sysbios/BIOS.c ...
    asme674 C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/c64p/Exception_asm.s64P ...
    asme674 C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/c64p/Hwi_asm.s62 ...
    asme674 C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62 ...
    asme674 C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P ...
    asme674 C:/ti/bios_6_53_02_00/packages/ti/sysbios/rts/ti/tls_get_tp.asm ...
    asme674 C:/ti/bios_6_53_02_00/packages/ti/sysbios/family/c62/TaskSupport_asm.s62 ...
    are674 BIOS.obj c64p_Exception_asm.obj c64p_Hwi_asm.obj c64p_Hwi_asm_switch.obj c64p_Hwi_disp_always.obj ti_tls_get_tp.obj c62_TaskSupport_asm.obj ...
    gmake[1]: Leaving directory `C:/Users/nilsg/DOCUME~1/CODECO~1/workspace5/srrdemo_16xx_dss/src/sysbios'
    Build of libraries done.
    cle674 package/cfg/dss_srr_pe674.c ...
    Finished building: "../dss_srr.cfg"

    Building file: "../gen_twiddle_fft32x32.c"
    Invoking: C6000 Compiler
    "C:/ti/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/nilsg/Documents/Code Composer Studio/workspace5/srrdemo_16xx_dss" --include_path="C:/ti/mmwave_sdk_02_00_00_04/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ti-cgt-c6000_8.1.3/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0xc0000 --define=DebugP_ASSERT_ENABLED --display_error_number --diag_wrap=off --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="gen_twiddle_fft32x32.d_raw" --cmd_file="configPkg/compiler.opt" "../gen_twiddle_fft32x32.c"
    Finished building: "../gen_twiddle_fft32x32.c"

    Building file: "../gen_twiddle_fft16x16.c"
    Invoking: C6000 Compiler
    "C:/ti/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/nilsg/Documents/Code Composer Studio/workspace5/srrdemo_16xx_dss" --include_path="C:/ti/mmwave_sdk_02_00_00_04/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ti-cgt-c6000_8.1.3/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0xc0000 --define=DebugP_ASSERT_ENABLED --display_error_number --diag_wrap=off --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="gen_twiddle_fft16x16.d_raw" --cmd_file="configPkg/compiler.opt" "../gen_twiddle_fft16x16.c"
    Finished building: "../gen_twiddle_fft16x16.c"

    Building file: "../dss_config_edma_util.c"
    Invoking: C6000 Compiler
    "C:/ti/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/nilsg/Documents/Code Composer Studio/workspace5/srrdemo_16xx_dss" --include_path="C:/ti/mmwave_sdk_02_00_00_04/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ti-cgt-c6000_8.1.3/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0xc0000 --define=DebugP_ASSERT_ENABLED --display_error_number --diag_wrap=off --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss_config_edma_util.d_raw" --cmd_file="configPkg/compiler.opt" "../dss_config_edma_util.c"
    Finished building: "../dss_config_edma_util.c"

    Building file: "../common/cfg.c"
    Invoking: C6000 Compiler
    "C:/ti/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/nilsg/Documents/Code Composer Studio/workspace5/srrdemo_16xx_dss" --include_path="C:/ti/mmwave_sdk_02_00_00_04/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ti-cgt-c6000_8.1.3/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0xc0000 --define=DebugP_ASSERT_ENABLED --display_error_number --diag_wrap=off --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --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: "../clusteringDBscan.c"
    Invoking: C6000 Compiler
    "C:/ti/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/nilsg/Documents/Code Composer Studio/workspace5/srrdemo_16xx_dss" --include_path="C:/ti/mmwave_sdk_02_00_00_04/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ti-cgt-c6000_8.1.3/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0xc0000 --define=DebugP_ASSERT_ENABLED --display_error_number --diag_wrap=off --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="clusteringDBscan.d_raw" --cmd_file="configPkg/compiler.opt" "../clusteringDBscan.c"
    Finished building: "../clusteringDBscan.c"

    Building file: "../dss_main.c"
    Invoking: C6000 Compiler
    "C:/ti/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/nilsg/Documents/Code Composer Studio/workspace5/srrdemo_16xx_dss" --include_path="C:/ti/mmwave_sdk_02_00_00_04/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ti-cgt-c6000_8.1.3/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0xc0000 --define=DebugP_ASSERT_ENABLED --display_error_number --diag_wrap=off --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss_main.d_raw" --cmd_file="configPkg/compiler.opt" "../dss_main.c"
    Finished building: "../dss_main.c"

    Building file: "../Extended_Kalman_Filter_xyz.c"
    Invoking: C6000 Compiler
    "C:/ti/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/nilsg/Documents/Code Composer Studio/workspace5/srrdemo_16xx_dss" --include_path="C:/ti/mmwave_sdk_02_00_00_04/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ti-cgt-c6000_8.1.3/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0xc0000 --define=DebugP_ASSERT_ENABLED --display_error_number --diag_wrap=off --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="Extended_Kalman_Filter_xyz.d_raw" --cmd_file="configPkg/compiler.opt" "../Extended_Kalman_Filter_xyz.c"
    Finished building: "../Extended_Kalman_Filter_xyz.c"

    Building file: "../dss_data_path.c"
    Invoking: C6000 Compiler
    "C:/ti/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/nilsg/Documents/Code Composer Studio/workspace5/srrdemo_16xx_dss" --include_path="C:/ti/mmwave_sdk_02_00_00_04/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ti-cgt-c6000_8.1.3/include" -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0xc0000 --define=DebugP_ASSERT_ENABLED --display_error_number --diag_wrap=off --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss_data_path.d_raw" --cmd_file="configPkg/compiler.opt" "../dss_data_path.c"
    Finished building: "../dss_data_path.c"

    Building target: "srrdemo_16xx_dss.xe674"
    Invoking: C6000 Linker
    "C:/ti/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6740 --abi=eabi -O3 -g --gcc --define=SOC_XWR16XX --define=SUBSYS_DSS --define=DOWNLOAD_FROM_CCS --define=MMWAVE_L3RAM_SIZE=0xc0000 --define=DebugP_ASSERT_ENABLED --display_error_number --diag_wrap=off --diag_warning=225 --gen_func_subsections=on --obj_extension=.oe674 -z -m"srrdemo_16xx_dss.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ti-cgt-c6000_8.1.3/lib" -i"C:/Users/nilsg/Documents/Code Composer Studio/workspace5/srrdemo_16xx_dss" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/control/mmwave/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/control/mmwavelink/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/crc/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/mailbox/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/osal/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/soc/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/uart/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/edma/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/adcbuf/lib" -i"C:/ti/mmwave_sdk_02_00_00_04/packages/ti/alg/mmwavelib/lib" -i"C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/lib" -i"C:/ti/mathlib_c674x_3_1_2_1/packages/ti/mathlib/lib" -i"C:/ti/ti-cgt-c6000_8.1.3/include" --reread_libs --disable_auto_rts --warn_sections --diag_warning=225 --display_error_number --diag_wrap=off --xml_link_info="xwr16xx_srrdemo_16xx_dss_linkInfo.xml" --ram_model --unused_section_elimination=on -o "srrdemo_16xx_dss.xe674" "./Extended_Kalman_Filter_xyz.oe674" "./clusteringDBscan.oe674" "./dss_config_edma_util.oe674" "./dss_data_path.oe674" "./dss_main.oe674" "./gen_twiddle_fft16x16.oe674" "./gen_twiddle_fft32x32.oe674" "./common/cfg.oe674" "../c674x_linker.cmd" "../dss_srr_linker.cmd" -l"configPkg/linker.cmd" -llibosal_xwr16xx.ae674 -llibsoc_xwr16xx.ae674 -llibcrc_xwr16xx.ae674 -llibuart_xwr16xx.ae674 -llibmailbox_xwr16xx.ae674 -llibmmwavelink_xwr16xx.ae674 -llibmmwave_xwr16xx.ae674 -lmathlib.ae674 -ldsplib.ae64P -llibedma_xwr16xx.ae674 -llibadcbuf_xwr16xx.ae674 -llibmmwavealg_xwr16xx.ae674 -lrts6740_elf.lib -llibc.a
    <Linking>
    warning #10370-D: Possible codesize or performance degradation. Section ".text:SOC_init:libsoc_xwr16xx.ae674<soc.oe674>" has calls to rts routines, but rts is placed out of range from call site at 0x200035c4, or in a different section. To optimize codesize, either 1) place rts closer to call site, or 2) place rts in same section, or 3) compile with --disable_push_pop.
    warning #10370-D: Possible codesize or performance degradation. Section ".text:SOC_init:libsoc_xwr16xx.ae674<soc.oe674>" has calls to rts routines, but rts is placed out of range from call site at 0x200034c0, or in a different section. To optimize codesize, either 1) place rts closer to call site, or 2) place rts in same section, or 3) compile with --disable_push_pop.
    Finished building target: "srrdemo_16xx_dss.xe674"

    C:/ti/mmwave_sdk_02_00_00_04/packages/scripts/ImageCreator/xwr16xx/out2rprc/out2rprc.exe srrdemo_16xx_dss.xe674 srrdemo_16xx_dss.bin
    Parsing the input object file, srrdemo_16xx_dss.xe674.
    Appending zeros 8454144
    Appending zeros 8461600
    Appending zeros 8466520
    File conversion complete!

    **** Build Finished ****

    There is the same line as MSS : "gmake[1]: [pre-build] Error 2 (ignored)" 

  • Q: ""C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 8 all -O " I've got an 8 and you a 2
    Can you go inn your Build settings and tell me which version of compiler do you use ? (I use version 8.1.3 and I have a second one available 8.2.4)

    A: We have different CCS versions. Could you install CCS 8.2 in c:\ti\ccs820\ dir?
    In my reply:
    The differences I see right now are:
    ti-cgt-arm_16.9.9.LTS instead of 16.9.6.LTS
    ti-cgt-c6000_8.2.4 instead of 8.1.3
    means that I am using 8.2.4 and 19.9.9 which are newer.

    Try with CCS8.2, C6000 8.2 and ARM 16.9.9.LTS.

    Looks to me that you console output, when compiling mms, does not contain these steps:
    Number of Input Files 3
    Number of zeros 24
    Number of zeros 32
    Number of zeros 8

    C:/ti/mmwave_sdk_02_00_00_04/packages/scripts/ImageCreator/xwr16xx/crc_multicore_image/crc_multicore_image.exe srrdemo_16xx.bin srrdemo_16xx.bin.tmp
    size of App Image is 237376 bytes
    cur_crc_read_addr 128
    cur_crc_read_addr 85376
    cur_crc_read_addr 107328
    Failed to remove CRC temp file

    C:/ti/mmwave_sdk_02_00_00_04/packages/scripts/ImageCreator/append_bin_crc/gen_bincrc32.exe srrdemo_16xx.bin
    >>>> Binary CRC32 = 196ec0aa <<<<
    >>>> Total bytes in binary file 237380 <<<<



    **** Build Finished ****
  • Nils,

    The issue seems to be that you have spaces in your workspace path. The ImageCreator post-build step does not quote the paths, hence the command is getting stuck when there is a path with spaces.

    Nils GODMUSE said:
    C:/ti/mmwave_sdk_02_00_00_04/packages/scripts/ImageCreator/xwr16xx/multicore_image_generator/MulticoreImageGen.exe LE 37 0x00000006 srrdemo_16xx.bin 0x35510000 srrdemo_16xx_mss.bin 0xb5510000 C:/ti/mmwave_sdk_02_00_00_04/firmware/radarss/xwr16xx_radarss_rprc.bin 0xd5510000 C:/Users/nilsg/Documents/Code Composer Studio/workspace4/srrdemo_16xx_dss/Debug/srrdemo_16xx_dss.bin

    To fix it, you can edit the post-build step to add quotes to the imagecreator command (as shown below), or use a workspace without spaces in the path.

    Let us know if that resolves the issue.

  • Aarti,

    It took decades to to fix a backslash curse. Now we have to deal with spaces.
    My dear MS, wha's next?
  • Thank you for your help, I just create a new workspace without spaces and it works.