This is the mail archive of the
mailing list for the eCos project.
Re: Problem in FIQ with ecos for arm(at91sam7x)
- From: Mervin J <mervin_j at cms dot com>
- To: uni at martinlaabs dot de
- Cc: eCos Discuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 08 Jun 2009 19:17:04 +0530
- Subject: Re: [ECOS] Problem in FIQ with ecos for arm(at91sam7x)
- References: <4A2CE2F3.email@example.com> <4A2CE86F.firstname.lastname@example.org>
I am using the latest version taken from CVS. The Board is
AT91SAM7X256 Development Board. I am using the default configuration
with FIQ treated as IRQ. The code is attached.
/* Configure FIQ */
HAL_WRITE_UINT32(AT91_PIOA + AT91_PIO_PPUER,AT91_PIO_PSR_FIQ);
cyg_interrupt_create(CYGNUM_HAL_INTERRUPT_FIQ, 7, 0, ui32FiqIsr,
NULL, &fiq_handle, &fiq_space);
static cyg_uint32 ui32FiqIsr(cyg_vector_t vector, cyg_addrword_t word)
// Tell the processor that we have received
// the interrupt.
Please suggest the handling way if it is wrong.
Martin Laabs wrote:
working without any problem. Please help to solve the problem.
We can't help you with so little information. Give us more
information. Whats your system consist of, which eCos version do you
use, which configuration (HAL only, Kernel etc.) Have you wrote the
FIQ handler in assembler, how is the FIQ handeled (via the eCos
interrupt system or dedicated?)
What did you tried until yet to find the bug, post your code if it's
not to big. (Or at least the important parts.) If in C - post also the
initialization of the FIQ.
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss