This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: about the FIQ interrupt vector


I worked on an 80200 which is an ARM core from Intel - at least with that
chip, vectors were only software vectors - it's entirely possible (although
not too likely) that the vector you want to use wasn't included as part of
the HAL.

Which vector do you want to use?  Or more specifically - what do you want to
connect an interrupt to?  Serial port?  Ethernet port?  What?  This is also
highly dependent on the board you are working with as well.  What
development board are you working on?

The FIQ is shared with many peripherals as well.  On the Intel XScale, there
were at least 30 seperate interrupt sources for it.  When you get into the
HAL layer, you have to check to see who interrupted you and go from there.

-Rich

----- Original Message -----
From: "Shaojie Wu" <swu@zmicro.com>
To: <ecos-discuss@sources.redhat.com>
Sent: Saturday, November 10, 2001 10:34 AM
Subject: [ECOS] about the FIQ interrupt vector


> HI,
>
> I have not used any kinds of eCos interrupt handler
> before,this question maybe too easy for u . :)
>
> Now I am working on a board with ARM chip and I want
> to use the eCos to handle the FIQ. In order to create
> a ISR and DSR, I need to use function
> cyg_interrupt_create(), but I do not know which vector
> I should use, I checked the header file
> hal_platform_ints and could not find the corresponding
> vector for FIQ
>
>
> #define CYGNUM_HAL_INTERRUPT_USART0            2
> #define CYGNUM_HAL_INTERRUPT_USART1            3
> #define CYGNUM_HAL_INTERRUPT_TIMER0            4
> #define CYGNUM_HAL_INTERRUPT_TIMER1            5
> #define CYGNUM_HAL_INTERRUPT_TIMER2            6
> #define CYGNUM_HAL_INTERRUPT_WATCHDOG          7
> #define CYGNUM_HAL_INTERRUPT_PIO               8
> #define CYGNUM_HAL_INTERRUPT_EXT0              16
> #define CYGNUM_HAL_INTERRUPT_EXT1              17
> #define CYGNUM_HAL_INTERRUPT_EXT2              18
>
> #define CYGNUM_HAL_ISR_MIN                     2
> #define CYGNUM_HAL_ISR_MAX                     18
>
>
> I know eCos supports the FIQ on ARM as just another
> IRQ line, but which vector I should use? thanks a lot.
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]