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.

Opcode exception ti.sysbios.family.c64p.Exception: line 256: E_exceptionMax: pc = 0x807ddff0, sp = 0x0085fec8.

Dear all,

We are working on C6654 DSP core using the SYS/BIOS bios_6_40_03_39 and we get the following exception

When the function BIOS_getThreadType is called then an opcode exception  takes place.

Following the B3 registers , in disassembly window,  I found the following the instrucition in address 008bf314:

10231C12 CALLP.S2 ti_sysbios_BIOS_getThreadType__E (PC+71904 = 0x008d0be0),B3

 

Have  a look below the full stack error path




C66xx_0] e8
A24=0x8080df80 A25=0x1
A26=0x0 A27=0x807e6f80
A28=0x807e6eec A29=0x0
A30=0x30 A31=0x78
B0=0x2065 B1=0xf0000c
B2=0x0 B3=0x8bf314
B4=0x0 B5=0x0
B6=0x8533a0 B7=0x4c0
B8=0x200 B9=0x0
B10=0xf0004c B11=0x85e080
B12=0x18000a0 B13=0x8b1054
B14=0x863d20 B15=0x85fec8
B16=0xfeaf012b B17=0x26e8d3b4
B18=0xc04026e8 B19=0x708c040
B20=0x10dffce B21=0x15000303
B22=0x20d B23=0xf
B24=0x9c B25=0x7256efbd
B26=0x0 B27=0xffffffff
B28=0x80427308 B29=0x40
B30=0x85b454 B31=0x817980
NTSR=0x1020f
ITSR=0x20d
IRP=0x8b3f1a
SSR=0xf
AMR=0x0
RILC=0x0
ILC=0x0
Exception at 0x807ddff0
EFR=0x2 NRP=0x807ddff0
Internal exception: IERR=0x8
Opcode exception
ti.sysbios.family.c64p.Exception: line 256: E_exceptionMax: pc = 0x807ddff0, sp = 0x0085fec8.
xdc.runtime.Error.raise: terminating execution

Best regards
George

  • Hi George, 

    Sorry for the delayed response, your post fell through the cracks.

    An opcode exception usually means memory corruption is occurring.  Firstly, can you run your application, halt it and open ROV.  Check all of your Task stacks and Hwi stacks and increase the stack size if any shows signs of corruption.  Secondly, do you have logging enabled?  What do they contain when the exception occurs?  This can help track where the problem is happening.

    Regards,

    -- Emmanuel