I'm writing a SYS/BIOS application on a TMS320C28346. CCS version 4.2.4 SYS/BIOS version 6.32.2.39
I have 5 tasks running, each with a different priority. I'm using binary semaphores, created and configured graphically to control task flow.
My task flow seems to be working fine until I try and block (semaphore_pend) a second task with a semaphore.
One task blocked, no problem. But when I call the a semaphore_pend with one task already blocked I get a stack overflow error
ti.sysbios.knl.Task: line 330: E_stackOverflow: Task 0x9b00 stack overflow. xdc.runtime.Error.raise: terminating execution
I have switched some of my pends around and the overflow occures in the task that calls the second semaphore_pend.
I have quadrupled the size of my task just to be sure and have also used the ROV to verify that I'm nowhere near the size limit.
Is this some limitation that I'm not aware of? Configuration issue? Has anybody else seen this issue before?