Configuration:
BIOS: 6.30.02.42
MCSDK:1.00.00.08
XDCtools version: 3.20.03.63
Code Gen Tools: 7.0.3
IPC: 1.21.02.23
PDK C64x:1.00.00.06
var ti_sysbios_knl_Mailbox = xdc.useModule('ti.sysbios.knl.Mailbox');
var instti_sysbios_knl_Mailbox0Params0 = new ti_sysbios_knl_Mailbox.Params();
instti_sysbios_knl_Mailbox0Params0.sectionName = "DDR2";
instti_sysbios_knl_Mailbox0Params0.heap = null;
instti_sysbios_knl_Mailbox0Params0.instance.name = "MBX0";
instti_sysbios_knl_Mailbox0Params0.buf = null;
instti_sysbios_knl_Mailbox0Params0.bufSize = 0;
Program.global.MBX0 = ti_sysbios_knl_Mailbox.create(100, 2, instti_sysbios_knl_Mailbox0Params0);
I have the following issue. Two tasks (TSK) running on DSP. Task1(stacksize 0x14000,priority 1) gets messages by socket from the client and sends data to task2(stacksize 0x14000,priority 2) through a MAILBOX (length 2,buffersize 100).
The program gives me the error below:
ti.sysbios.knl.Task: line 334: E_stackOverflow: Task 0x0 stack overflow.
xdc.runtime.Error.raise: terminating execution
Can you tell me whether the configuration of the mailbox is incorrect or some other problems of the program?