This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to enable Fiq in Real View?

I know how to make a fiq in CARM,but asfor the real View,it seem different. Can somebody help?
Should I write the program like this:
__irq void FIQ_Handler (void)
{ IOSET1 = 0x00FF0000; //Set the LED pins
EXTINT = 0x00000002;
}

but I see the startup
"FIQ_Handler B FIQ_Handler"
it seem like a endless loop,how can I make the code jump to FIQ

  • Try replacing

    FIQ_Handler B FIQ_Handler
    


    with your own C code FIQ_Handler

                    IMPORT FIQ_Handler
    ;FIQ_Handler     B       FIQ_Handler
    


    where FIQ_Handler is the name of your FIQ C function. Even better, you can replace the branch to itself with your own fiq code in assembly.

    FIQ_Handler
                 ;your assembly here