Other Parts Discussed in Thread: SYSBIOS
I have a piece of code in my project
streamParams.maxIssues = NUM_BUFS;
chanParams = audioIfChanDefaultInfo[1].chanParam;
chanParams->edmaHandle = hEdma;
streamParams.chanParams =(UArg)&audioIfChanDefaultInfo[DriverTypes_OUTPUT];
/* open the I/O streams */
outStream = Stream_create("/audio0", DriverTypes_OUTPUT,&streamParams, &eb);
this compiles and executes correctly when compiled with TMS320C6x C/C++ Compiler v6.1.5.
This however generated COFF format and we needed ELF format. So we moved to TMS320C6x C/C++ Compiler v7.2.0. Now the executable generated gives the following error for the same code.
t=0x001da250] [tid=0x0] xdc.runtime.Main: Welcome to devnodeServer's main()
[t=0x00000015:c25ecf5d] [tid=0x0] ti.sysbios.knl.Task: ERROR: "", line 330: E_stackOverflow: Task 0x8b106d50 stack overflow.
ti.sysbios.knl.Task: line 330: E_stackOverflow: Task 0x8b106d50 stack overflow.
xdc.runtime.Error.raise: terminating execution
I even moved to latest version of 7.2 compiler and we still get the same error. What can we try to fix this issue?