Other Parts Discussed in Thread: TM4C123GH6PM, SEGGER
Tool/software: Code Composer Studio
I have a simple program that uses UART0 to communicate with a terminal program (Putty) running on the Windows machine my TM4C Tiva LaunchPad is hooked up to. The program prompts the user through the terminal for a keypress of "r", "g" or "b" and when receiving the keypress turns on the corresponding LED on the TM4C.
This program works fine when compiled with the TI compiler in Code Composer Studio. I can run the program in debug mode and it breaks at main and I can step through it fine - everything works fine.
However, when I compile with GCC in Code Composer Studio (GCC 6.3.1 and CCS 7.2), the program compiles fine, but when starting in the debugger it goes directly to FaultISR function before it even gets to main - or at least once I startup it doesn't break at main and when I press "pause" it's in the FaultISR function.
Any ideas? Or any advice on how I can step through the assembly from the very beginning to see how it ends up in the FaultISR?