Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Hi,
In some conditions, the rtos raises the abort exception related to the NDK thread.
Exception occurred in ThreadType_Task.
Task handle: 0x80061eec.
Task stack base: 0x800eaab0.
Task stack size: 0x2000.
R0 = 0x6000015f R8 = 0x800b2d84
R1 = 0x80065728 R9 = 0x800903a2
R2 = 0x00000000 R10 = 0x00000080
R3 = 0x0000003d R11 = 0x0000002a
R4 = 0x80065728 R12 = 0x4b5a6978
R5 = 0x8018f0dc SP(R13) = 0x8003c67c
R6 = 0x00000000 LR(R14) = 0x800ee964
R7 = 0x8018f018 PC(R15) = 0x8003c67c
PSR = 0x0000002a
DFSR = 0x00000805 IFSR = 0x0000000f
DFAR = 0x00000008 IFAR = 0x833cfc91
ti.sysbios.family.arm.exc.Exception: line 205: E_dataAbort: pc = 0x8003c67c, lr = 0x800ee964.
xdc.runtime.Error.raise: terminating execution
Some times I´ve go this error too:
01037.645 NIMUReceivePacket: Bad Size; Payload is 0 bytes
Exception occurred in ThreadType_Task.
Task handle: 0x8006205c.
Task stack base: 0x800eac70.
Task stack size: 0x2000.
R0 = 0x6000015f R8 = 0x80063db8
R1 = 0x80070f60 R9 = 0x8018eff0
R2 = 0x00000000 R10 = 0x8018eff0
R3 = 0x0000005e R11 = 0x800ecbbc
R4 = 0x80070f60 R12 = 0x4b5a6978
R5 = 0x8018f29c SP(R13) = 0x8003c678
R6 = 0x00000000 LR(R14) = 0x800eeb24
R7 = 0x8018f32c PC(R15) = 0x8003c678
PSR = 0x800ecbbc
DFSR = 0x00000805 IFSR = 0x0000040f
DFAR = 0x00000008 IFAR = 0x833cff91
ti.sysbios.family.arm.exc.Exception: line 205: E_dataAbort: pc = 0x8003c678, lr = 0x800eeb24.
xdc.runtime.Error.raise: terminating execution
On my test environment, the eth0 of an AM437x Starter Kit board and a PC are connected to a switch at 100Mbps full duplex. The PC sends udp datagrams of 1280 bytes every 15 ms (average).
I believe an error on the reception or a peak of datagrams is causing the problem.
The problem is that an neither of those events shall cause the software to abort.
Installed itens:
CCS 7.2
GCC ARM Compiler 4.9.3
processor_sdk_rtos_am437x 4.00.00.04
am437x PDK v1.0.7
bios 6.46.05.55
xdctools 3.32.02.25_core
Board: AM437x Starter Kit
regards,
Marcio.