public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Zero vector interrupts (SIVEC=0) on MPC8xxx
@ 2009-09-01  8:21 Danny Sade
  2009-09-01  9:34 ` Christophe Coutand
  0 siblings, 1 reply; 3+ messages in thread
From: Danny Sade @ 2009-09-01  8:21 UTC (permalink / raw)
  To: ecos-discuss

Hi All,
Did anyone encounter zero vector interrupt (SIVEC = 0) on the MPC8xxx ?  I recently encountered this kind of interrupts, and according to Freescale support and the documentation this kind of interrupt may occur during normal operation and a service routine for this interrupt must be provided.
The thing is that the current HAL implementation, at the macro hal_intc_decode at variant.inc, decodes this interrupt as a decrementer interrupt.  As a result, whenever this zero vector interrupt is asserted the tick ISR is called.  If the there are only few such interrupts, this is hardly noticed.  But obviously, when there are many such interrupts all the time related services (such as cyg_thread_delay() ) cannot not function the way they should.
I'm not sure what is causing these zero vector interrupts.  I can tell that it is related to the IDMA - whenever I have a lot of IDMA transactions, I see a lot of zero vector interrupts.

Any ideas?

Thanks

Danny

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-09-01 11:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-01  8:21 [ECOS] Zero vector interrupts (SIVEC=0) on MPC8xxx Danny Sade
2009-09-01  9:34 ` Christophe Coutand
2009-09-01 11:02   ` Danny Sade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).