This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Configuring interrupt on At91 EB40 board
- From: "Penell A/S, Ole Krarup" <ok at penell dot com>
- To: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 19 Nov 2001 08:45:59 +0100
- Subject: [ECOS] Configuring interrupt on At91 EB40 board
- Organization: Penell A/S
- Reply-to: "ok at penell dot com" <ok at penell dot com>
I'm trying to set up an interrupt bottom on a evaluation board form Ateml
(At91 EB40 v 2.0)
On 2001-11-12 the was a note about this subject and it was about changing
values in hal_platform_ints.h. These changes have been made but without
luck.
I also read a note about checking if CYGPKG_INFRA_DEBUG and
CYGDBG_USE_ASSERTS was enabled because these might have an effect on how
the interrupt works while debugging. The only place I can find this handles
is in assert.h but even if I include this file they still aren't defined.
So the question is: are they important for this project if yes how do add
then to the project or if they aren't what do I need to check/change ?
Developing tools are: eCos configuration tool 1.3.1.2, Source Navigator
5.0.0
In use eCos configuration tool this board has been chosen and checked off
the defaults plus:
Under eCos HAL:
Under HAL interrupt handling:
Allow nested interrupts
Chain all interrupts toghter
Under source-level debugging support:
Include GDB stubs in HAL
Include GDB external break support
Under eCos Kernel:
Under Kernel interrupt handling
Chain interrupts together
To set up the interrupt:
cyg_interrupt_create(FIQ, prioritet, (cyg_addrword_t) 0, isr0, dsr0,
&intr0, &inttest);
cyg_interrupt_attach(intr0);
cyg_interrupt_enable();
Now I would like a press on the interrupt bottom to send me to isr0() and
then to dsr0() but nothings happening. What am I missing ?
Best Regards
Ole Krarup