Hi
I'm trying to find the limitations of MessageQ (IPC) w.r.t. a hardware interrupt routine.
Can you point me to context calling info similar to the "Calling Context" table in the CCSv4 Help -> BIOS 6.21.03.21 -> API Reference (cdoc) -> ti -> sysbios -> ipc -> Mailbox
I'd like to know if MessageQ_alloc and MessageQ_put can be run from an HWI
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
This was found in the IPC Users Guide http://focus.ti.com/lit/ug/sprugo6a/sprugo6a.pdf
It stated “ MessageQ supports reads and writes of different thread models. It can work with threading models that include SYS/BIOS’s Hwi, Swi, and Task threads.”
But I get the error below which is telling me its not possible
ti.sysbios.gates.GateSwi: line 37: assertion failure: A_badContext: bad calling context. May not be entered from a hardware interrupt thread.
xdc.runtime.Error.raise: terminating execution
Cheers