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: MessageQ_get报错:ti.sysbios.knl.Semaphore: line 207: assertion failure: A_badContext: bad calling context. Must be called from a Task.

Part Number: TMS320C6678

我在使用双核通信,主核在任务中不断循环调用MessageQ_put,从核在任务中通过MessageQ_get接收,但是第一次put可以正确接收下来,主核第二次put的时候就会触发从核报错,报错内容为ti.sysbios.knl.Semaphore: line 207: assertion failure: A_badContext: bad calling context. Must be called from a Task.,可是我并没有用semaphore,想知道这是怎么回事,为什么消息队列只能接收一次消息