Other Parts Discussed in Thread: SYSBIOS
Tool/software: Code Composer Studio
I am using CCS V7 with an XDS2XX debugger, however I have noticed same issue on XDS100V2
I have compiled a multi task application using irtos_tivac_2_16_01_14
When I run under the debugger the code executes for the first part of start up and then it just crashes with
FSR = 0x0000
HFSR = 0x40000000
DFSR = 0x00000001
MMAR = 0xe000ed34
BFAR = 0xe000ed38
AFSR = 0x00000000
Terminating execution...
Debug window shows:
B60246P1a_ETI [Code Composer Studio - Device Debugging]
Texas Instruments XDS2xx USB Debug Probe_0/CORTEX_M4_0 (Suspended)
loader_exit() at exit.c:55 0x0002ADC8
abort() at exit.c:130 0x0002ADD2
exit(int)() at exit.c:121 0x0002AE08
xdc_runtime_System_exit__E(int)() at System.c:131 0x000319EA
ti_sysbios_BIOS_exitFunc__I(int)() at B60246P1a_pem4f.c:3,349 0x00031B3A
ti_sysbios_family_arm_m3_Hwi_excHandlerMax__I(unsigned int *, unsigned int)() at BIOS.c:109 0x00010DF0
ti_sysbios_family_arm_m3_Hwi_excHandler__I(unsigned int *, unsigned int)() at Hwi.c:871 0x00030EDE
0xFFFFFFF0 (no symbols are defined for 0xFFFFFFF0)
However, If I disconnect the target from the debugger and simply reset the processor the application runs fine with no resetting, no crashing.
How is it possible that I cannot run the code through the debugger yet I can run the code fine without?
I have no breakpoints set, I am simply debugging the project and clicking on the run button