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.

OpenMP Hello world example Error: Ipc_start failed

Other Parts Discussed in Thread: CCSTUDIO

Hello,

1. Question:

I tried to run the OpenMP Hello world Example. I loaded and adapted the program as described in the tutorial (Link). When I started debugging, I got the following error and the program is not executed:

[C66xx_1] ERROR: Ipc_start failed in OpenMP_masterTask

Can anyone help?

 

2. Question:

The first time I debugg a program I can choose on which core I want to load it. How can I change the selected cores the second time?

 

Kind regards,

Timon

 

Used configuration:

  • TMS320C6678
  • Windows 7
  • CCS: 5.3.0.00090
  • IPC: 1.25.0.04
  • MCSDK 2.01.02.05
  • System Analyzer (UIA Target) 1.00.03.25
  • Timon Achtnich said:
    [C66xx_1] ERROR: Ipc_start failed in OpenMP_masterTask

    This is an internal error message that you should not see.  Try power cycling your board.  Is this the very first program you are running on this board?  If so, please try a simpler single core program first.

    Timon Achtnich said:
    The first time I debugg a program I can choose on which core I want to load it. How can I change the selected cores the second time?

    Please see this wiki article, and follow instructions in the 3rd and 4th bullets to delete the debug launch configuration and target cache files.  When you start the program again, CCS will ask you which cores to run the program on.

    Thanks and regards,

    -George

  • Hi George,

     

    Thanks for your answer.

    No, it isn't my first program. I worked before with several single core programs. Now I wanted to start with multicore and I first tried this example. I also power cycled the board several times with no success and I restarted CCS and tried again.

    Do you have some other idea how I can overcome this problem?

     

    Regards,

     

    Timon

  • How about you send me the .out file from your project?  I'll try it out on my evm6678.

    Thanks and regards,

    -George

  • Hi George,

    Thanks, I uploaded my .out file of this example

    2043.OPenMP_Example2.zip

    Regards,

    Timon

  • Timon Achtnich said:
    I uploaded my .out file of this example

    It runs correctly for me on my evm6678.  It seems there is something wrong with your hardware.  

    I presume you have associated the GEL script evmc6678l.gel with core0 (or more) in your target configuration.  This means you will have several GEL script commands you can run.  One of them is Global_Default_Setup.  Select Scripts | EVMC6678L Init Functions | Global_Default_Setup. See the screenshot below.  That should help.

    If you are still stuck, then please tell me the revision of your evm6678.

    Thanks and regards,

    -George

  • Hi George,

    I haven't associated the Gel script to the cores as I assumed I can run the example as described in the Tutorial (Link). I have now done this according to the instructions in this post for core 0-3. Is that ok? 

    The Global_Default_Setup is then run already when I start debugging. But I rerun it as you described. The error: "[C66xx_1] ERROR: Ipc_start failed in OpenMP_masterTask" does not arrive anymore, thats fine.

    The program should than run to the start of main on core 0 and then suspend. I started debugging the program several times and got two different types of problems:


    Problem 1:

    I got the error, as you see in the following print screen. I have no idea why this is caused. Can you help?




    Problem 2:

    I get no error but the program does not reach the main and no output is visible in the console. I tried to suspend all cores and rerun it again but with no success.

    I would be very happy, if you could send me further hints to solve these problems.


    The revision of my board is "Rev. 3A" according to the stick on the board.


    Kind regards,


    Timon

  • Hi George, 

    I'm still stuck with the mentioned problems. I would be very happy if you can provide further support. Do you need more details to the problems?

    Kind regards,

    Timon

  • Timon,

    I would suggest using version 7.4.0 of the C6000 Code Generation Tools. Refer this post http://e2e.ti.com/support/embedded/linux/f/354/t/231872.aspx for details.

    Ajay

  • Hi Ajay,

    Thanks for your reply. Thats just tricky to find the right combination of compiler and library version :(

    I tried to install the mentioned compiler 7.4.0, as described in this link. But there I can't download the compiler with version 7.4.0 as you can see in the print screen below.

    Instead I tried with compiler version 7.3.9, but then I got several errors during the compilation (see print screen below).

    Where can I get the compiler 7.4.0?? Please send me an answer before the weekend. So that I can proceed with my project.

    Thanks a lot!

    Kind regards, 

    Timon

  • I think the directions in this post will work for you.  -George

  • Hi George,

     

    I checked the mentioned post. But there you can only look for available software sites which are listed on the current installation. So, when I choose "Code Generation Tools update" I will get the following link.

     

    Code Generation Tools Updates - http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/codegen/Updates/p2win32

    Which does not show compiler version 7.4.0 as I described in the last post.

     

    In this  post I found the following location for Compiler Tools:

    Code Generation Tools Updates - http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/codegen/Updates/full/

     

    But when I then try to install the desired compiler 7.4.0 I become an installer error, as you see in the following print screen:

    I tried also the "older Update Manager" but it didn't work. Please could you send me the right URL to install the compiler 7.4.0 and if necessary an explanation how to install this compiler?

    Kind regards,

    Timon

  • Timon,

    I am  not sure why, but it looks like the 7.4.0 compiler tools are missing from the list displayed by the CCS update tool. I will try to get this resolved but in the meantime, you can download and install CGT 7.4.0 from here: https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm

    Install v7.4.0 to any directory you wish to, and then follow the steps described here to have CCS detect and use this new version: http://processors.wiki.ti.com/index.php/Compiler_Installation_and_Selection

  • Hi, 

    Thanks for your hints. I tried to download the compiler as you described. But unfortunately it was not possible. I got a link via mail which should start the download, but nothing happened. It seems to be a trivial problems, security settings or something like that. But I really tried different settings and browers, IE, Chrome, Firefox. When I open the link I only get this screen:

    Do you have any idea were it went wrong? How can I get this compiler?

    Regards,

    Timon

  • I'm not sure this will help ... Any version 7.4.0 or greater will do.  Version 7.4.2 is the latest one available.

    Thanks and regards,

    -George

  • Hi George,

    I work until now with compiler 7.4.2 and it does not work! Ajay suggested to use the compiler 7.4.0 as in this post. Now I am not sure what to do?

    Installing compiler 7.4.0 is currently not possible and you say it isn't neither the solution to the problem? So with which configuration will OpenMP work?

    Thanks for your suggestions.

    Regards,

    Timon

  • Timon Achtnich said:
    I work until now with compiler 7.4.2 and it does not work! Ajay suggested to use the compiler 7.4.0 as in this post. Now I am not sure what to do?

    I apologize!  My last post is incorrect.  You need to change the compiler version to exactly 7.4.0.  

    Thanks and regards,

    -George

  • I got the compiler 7.4.0 offline. Thanks ArtiG!

    OpenMp does currently not work with installer 7.4.1. or 7.4.2. 

    But it works with 7.4.0. I hope this bug will be fixed in the next release.

  • Yes, this defect will be fixed in the next release of the OpenMP runtime.

    Ajay