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.

Problems with IPC examples



Hello,

I've got a problem with both IPC examples (MessageQ and Notify) running them in CCS. Setup is as follows:

CCS Version 5.1, IPC Version 1.23.05.40, SYS/Bios Version 6.32.05.54, Using TMDXEVM6678 Rev. 1.0 on Windows 7

Compiling both examples is okay.

Loading and starting the Notify example on one ore more cores is okay, also the first output is shown:

[C66xx_0] main: MultiProc id = 0
[C66xx_0] main: MultiProc name = CORE0
[C66xx_1] main: MultiProc id = 1
[C66xx_1] main: MultiProc name = CORE1

But the example doesn't terminate and no output from the tsk0_func is printed. Pausing the cores, they are in functions like:

-SharedRegion_getEntry
-Ipc_procSyncStart
-Ipc_attach

Behaviour on simulator is the same. Starting the MessageQ example, it is also the same behaviour, but the output seen above is not shown.

I think it's a configuration problem with IPC, but I don't enough to debug this problem.

 

Thanks for help,

Best Regards,

Bernd

  • Hi Bernd,

    If you didn't make any modification on the original source code and cfg script, the program should run without problem.

    And do you run the program on all 8 cores? I see you only paste the console output on 2 cores.

    If not, the IPC_attach will suspend, because the Ipc.procSync = Ipc.ProcSync_ALL; is stated in cfg, so you should run all 8 cores in order to finish attaching.

     

    Allen

  • Hi Allen,

    very nice, that was the problem. I thought I tried it, but for sure I haven't.

    Thanks for the help,

    Best Regards,
    Bernd