Part Number: CC1352P
Other Parts Discussed in Thread: SYSBIOS
Hello,
I am using a CC1352P Rev. E in a custom design that runs the BLE Stack with a modified SPPClient.c example.
I am in the middle of upgrading from SDK 2.30 to 2.40, and struggling with an exception for days, so I need your help please how to investigate this further.
This is the error print of the XDC runtime:
ti.sysbios.family.arm.m3.Hwi: line 1148: E_hardFault: FORCED
ti.sysbios.family.arm.m3.Hwi: line 1260: E_usageFault: INVSTATE: Invalid EPSR and instruction combination
Exception occurred in background thread at PC = 0x00000000.
Core 0: Exception occurred in ThreadType_Swi.
Swi name: {unknown-instance-name}, handle: 0x2000fa18.
Swi stack base: 0x20013800.
Swi stack size: 0x800.
R0 = 0x00000000 R8 = 0x00000001
R1 = 0x00000000 R9 = 0x20010460
R2 = 0x0001141a R10 = 0x00000000
R3 = 0x00000412 R11 = 0x00000000
R4 = 0x2000ef74 R12 = 0x00000000
R5 = 0x20003538 SP(R13) = 0x20013f70
R6 = 0x0001182c LR(R14) = 0x00027be7
R7 = 0x000005c8 PC(R15) = 0x00000000
PSR = 0x60000000
ICSR = 0x00400803
MMFSR = 0x00
BFSR = 0x00
UFSR = 0x0002
HFSR = 0x40000000
DFSR = 0x00000001
MMAR = 0xe000ed34
BFAR = 0xe000ed38
AFSR = 0x00000000
Terminating execution...
I am using the SPPServer application (again modified) on another device and I have never seen this exception there.
The exception happens after starting the BLE discovering process.
I am using the example project "dmm_154sensor_remote_display_app_CC1352P_2_LAUNCHXL_tirtos_ccs" as a template, so I am using the same compiler flags, same BLE configs, etc. I am using the BLE release config, and hence the internal ROM.
Please help!
Thank you
hkr