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

IRQ handler not called by ARM A53

I'm testing GIC and ARM A53 connectivity. I can see that GIC is forwarding the IRQ request and ARM core has received it(shows in ISR reg). However, my IRQ handler is not getting called. Here is how I'm registering it..

void main () {

...

__enable_irq();

...

}

__irq void irqHandler(void) {

printf("Hello from the IRQ handler\n");

...

}

Parents
  • Yes, that is correct.

    I stepped through iterations for loop in my code. Here's what happens:

    1) Control hits loop. ISR = 0, ELR_EL3=0 and SPSR_EL3=0

    2) I step for 3-4 iterations.

    3) ISR = 0x80 (i.e. ISR.IRQ_PENDING =1)

    4) I step once more.

    5) ELR_EL3=<address of my loop>, SPSR_EL3=0x6000030D( i.e. A, C, Z, D_E = 1)

    I can't figure out what is going wrong here. Thanks a lot for your effort and help.

Reply
  • Yes, that is correct.

    I stepped through iterations for loop in my code. Here's what happens:

    1) Control hits loop. ISR = 0, ELR_EL3=0 and SPSR_EL3=0

    2) I step for 3-4 iterations.

    3) ISR = 0x80 (i.e. ISR.IRQ_PENDING =1)

    4) I step once more.

    5) ELR_EL3=<address of my loop>, SPSR_EL3=0x6000030D( i.e. A, C, Z, D_E = 1)

    I can't figure out what is going wrong here. Thanks a lot for your effort and help.

Children