This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[TDA4 HWI] meets an issue which case ti.sysbios.hal.Hwi: line 202: E_stackOverflow: ISR stack overflow. xdc.runtime.Error.raise: terminating execution

Other Parts Discussed in Thread: SYSBIOS

Hello there,

I meet an issue during "running" C71 with RTOS in TDA4 Linux kernel mode;

My Test way is:

a. Compile C71 image and replace the j7-c71_0-fw firmware in TDA4 board /lib/firmware/

b. reboot and type "cat /sys/kernel/debug/remoteproc/remoteproc2/trace0" it will show"

Trace:c71x_recv_msg start
ti.sysbios.hal.Hwi: line 202: E_stackOverflow: ISR stack overflow.
xdc.runtime.Error.raise: terminating execution. The test will be stopped once call ipc_recv in c71.

C71 BIOS configuration:

 */
Program.argSize = 0x0;

/* Minimum required to be 16K aligned to avoid BIOS build warning */
Program.stack = 0x800000; 

C71 mem map:

0000b7410000    0000b7410000    00872000   00000000    rw-
  0000b7410000    0000b7410000    00800000   00000000    rw- .stack

0000b7cf4000    0000b7cf4000    00004000   00000000    rw-
  0000b7cf4000    0000b7cf4000    00004000   00000000    rw- .bss:taskStackSection

No matter how to change the value of Program.stack,  the size of "bss:taskStackSection" is 0x4000; and it will show stack overflow;

Bios Version: bios_6_76_03_01

Could you please help me figure it out! thanks a lot!

Best Regards,

Samuel,