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.

TMS320C6678: DSP两核通信出错

Part Number: TMS320C6678
Other Parts Discussed in Thread: SYSBIOS

我的工程是两个核使用messageQ通信,主核core0通过task初始化messgeQ,然后等待GPIO硬件中断,进入硬件中断后给core1发送数组的地址。

部分程序如下所示:

然而当我触发硬件中断后,会出现[C66xx_0] ti.sysbios.gates.GateSwi: line 68: assertion failure: A_badContext: bad calling context. May not be entered from a hardware interrupt thread.

这样的错误警告。

当我把messageQ的都放在task里运行程序就不会报错。请问上面的编程是有逻辑上的错误吗?