Sometimes, when I try to load or debug my TIVA based project, I find that the program get a FaultISR interrupt if I connect the Tiva board for the first time!! (Every time I try to debug for a second time everything works ok).
The NVIC_Fault_Stat register is in 0x00010000 as shown below, which means Undefined Instruction Usage Fault:
My stack pointers are:
20007ef8 __STACK_END
00000578 __STACK_SIZE
20007d80 __STACK_TOP
And the MSP register is inside this area 0x20007EC0 (but close to STACK_END):
On the other hand the NVIC_FAULT_ADDR is 0xE000EDF8, Checking the Memory Model I found that this Address is in the Private Peripheral Bus at Cortex-M4f Peripherals but doesn't match any register.
It only happens in the first connection of the board via USB to the PC, but it kind of bothers me not knowing why and not having it under control.
Can you give some ideas on this?
Thank you