Hi Recently I updated MDK-3.4 evolution version .
I simulated the keil CARM example “EX11-InterruptFIQ†in both versions 2.4 and 3.4 and its fine.
Then implemented Fiq interrupt in my program( 3.4 evolution version )
The ISR is modified as it mentioned in help (Real View) __irq void FIQ_Handler (void) { IOSET1 = 0x00FF0000; //Set the LED pins
EXTINT = 0x00000002; }
In simulation the generated external interrupt is vectored to vector table But from vector table the ISR is not being addressed. The simulation is held at
“ FIQ_Handler B FIQ_Handler “ in vector table
Please help me
It appears that the FIQ entry in your vector table is simply an endless loop:
FIQ_Handler B FIQ_Handler
You should modify it to point to your FIQ handler:
IMPORT FIQ_Handler B FIQ_Handler
Hi,
This is an endless loop, you have to branch to your custom handler function. The assembler does not know the function FIQ_Handler you defined in a c file.
You have to remove this line from the .s file like descriped here: www.keil.com/.../ulink2_ra_modifying_startup.htm
Thanks Mike
It's working fine.
Thanks Stefan Hartwig