Hi I'm debugging a timer interrupt program on an ARM9 based target board with Keil uVision4 debugger. All codes were built and downloaded directly to SDRAM via Ulink2. The problem is that PC doesn't jumped to timer interrupt, but into pAbort interrupt instead.
The program are as follows,
static void __irq timer3_ISR (void ) //define irq //service program {
ClearPending(BIT_TIMER3); // clear interrupt bits User_task_1; User_task_2;
}
void main { ... pISR_TIMER3 = (U32)timer3_ISR; // setup interrupt //vector of timer3 ... }
Phenomena, 1) Finally PC always jumped to pAbort interrupt, but not timer 3 interrupt. While in watch window, I can always see that timer 3 had generated a interrupt
2) If I disable any interrupt by setting INTMASK, all other codes run quite well.