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.

TDA2EVM5777: VISION SDK 3.O6\RTOS-Build Error

Part Number: TDA2EVM5777

Hi

I was trying to build the VISION SDK 03_06_00_00 by referring the VISION SDK TDA2xx User Guide,I am facing with errors which  I have mentioned below.

# Compiling tda2xx:c66x:release:pm_hal: prcm/pmhal_pdm.c
# Compiling tda2xx:c66x:release:pm_hal: prcm/pmhal_rm.c
# Compiling tda2xx:c66x:release:pm_hal: prcm/pmhal_sd.c
# Compiling tda2xx:c66x:release:pm_hal: prcm/pmhal_cm.c
# Compiling tda2xx:c66x:release:pm_hal: prcm/common/hw_pmhal_bgap_common_data.c
# Compiling tda2xx:c66x:release:pm_hal: prcm/V0/hw_pmhal_prmdata.c
# Compiling tda2xx:c66x:release:pm_hal: prcm/pm_utils.c
# Compiling tda2xx:c66x:release:pm_hal: prcm/V0/hw_pmhal_clocktree_data.c
>> Compilation failure
gmake[4]: *** [C:/PROCESSOR_SDK_VISION_03_06_00_00/vision_sdk/binaries/apps/tda2xx_evm_bios_all/ti/drv/pm/src/pmhal/obj/tda2xx/c66/release/hw_pmhal_clocktree_data.oe66] Error 1
gmake[3]: *** [pm_hal] Error 2
gmake[2]: *** [pdk] Error 2
gmake[1]: *** [pdk] Error 2
gmake: *** [depend] Error 2
I  got this error when I gave  gmake  -s  depend  command .What I can do to resolve this?
Regards.
  • Hi,

    Please try building without "-j" i.e. "gmake depend".

    Regards,
    Rishabh
  • I didn't use the -j option.

    Regards
    Sithara Tresa Chacko
  • Hi,

    Can you do "gmake depend" and share the log.

    Regards,
    Rishabh
  • Hi

    I used the gmake depend command and this is the output that I got. What can be the solution for this error?


    # Compiling tda2xx:c66x:release:pm_hal_optimized: prcm/pm_utils.c
    IC:/PROCESSOR_SDK_VISION_03_06_00_00/ti_components/drivers/pdk_01_10_02_07/packages -IC:/PROCESSOR_SDK_VISION_03_06_00_00/ti_components/drivers/pdk_01_10_02_07/packages/ti/csl -IC:/PROCESSOR_SDK_VISION_03_06_00_00/ti_components/drivers/pdk_01_10_02_07/packages/ti/drv/pm/src/pmhal -IC:/PROCESSOR_SDK_VISION_03_06_00_00/ti_components/drivers/pdk_01_10_02_07/packages/ti/drv/pm/include -IC:/PROCESSOR_SDK_VISION_03_06_00_00/ti_components/drivers/pdk_01_10_02_07/packages/ti/drv/pm/include/prcm -fr=C:/PROCESSOR_SDK_VISION_03_06_00_00/vision_sdk/binaries/apps/tda2xx_evm_bios_all/ti/drv/pm/src/pmhal/optimized/obj/tda2xx/c66/release -fs=C:/PROCESSOR_SDK_VISION_03_06_00_00/vision_sdk/binaries/apps/tda2xx_evm_bios_all/ti/drv/pm/src/pmhal/optimized/obj/tda2xx/c66/release -fc prcm/pm_utils.c

    INTERNAL ERROR: C:\PROCESSOR_SDK_VISION_03_06_00_00\ti_components\cg_tools\windows\ti-cgt-c6000_8.2.4\bin\cg6x3.exe experienced a segmentation fault

    This is caused by a defect in the TI C/C++ Codegen.
    TI Customer Support may be able to suggest a workaround to avoid this.

    Upgrading to the newest version of the compiler may fix this problem.

    Contact TI in the E2E support forums at http://e2e.ti.com under
    "Development Tools", "TI C/C++ Compiler". See the link titled
    "Submitting an issue".

    We need to see this ENTIRE error message and a complete, reproducable
    test case including ALL of the command-line options.
    Include the .pp file created by option --preproc_with_comment


    >> Compilation failure
    gmake[4]: *** [C:/PROCESSOR_SDK_VISION_03_06_00_00/vision_sdk/binaries/apps/tda2xx_evm_bios_all/ti/drv/pm/src/pmhal/optimized/obj/tda2xx/c66/release/pm_utils.oe66] Error 1
    gmake[4]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_06_00_00/ti_components/drivers/pdk_01_10_02_07/packages/ti/drv/pm/src/pmhal'
    gmake[3]: *** [pm_hal_optimized] Error 2
    gmake[3]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_06_00_00/ti_components/drivers/pdk_01_10_02_07/packages/ti/build'
    gmake[2]: *** [pdk] Error 2
    gmake[2]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_06_00_00/vision_sdk/build/rtos/makerules'
    gmake[1]: *** [pdk] Error 2
    gmake[1]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_06_00_00/vision_sdk/build'
    gmake: *** [depend] Error 2

    Kindly help me in finding the error.

    Regards
    Sithara Tresa Chacko
  • Hi,

    Are you using a different compiler version compared to the one that came with SDK?

    Regards,
    Rishabh
  • Hi

    No sir. 

    Also I would like to add that I'm trying to build in Windows 10.

    Regards

  • Hi Sithara,

    We did not face any issues with windows build when we had made the release.
    We will try it again and get back to you.

    Regards,
    Rishabh
  • Hi Sithara,

    I tried this again on Windows 10 and did not face any issue.
    Can you try on another machine?

    Regards,
    Rishabh
  • Hi Rishab,

    I had uninstalled the application and re installed .I was able to build the application.
    Thankyou.

    Regards
    Sithara Tresa Chacko