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.

How to fix/determine stack overflow in RTSC Module

Other Parts Discussed in Thread: TMS320C6472, SYSBIOS

Hi,

I am using CCSv4.2.1 with SYSBIOS 6.30.3.46, XDC 3.20.8.88, IPC 1.21.2.23 for the TMS320C6472 evaluation board.  I am trying to add the RTA module to my project to check load statistics including Thread Load and CPU Load.  When I run the project, I often get the following exception printout:

Exception_handler: EFR=0x2, NRP=0x2c80640, mode=supervisor
Internal exception: IERR=0x1
Instruction fetch exception
A0 =  00f01de8, A1 =  00000000
A2 =  0085f7a8, A3 =  00000000
A4 =  0086a210, A5 =  0029e900
A6 =  0000802b, A7 =  0087d9f8
A8 =  00248c60, A9 =  00000000
A10 = 00000001, A11 = 00000001
A12 = 00000000, A13 = 00241d4c
A14 = 00000007, A15 = 00000000
A16 = 0086174c, A17 = 00000000
A18 = 0086172c, A19 = 00000010
A20 = 00000000, A21 = 00000000
A22 = 27c0083c, A23 = 07ff93e0
A24 = 80e993d8, A25 = 400980a8
A26 = 10793fff, A27 = 0fff27c0
A28 = 00000000, A29 = 00000000
A30 = 0086ac48, A31 = 02c82040
B0 =  00f00da8, B1 =  00000001
B2 =  00000006, B3 =  02c80640
B4 =  002a0400, B5 =  00867ae8
B6 =  0086a4d8, B7 =  0087d9d8
B8 =  0086a520, B9 =  00000060
B10 = 00000001, B11 = 00253d44
B12 = 00000000, B13 = 00000000
B14 = 008883b8, B15 = 00f01e18
B16 = 0086176c, B17 = 00000000
B18 = 00000040, B19 = 00000000
B20 = 00000069, B21 = 0086a280
B22 = 0000020d, B23 = 00000000
B24 = 002a1cf0, B25 = 0086a280
B26 = 10000102, B27 = 00867be8
B28 = 00287ca8, B29 = 0085f2d0
B30 = 00f00d74, B31 = 00292cc0
NTSR = 0001020e
ITSR = 0000020f
IRP  = 00258aac
SSR  = 00000000
AMR  = 00000000
RILC = 00000000
ILC  = 00000000
Exception abort!

Then I check ROV for the stack usage of each Task:

As shown above, the RTA agent is using 100% of it's available stack.  Does this indicate there is a stack overflow?  If so, what options do I need to modify in the .cfg file to increase the RTA module stack size? Also, why is the entire Task 'stackPeak' column highlighted in red?

Thanks,

Nick