If I set the Program.stacksize to 768 everything works fine. If I change the stack size to 1024 whenever I plug in the USB cable I get the following error. ti.sysbios.family.arm.m3.Hwi: line 1087: E_hardFault: FORCED ti.sysbios.family.arm.m3.Hwi: line 1164: E_busFault: IMPRECISERR: Delayed Bus Fault, exact addr unknown, address: e000ed38 Exception occurred in ISR thread at PC = 0x000087de. Core 0: Exception occurred in ThreadType_Hwi. Hwi name: {unknown-instance-name}, handle: 0x20000bb8. Hwi stack base: 0x200031e8. Hwi stack size: 0x400. R0 = 0x00000000 R8 = 0x00000000 R1 = 0x00000041 R9 = 0x0000d768 R2 = 0x00000001 R10 = 0x0000d760 R3 = 0x200034e8 R11 = 0x0000d764 R4 = 0x20002f0c R12 = 0x00000000 R5 = 0xffffffff SP(R13) = 0x200034d8 R6 = 0x00000001 LR(R14) = 0x00005ffb R7 = 0xffffffff PC(R15) = 0x000087de PSR = 0x6100503a ICSR = 0x00423003 MMFSR = 0x00 BFSR = 0x04 UFSR = 0x0000 HFSR = 0x40000000 DFSR = 0x0000000a MMAR = 0xe000ed34 BFAR = 0xe000ed38 AFSR = 0x00000000 Terminating execution... ti.sysbios.family.arm.m3.Hwi: line 1087: E_hardFault: FORCED ti.sysbios.family.arm.m3.Hwi: line 1199: E_usageFault: INVSTATE: Invalid EPSR and instruction combination ti.sysbios.family.arm.m3.Hwi: line 1164: E_busFault: IMPRECISERR: Delayed Bus Fault, exact addr unknown, address: e000ed38 Exception occurred in ISR thread at PC = 0x0000d760. Core 0: Exception occurred in ThreadType_Main. Main name: main(), handle: 0x0. Main stack base: 0x200031e8. Main stack size: 0x400. R0 = 0x20002f0c R8 = 0x00000000 R1 = 0xffffffff R9 = 0x0000d768 R2 = 0x00000001 R10 = 0x0000d760 R3 = 0xffffffff R11 = 0x0000d764 R4 = 0x20002f0c R12 = 0x00000000 R5 = 0xffffffff SP(R13) = 0x200034b8 R6 = 0x00000001 LR(R14) = 0x0000d768 R7 = 0xffffffff PC(R15) = 0x0000d760 PSR = 0x0000d764 ICSR = 0x00423003 MMFSR = 0x00 BFSR = 0x04 UFSR = 0x0002 HFSR = 0x40000000 DFSR = 0x0000000b MMAR = 0xe000ed34 BFAR = 0xe000ed38 AFSR = 0x00000000 Terminating execution...
↧