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: DSP2 crashed after __c_init00 , before main() was called

Prodigy 180 points

Replies: 6

Views: 367

Part Number: TDA2

Tool/software: TI C/C++ Compiler

We use TAD2x Hardware platform, VisionSDK 3_03, all Bios system, DSP compiler ti-cgt-c6000_8.1.3.

We have an algorithm run on DSP2 within a link.

When the DSP2 's program was loaded into DDR and started run from __c_init00, the DSP2 will crash before main() was called (I debug it by JTAG).

There is no error when I compile it.

When I comment off all the call of our algorithm functions in the link 's "_init: and "_process", DSP2 starts OK.

This algorithm runs fine on TDA2x 's DSP1 with visionSDK 2_10, DSP compiler ti-cgt-c6000_8.1.3.

Please help me!

The DSP2's binary and map file was attached.tda2xx-evm_DSP2_binary_map_file.rar

  • Hi,

    Do you get the same result with compiler version 7.4.2?
    I would suggest you to use the same compiler versions that were used to validate the particular release.

    Regards,
    Rishabh
  • In reply to Rishabh Garg:

    Dear Rishabh,
    We can't use compiler C6000_7.4.2 or c6000_7.4.14 in our project.
    Our project use Opencv 2.3.1 on DSP.
    Compiler C6000_7.4.2 can't compile Opencv2.3.1 and our algorithm code successful.
    Compiler C6000_7.4.2 don't support many syntax, but compiler ti-cgt-c6000_8.1.3 support.
    So, I use compiler ti-cgt-c6000_8.1.3 on visionSDK_2_10 in our project.
    Now, I need to transplant our algorithm to visionSDK_3_03.
    When I use compiler ti-cgt-c6000_8.1.3 replace compiler C6000_7.4.2 in visionSDK_3_03, after "make clean", and rebuild again, the system can't bootup(I think the DSP1 and DSP2 both crashed), although I don't add any algorithm in the usercase.
    When I don't "make clean", just add our algorithm into the usercase, the DSP2 crashed before main.

    Is it possilbe for me to use compiler ti-cgt-c6000_8.1.3 in the whole visionSDK_3_03, just recompile some basic lib to make it work in short time?
    This issue have blocked our project for 3 weeks.
    Please help me.
    Thank you very much.
  • In reply to Bao Shang:

    Hi Bao,

    One point to keep in mind is that compiler change alone is not sufficient in most of the cases.
    BIOS, XDC and IPC versions usually change when compiler versions are changed.
    In SDK 2.10 there might be a different version of these components as compared to 3.3 release.
    Hence I would suggest you to stick to the old SDK version for time being in your project and continue your development.

    We are moving to C6000_8.2.4 for Vision SDK 3.5 release which will happen at the end of 3Q 2018.
    You should migrate to this release once it is available on ti.com.

    Regards,
    Rishabh
  • In reply to Rishabh Garg:

    Hi,

    I haven’t heard back from you, I’m assuming you were able to resolve your issue. If not, just post a reply below (or create a new thread if the thread has locked due to time-out).

    Regards,
    Rishabh
  • In reply to Rishabh Garg:

    Hi Rishabh,
    I 'm thinking other solution for our project temporay. After VisionSDK 3.5 released, I will switch back to DSP. Thanks for your help.
  • In reply to Bao Shang:

    Hi,

    Okay thanks for the update.

    Regards,
    Rishabh

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.