I am working with TM4C123BE6PZ, CCS 5.5, Tivaware 2.1.
I compile code with a call to SysCtlResetCauseGet and when I start to debug using a Spectrum Digital XDS560v2STM, I immediately end up in the FaultISR. I do not even hit a break point. I remove the call, restart debugging and hit the first breakpoint possible in the code.
Why is a call to this function getting me into the FaultISR?
NVIC_FAULT_STAT has 'bus fault addr register valid' and 'precise data buss error' set.
A call to the ROM_ version ends up in the same place. Looking at the register seems indicates the exact cause of reset.
This substitution does not work either:
UINT32 swReset = HWREG(SYSCTL_RESC);//SysCtlResetCauseGet();