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.

  • Resolved

Compiler/TDA2: When will the visionSDK3 's cgtc6000 compiler upgrade to v8.x.x ?

Prodigy 180 points

Replies: 26

Views: 1378

Part Number: TDA2

Tool/software: TI C/C++ Compiler

The cgtc6000 comiler v7.4.2 is used in the latest visionSDK3.05. The v7.4.2 comiler is not enough for our project, the v8.x.x is OK.

In below thread,

e2e.ti.com/.../715156

Rishabh Garg  told me that the visionSDK3.05 will upgrade cgtc6000 comiler to v8.x.x two month ago.

But visionSDK 3.05 still use v7.4.2 when it was released.

So when will visionSDK upgrade cgtc6000 compiler to v8.x.x?

  • In reply to Rishabh Garg:

    Hi,

    First you have to try to build your algorithm with CGT 7.4.2 and check whether it works with that or not.
    Before trying the above thing we are not sure whether your algorithm is causing crash or the new CGT.

    TI has tested VLIB and VXLIB with CGT 8.2.4 and the rest of the VSDK with CGT 7.4.2 and that works fine in VSDK 3.5 release.

    Regards,
    Anuj
  • In reply to Anuj Gupta:

    Hi Anuj,
    We compile our algorithm failed use CGT 7.4.2. There are so many errors that we can't resolve them.
    But we compile it success use CGT 8.1.3 and 8.2.4, didn't need to modify anything.

    We comile our algorithm use CGT8.1.3 and link it with CGT8.1.3 in visionSDK2.10 which use CGT7.4.2 as default comiler.
    We use linux as the OS for the emmbedded system. The whole system could run properly.

    On the visionSDK 3.03 and 3.05, I try to use CGT8.1.3 and 8.2.4, we use sysbios as the embedded system. The DSP2 crashed during the program initialization stage. Which contains our algorithm.

    I think the difference between the boot program on the linux and sysbios. Linux 's boot program load all the data the DSP initial program needed, the Sysbios 's boot program not load all the data the DSP initial program needed. So the DSP program crashed during the initial stage after the Sysbios 's boot program load the DSP 's data into the DDR, and let it to run.
  • In reply to Bao Shang:

    Hi Bao,

    Can you check differences for DSP makreules between VSDK 2.10 and VSDK 3.05? There is a gap of around two years amongst the two releases. Can you share both these files as an attachment here. It is possible that the compression format for cinit section has changed between the two which is creating issues.

    Regards,
    Rishabh
  • In reply to Rishabh Garg:

    Hi Rishabh,

        The makerules of v2.10 and v3.05 attached.makerules.rar

  • In reply to Bao Shang:

    Hi,

    Are you able to boot using sysbios as OS using VSDK v2.12 with your algo compiled using 8.x.x?

    Regards,
    Anuj
  • In reply to Anuj Gupta:

    Hi Anuj,
    We never try it.
  • In reply to Bao Shang:

    Hi,

    Can you please try that.
    And also try to run any openvx related usecase and check whether that runs?

    Regards,
    Anuj
  • In reply to Anuj Gupta:

    Hi Bao,

    The RTS library that was used for linking in 2.10 is different as compared to 3.05 which could be leading to crash.
    Can you try to change RTS lib and see if it works.
    Another experiment could be using 2.10 DSP makerules (i.e. rules_66.mk.
    Again please keep in mind that VSDK 3.05 might not work at all if compiled using older DSP makerules.

    Regards,
    Rishabh
  • In reply to Rishabh Garg:

    Hi Rishabh,
    I have tried replace the 3.05's RTS lib with 2/10's, the crash still exist.
    I just replace the "PROCESSOR_SDK_VISION_03_05_00_00\ti_components\os_tools\bios_6_46_04_53\packages\ti\targets" folder with 2.10's.

    Due to the lib names and path are different in 2.10 and 3.05 's makerules, I can't replace it.

    I wan't to debug more detail in boot.ae66, which include autoinit.c and boot.c 's obj.
    But I don't know how to build the two source file to boot.ae66, I just get boot.lib with "-g" option, and rename it to boot.ae66.
    I use cgt 8.2.4, and replace it with 3.05 orignal. Then I can't connect the DSP by debugger, the DSP program didn't get into _c_int00.
    I think it failed during the parse stage.

    I have browse the initialization part of the compiler doc, I wan't to know the more detail of the crash reason.
    So, could you help me compile autoinit.c and boot.c to boot.ae66 by 8.2.4 with "-g" option, and attach these three files to me ?
    These two files are under "PROCESSOR_SDK_VISION_03_05_00_00\ti_components\os_tools\bios_6_46_04_53\packages\ti\targets\rts6000".
  • In reply to Bao Shang:

    Hi,

    Which profile are you using?

    debug or release.

    Please use debug mode and build the entire VSDK along with your algo with CGT 8.2.4.

    Regards,

    Anuj

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.