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.

Strange OPENMP code launch



Hi,

I try to run the simple hello OPENMP example on EVM6678. The CCS version is 5.2, windows 7, 64 bit OS. The tools are:

IPC: 1.24.3.32

MCSDK: 2.1.2.5

MCSDK PDK: 1.1.2.5

OPENMP library: 1.1.3.02

SYS/BIOS: 6.33.6.50

After the launching, the core1,2 and 3 are automatic in running state. There is no expected message echo in the console. This is quite different with the previous project launch. I pressed teh pause button, it shows these cores have different modules. I do not see the source code or the .cfg code do the partion job. What is wrong? Thanks

  • The load binary file is attached. Could you have a try on your EVM6678? I want to know what settings wrong in my system. Thanks.

    0245.openmpHello0.zip

  • Hi Robert

    I'll try this out today and let you know. I've also seen the other threads you posted yesterday and will look at those too and get back to you soon.

  • Hi Robert

    I was able to run your executable and get the expected output on the console. Could you please try the following before you load the .out file on the cores:

    1. Launch target configuration (.ccxml for 6678 EVM)

    2. Connect to the target (four cores)

    3. Select Core 0, go to Tools --> Debugger Options --> Generic Debugger Options. This should bring up a window as below. Please uncheck the option that says "On a program load or restart."

    4. Repeat this process for the other three cores.

    5. Now load the .out file on all four cores and run.

    6. You should see the following output on the console (not necessarily in the same order)

    [C66xx_0] Hello World from thread = 0
    [C66xx_0] Number of threads = 4
    [C66xx_2] Hello World from thread = 2
    [C66xx_1] Hello World from thread = 1
    [C66xx_3] Hello World from thread = 3

  • Hello, 

    I faced the same problem, and after setting the auto run option, its still caused error. :( 

  • Wendy,

    I have replied on the other thread you posted on, but I'll post again here: could you please ensure that you are using compiler version 7.4.0 to build the project? In the future I would suggest that you start a new e2e post with the details of your issue so that it is easy for all the relevant experts to spot your question as unanswered.

  • Hello Uday,

    Thank you very much for your response.

    Actually I posted a new one couple of hours ago(with details of course), but unfortunately there was nobody answering, 

    and until now, I still didnt fix the problem, that makes me difficult to move on :( 

    here is the link of my post http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/282730.aspx 

    hope you could answer. 

    Thanks.

    best regards,

    Wendy