Part Number: TM4C1290NCPDT
Other Parts Discussed in Thread: SYSBIOS
Hi Team,
CPU is stopped by Exception. Debug view and Console view is as below.
How to debug it?
It seems Optimization level affects this issue. No optimization level works. -O2 cause an issue.
This is happened during DeviceNet ComformanceTest. This is not always the case, and the above test may complete successfully about once every five times.
- Debug view

- Console view
[CORTEX_M4_0] ti.sysbios.family.arm.m3.Hwi: line 945: E_hardFault: FORCED
ti.sysbios.family.arm.m3.Hwi: line 1057: E_usageFault: INVSTATE: Invalid EPSR and instruction combination
Exception occurred in background thread at PC = 0x00000000.
Core 0: Exception occurred in ThreadType_Task.
Task name: {unknown-instance-name}, handle: 0x2000e530.
Task stack base: 0x2000e598.
Task stack size: 0x2000e598.
R0 = 0x200030d0 R8 = 0x2000e590
R1 = 0x2000e540 R9 = 0x2000e590
R2 = 0x00000000 R10 = 0x2000e598
R3 = 0x0000001d R11 = 0x2000e598
R4 = 0x2000e580 R12 = 0x13280300
R5 = 0x2000e580 SP(R13) = 0x2000e5a0
R6 = 0x2000e588 LR(R14) = 0x0002030b
R7 = 0x2000e588 PC(R15) = 0x00000000
PSR = 0x00000200
ICSR = 0x00423803
MMFSR = 0x00
BFSR = 0x00
UFSR = 0x0002
HFSR = 0x40000000
DFSR = 0x00000000
MMAR = 0xe000ed34
BFAR = 0xe000ed38
AFSR = 0x00000000
Terminating execution...
By the way, handle : 0x2000e530 is not a task handle which the customer makes.
Thanks and Best regards,
Kuerbis