I have just received a Stellaris LM4F232H5QD evaluation board and I'm trying to set up a simple timer interrupt. When debugging I can see that the timer is enabled and counting by monitoring the TIMER1A value register. I can also look at the NVIC registers and see that the interrupt is enabled. The problem is that my ISR never seems to be executed. I have copied startup_ccs.c from an example file in the StellarisWare project, and defined by ISR there.
This is the code used to initialize the interrupts etc.
SysCtlPeripheralEnable(SYSCTL_PERIPH_TIMER0);
TimerConfigure(TIMER0_BASE, TIMER_CFG_PERIODIC);
TimerLoadSet(TIMER0_BASE, TIMER_A, SysCtlClockGet() / 50);
TimerIntEnable(TIMER0_BASE, TIMER_TIMA_TIMEOUT);
IntEnable(INT_TIMER0A);
TimerEnable(TIMER0_BASE, TIMER_A);
IntMasterEnable();
and from startup_ccs.c (my ISR is loop_20ms, and it is declared as external void loop_20ms() at the top of startup_css.c):
IntDefaultHandler, // Watchdog timer
loop_20ms, // Timer 0 subtimer A
IntDefaultHandler, // Timer 0 subtimer B
Am I missing something?