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(sharedRegion & notify)



TI工程师:

 您好!

现在我正在集成几个任务模块到一个工程中, 这里涉及到网络通信,8核共同计算(用到sem同步,sharedregion,notify)。我现在core0 建两个任务,一个是udp接收到数据,另一个任务进行一个8核的计算,udp任务收到数据,Sem通知计算任务开始进行计算。

在main函数中,先执行了IPC_start(), 注册notifyEvent, 接下来core0初始化外设,task,sem, hwi。

.cfg 文件, 我是参考了两个工程的.cfg文件,进行整合。执行后出现错误,IPC_start(), 以及事件注册不能正常执行。

现在有几个问题不太清楚:

1. 现在cor0执行的操作流程是否正确?

2. 涉及IPC 8核同步,是否可以在core0建多个任务?

3. 对于涉及NDK, 以及IPC 模块的工程, 它的.cfg文件配置有什么需要注意的。

4. IPC_start()进行同步,需要进行sharedRegion, notify操作的相关task,sem的创建问题,其动态创建和静态创建效果是否一样?