Part Number: TM4C123GH6PZ
Other Parts Discussed in Thread: UNIFLASH,
Tool/software: Code Composer Studio
I'm running CCS v8 and I connected to my TM4C123G using an XDS110 with a 14-pin connector. The very first time, the debugger ran to main() and then stopped as normal. When I started running the code it got as far as SysCtlClockSet() and then stopped. When I tried reconnecting, I got the error shown in the title. I now get that error every time I try to start a debug session. Can anyone tell me what has gone wrong and how to fix it? Thanks, Harry.
int main(void)
{
unsigned long ulLoop;
for ( ulLoop = 1000; ulLoop > 0; ulLoop-- ) {
;
}
// Enable main clock
SysCtlClockSet( SYSCTL_SYSDIV_25 | SYSCTL_USE_PLL |
SYSCTL_OSC_MAIN | SYSCTL_XTAL_16MHZ );
// Enable peripheral clock
//SysCtlPeripheralClockGating( 0xff ); // Only required for peripherals that need clocking
//