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.

IPC is not syncing

XDCtools version: 3.20.04.68
IPC: 1.21.02.23
BIOS: 6.30.03.46
XDAIS: 6.25.01.08

Add codes of  helloworld.c(mcsdk_1_00_00_08\packages\ti\platform\nimu\test\evm6472\helloworld) to Notify(ipc_1_21_02_23\packages\ti\sdo\ipc\examples\multicore\c6472) examples. Add  NDK 2.20.2.22 in RTSC.
Configure the C6000 compiler-Include Options and C6000 Linker-File Search Path according to the corresponding part of helloworld.c.
RTSC Platform:ti.sdo.ipc.examples.platforms.evm6472.core0

 

Core0 communicate with PC by socket. When core0 receives a message from PC,  it notifys core1 to light led1.

Sometimes the program run smoothly without problems, other times the program is
blocked and no notifications are exchanged. And sometimes the core0 sends a
notification to core1 and no other notifications are sent.


So I comment the Printf sentence in EVM_init function. The problem resolved.

Who can tell me why?

  • Mary, 

    Perhaps you could use the ROV tool to figure out where your application is blocked.  In CCSv4/5, go to 'Tools' and choose 'ROV'.  You may be prompted to perform some brief configuration if you've never done this before.

    Once ROV has started, navigate to the 'Task' ROV view, switch to the 'detailed' view (by clicking the corresponding tab in the ROV pane) and look for the 'blockedOn' column.

    I'm not sure what effect commenting 'printf' has on your application.  Hopefully using ROV sheds some light on your issue though.

    Regards,

    SHreyas

  • Thanks,SHreyas. I'll try.