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.

an exception occurred

Part Number: TMS320C6657
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

Hi, we developed DSP program based on HelloWorld example to use the NDK. In my program, we send and receive data to and from FPGA, each time we will send the test results to PC via Ethernet. Here, we encountered a very strange problem: sometimes after serveral hundreds times, sometimes after ten thousands times, the sys/bios has the following exception:

[C66xx_0] A0=0x800100 A1=0x8
[C66xx_0] A2=0x0 A3=0x8004f4
[C66xx_0] A4=0x0 A5=0xf8
[C66xx_0] A6=0x800000a1 A7=0x1
[C66xx_0] A8=0x800000a2 A9=0x800474
[C66xx_0] A10=0x0 A11=0x800000
[C66xx_0] A12=0x0 A13=0x0
[C66xx_0] A14=0x803ce3e8 A15=0x0
[C66xx_0] A16=0xfaf0 A17=0x4
[C66xx_0] A18=0x80000000 A19=0x0
[C66xx_0] A20=0x0 A21=0x0
[C66xx_0] A22=0x0 A23=0x23
[C66xx_0] A24=0x20 A25=0x160
[C66xx_0] A26=0x5d00 A27=0x6d00
[C66xx_0] A28=0x0 A29=0x200
[C66xx_0] A30=0x800065d8 A31=0x0
[C66xx_0] B0=0x0 B1=0x803d9ca0
[C66xx_0] B2=0x0 B3=0x8034070c
[C66xx_0] B4=0x1 B5=0x15000103
[C66xx_0] B6=0x80337c80 B7=0x800c58
[C66xx_0] B8=0x0 B9=0x0
[C66xx_0] B10=0x232f65 B11=0x0
[C66xx_0] B12=0x0 B13=0x0
[C66xx_0] B14=0x803da89c B15=0x803d9c28
[C66xx_0] B16=0x0 B17=0x0
[C66xx_0] B18=0x0 B19=0x80394300
[C66xx_0] B20=0x803b4bfc B21=0x0
[C66xx_0] B22=0x20f B23=0x0
[C66xx_0] B24=0x11c0 B25=0x2c0808c
[C66xx_0] B26=0x0 B27=0x0
[C66xx_0] B28=0x2c08100 B29=0xc0
[C66xx_0] B30=0x184a680 B31=0x0
[C66xx_0] NTSR=0x1020e
[C66xx_0] ITSR=0x20f
[C66xx_0] IRP=0x8036061a
[C66xx_0] SSR=0x0
[C66xx_0] AMR=0x0
[C66xx_0] RILC=0x0
[C66xx_0] ILC=0x0
[C66xx_0] Exception at 0x80337cc4
[C66xx_0] EFR=0x2 NRP=0x80337cc4
[C66xx_0] Internal exception: IERR=0x10
[C66xx_0] Resource conflict exception
[C66xx_0] ti.sysbios.family.c64p.Exception: line 248: E_exceptionMin: pc = 0x80337cc4, sp = 0x803d9c28.
[C66xx_0] To see more exception detail, use ROV or set 'ti.sysbios.family.c64p.Exception.enablePrint = true;'
[C66xx_0] xdc.runtime.Error.raise: terminating execution

And from disassembly code, it stopped at:

ti_sysbios_family_xxx_Hwi_switchToTaskStack:
80362b60: 001018F3 MV.D2X A4,B0
80362b64: 00023428 || MVK.S1 0x0468,A0
80362b68: 00004069 MVKH.S1 0x800000,A0
80362b6c: 000C0362 || B.S2 B3
80362b70: 37800266 [!B0] LDW.D1T2 *+A0[0],B15
80362b74: 30000276 [!B0] STW.D1T2 B0,*+A0[0]
80362b78: 00004000 NOP 3
80362b7c: 00000000 NOP
C$$EXIT, abort:
80362b80: 00000000 NOP

It seems the sys/bios executed abort() function and exit.

Since I am not very familiar with SYS/BIOS, can someone help me or give me some suggestions?

Thanks.

CCS: Version: 5.2.1.00018

SYS/BIOS: bios_6_33_06_50

XDC version: xdctools_3_23_04_60

 

I attached my project here.7875.project-6657l.rar