Part Number: TM4C123GH6PM
Tool/software: Code Composer Studio
Hi. I'm fairly new to Tiva MCU programs being compiled under CCS (or anywhere) and seem to be having trouble with what I think is the .map file. My program, which is partly visible in the attached word file, is looping infinitely when it gets to executing the SysCtlClockSet() function - which is the first call in main() - and the Debugger quits, citing problems with NMI or Hardware Faults. From what I can see in the Problems window, I wonder if the problem is with either the stack pointer or program counter not being properly initialised. I would have thought the IDE would have assigned some realistic values to these registers at startup. Also, what is the proper sequence of SysCtlPeripheralxxx calls when one wants to initialise a Port? Can anyone help me here? Thanks, Harry.
