Re: Nesting interrupts with ARM core

From: Jeo (jeo_at_ky___BIG-FISH-LITTLE-FISH___bert.com)
Date: 02/25/05


Date: Fri, 25 Feb 2005 12:06:51 -0000

OK, I've figured it out and got it working now..

joe

"Jeo" <jeo@ky___BIG-FISH-LITTLE-FISH___bert.com ---Remove all fish> wrote in
message news:u35dMwxGFHA.3912@TK2MSFTNGP10.phx.gbl...
> The code i posted receives the interrupt, but also receives interrupts
> from the keyboard. I read the interrupt controoller to work out if it was
> suposed to be an interrupt for my app, and call
> InterruptDone(SYSINT_CHAIN) if it was not for my app.
>
> But then i just receive the same interrupt again, it never gets serviced
> my the keyboard any more.
>
>
> Im really pulling my hair out over this... 4 weeks to write an interupt
> driver is a bit much, and the boss is starting to ask questions !
>
>
>
>
>
> Joe
>
>
> "Steve Maillet (eMVP)" <nospam1@EntelechyConsulting.com> wrote in message
> news:u3Ih3fqGFHA.1208@TK2MSFTNGP10.phx.gbl...
>> The ARM core has only a single interrupt vector. However virtually ALL
>> CPUs that have the ARM core have some sort of interrupt controller that
>> you can quickly read to determine the first level interrupt sources. (You
>> can call those IRQs) Normally the OEMInterruptHandler in the OAL will
>> read the interrupt controller to determine the highest priority pending
>> Interrupt request and return the SYSINTR_ ID for that device.
>>
>> --
>> Steve Maillet
>> EmbeddedFusion
>> www.EmbeddedFusion.com
>> smaillet at EmbeddedFusion dot com
>>
>>
>
>



Relevant Pages

  • Re: Interrupt Handling
    ... Thank you Steve i will try that. ... Still the question for the interrupt controller stays. ... > smaillet at EmbeddedFusion dot com ...
    (microsoft.public.windowsce.embedded)
  • Re: Interrupt Handling
    ... You need to make sure the interrupt handling in the OAL of your BSP actually ... sets up the interrupt controller for your particular interrupt. ... smaillet at EmbeddedFusion dot com ...
    (microsoft.public.windowsce.embedded)
  • Re: Nesting interrupts with ARM core
    ... The code i posted receives the interrupt, ... the keyboard any more. ... > the interrupt controller to determine the highest priority pending ... > smaillet at EmbeddedFusion dot com ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Interrupt Handling
    ... For registering the interrupt i use the offset of the SYSINTR_FIRMWARE as ... How could i check if the interrupt controller is actually set for my ... > smaillet at EmbeddedFusion dot com ...
    (microsoft.public.windowsce.embedded)
  • [PATCH] ppc32: CPM2 PIC cleanup
    ... Cleaned up the CPM2 interrupt controller code: ... Added the ability to offset the IRQs ... interrupt controllers ... extern int cpm2_get_irq; ...
    (Linux-Kernel)