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]
Other format: [Raw text]

Re: spurious_IRQ on ARM7



> > I have custom board with ARM7 CPU (Atmel AT91M55800) and eCos.
> > I use JEENI and BDI2000 debug interface units with gdb. OS is Linux.
> >
> > My programs work, but every time when a internal/external interrupt appear,
> > spurious IRQ is generated.
> > There is no matter what kind of interrupt is: timer, spi or serial.
> >
> > Is it normal?
>
>Nope. Looks like there might be something about the port which doesn't fit
>your hardware.

For test purpose I got the last eCos snapshot with port for Atmel AT91 CPUs 
and Atmel's EB01 evaluation board.
I make a simple test example - the spurious interrupt is generated every 
time when the timer interrupt appear.

Which options from "ROM monitor support" (in eCos configuration tool) must 
be activated to work the target with JEENI (or BDI2000) without ROM monitor?
When all option in "ROM monitor support" are deactivated the program 
crashed in hal_if_diag_init() (in hal_if.c) by 
CYGACC_CALL_IF_SET_CONSOLE_COMM macro - the virtual vector table is not 
initialized maybe.
My test example work only if I activate "Initialize whole of virtual table".

Do I need virtual vector table to debug with JEENI without ROM monitor?
Why is the spurious interrupt generated?

best regards
Ilko







-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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