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.

System_printf in SWI - GateMutex assertion failure

Other Parts Discussed in Thread: SYSBIOS

Hello,

I'm getting an unexpected error when making a call to System_printf in a SWI.  The SWI runs fine without it, but if adding that in (as needed), it reports the following error after generating the console text specified in the System_printf:

ti.sysbios.gates.GateMutex: line 114: assertion failure: A_badContext: bad calling context. See GateMutex API doc for details.
xdc.runtime.Error.raise: terminating execution

Any  help with debugging this would be appreciated.

Robert

 

IPC 1.22.3.23

SYS/BIOS 6.31.4.27

XDAIS 6.23

XDC 3.20.7.86