Other Parts Discussed in Thread: SYSBIOS, AM3354
Hello.
I've got a strange issue in lwip port from industrial sysbios sdk:
ti.sysbios.knl.Semaphore: line 289: assertion failure: A_badContext: bad calling context. Must be called from a Task. xdc.runtime.Error.raise: terminating execution
Assertion fails because of call Semaphore_pend function call from sys_arch_sem_wait function called from mem_free function called from transmit interrupt handler.
Stack trace is shown on attached picture.
The file with sys_arch_sem_wait function is file with system-dependent interface for lwip. I got it from enetLwip_sysbios example.
Are there any ways to get rid of this problem?
Maybe there is new file with system-dependent interface for lwip (current file from SDK was written in 2012)?


