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.

AM5728: UART_printf not working inside DCAN interrupt service routine

Part Number: AM5728
Other Parts Discussed in Thread: SYSBIOS

Hi,

       I have an application running on DSP core of AM572x, I am trying to print the received data in the DCAN ISR, but as soon as I call the UART_printf() function to print on console the whole application goes into abort mode and I am getting an error on the JTAG console:

[C66xx_DSP1] ti.sysbios.knl.Semaphore: line 215: assertion failure: A_badContext: bad calling context. Must be called from a Task.

xdc.runtime.Error.raise: terminating execution

Why it is unable to print data on UART console?

Please help

Thanks and Regards

Raj Johri