[C674X_0] ti.sysbios.knl.Semaphore: line 204: assertion failure: A_badContext: bad calling context. Must be called from a Task.
xdc.runtime.Error.raise: terminating execution
what this error refere to ?
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.
[C674X_0] ti.sysbios.knl.Semaphore: line 204: assertion failure: A_badContext: bad calling context. Must be called from a Task.
xdc.runtime.Error.raise: terminating execution
what this error refere to ?
This is likely caused by a Semaphore_post/pend API being called from another context besides a Task (e.g. HWI - interrupt level or SWI).
thank you for your reply
is put a Semaphore_post/pend API in HWI error ??
if i disable all interrupt this error will not caused ??
thank you
i know my error
i call function that contain a Semaphore_post/pend API