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.

Exception Error in C6670

Other Parts Discussed in Thread: SYSBIOS

Dear all,

In core 2, we are creating task of size 32k in L2SRAM. Our application runs on core 0, 2 and 3. Sysbios clock(1 ms duration) runs on core 0 and our application runs on core 2 and core 3.

After some period, core 2 got exited displaying the error as

A0=0x1 A1=0x0
A2=0x4 A3=0x0
A4=0x0 A5=0x8a4797d4
A6=0x4 A7=0x2ea
A8=0x0 A9=0x8a4797d0
A10=0x861790 A11=0x0
A12=0x0 A13=0x0
A14=0x0 A15=0x0
A16=0x10103a7 A17=0x0
A18=0x861578 A19=0x30
A20=0x0 A21=0x0
A22=0xef869dc2 A23=0x442100a2
A24=0x20040 A25=0x8000d21a
A26=0x32b792e7 A27=0x0
A28=0x0 A29=0x0
A30=0x0 A31=0x2
B0=0x1 B1=0x1
B2=0x8a4797d0 B3=0x84044564
B4=0xe B5=0x858c08
B6=0x9 B7=0x10
B8=0x24cfd516 B9=0x36
B10=0x0 B11=0x0
B12=0x0 B13=0x0
B14=0x84100f80 B15=0x8615c0
B16=0x40000000 B17=0x1f
B18=0x8a423580 B19=0x8a423580
B20=0x8a423580 B21=0x8a423580
B22=0xf B23=0x0
B24=0x50624011 B25=0xf14bbd55
B26=0x4088c803 B27=0x1014364
B28=0x0 B29=0x1
B30=0x42 B31=0x4b
NTSR=0x1020c
ITSR=0xe
IRP=0x8b74f0
SSR=0x0
AMR=0x0
RILC=0x0
ILC=0x0
Exception at 0xc
EFR=0x2 NRP=0xc
Internal exception: IERR=0x1
Instruction fetch exception
{module#23}: line 248: E_exceptionMin: pc = 0x0000000c, sp = 0x008615c0.
To see more exception detail, use ROV or set 'ti.sysbios.family.c64p.Exception.enablePrint = true;'
xdc.runtime.Error.raise: terminating execution


We suspended all the cores and one of Heapmem section in ROV displaying the error as  "corrupted free list nxt header ptr (ox2ea) at free list entry 0x858944"

Size of heap section is 327680 in L2SRAM.

Can anyone help us to resolve this issue?

Thanks & Regards,

K .Lakshmanan


  • The PC is at 0x0000 000c which is an invalid address.  Thus the exceptions.  The question is why it got there in the first place.

    We'll need to do some back tracking.  Dump the Dissassembly window for at least 20 lines before and 10 lines after the address held in the B3 register.  

    B3 is used as a return pointer from the last location prior to branching to another location.  In this case this is out in DDR.  

    Also, I'm going to change this title as we have no idea whether this is stack related or some other issue at this point such.  Note that the last item, which you have highlighted I believe to be an effect of the core halting do to the exception and not the cause.

    Best Regards,
    Chad