public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Question about interrupt trigger mode.
@ 2007-09-28 10:06 ariga masahiro
  2007-10-01  5:01 ` [ECOS] Not working lan91cxx_sc drv ariga masahiro
  0 siblings, 1 reply; 8+ messages in thread
From: ariga masahiro @ 2007-09-28 10:06 UTC (permalink / raw)
  To: Andrew Lunn; +Cc: ecos-discuss

Hi,

My target uses SMSC LAN91C111 chip,CPU is SH7709S.
As ethernet interrupt,uses IRQ3 line.
I build "net" template,eCos source is updated by CVS checkout.

Please help me next 2 questions.
(1)
When IRQ3 aserted,enter into ISR routine,so far so good.
But although IRQ3 line continually hold assert-state(LOW),
and never chang to OFF(HIGH)state,ISR is repeatedly entered.

My question is,if interrupt trigger mode is setted edge trigger mode,
ISR routine is only entered once,isn't it ?

I assume trigger mode is setted by next routine.
packages\kernel\current\src\intr\intr.cxx     HAL_INTERRUPT_CONFIGURE( 
vector, level, up );
or Cyg_Interrupt::configure_interrupt routine.

I checked source but never found using HAL_INTERRUPT_CONFIGURE or 
Cyg_Interrupt::configure_interrupt.
Is it only setted by default ?

I like to quarantee it is working egde trigger mode.
Could I know by cheching global area ?
How should I do to be confirmed that ?

(2)
After  IRQ3 was aserted,does eCos's SMSC LAN91C111 driver delete factors
causing IRQ3 toward LAN chip ?
If it does,and it is possible,please let me know where it is done ?
Or is it user's responsibility to do in ISR ?

Please enlighten me.

Masahiro Ariga


-- 
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] 8+ messages in thread

end of thread, other threads:[~2007-10-11  9:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-28 10:06 [ECOS] Question about interrupt trigger mode ariga masahiro
2007-10-01  5:01 ` [ECOS] Not working lan91cxx_sc drv ariga masahiro
2007-10-02  1:18   ` ariga masahiro
2007-10-02  4:46     ` ariga masahiro
2007-10-02  5:27       ` ariga masahiro
2007-10-02  7:08         ` ariga masahiro
2007-10-02 10:45           ` ariga masahiro
2007-10-11  9:01           ` [ECOS] Not enter VSR routine when lan91cxx_start executed ariga masahiro

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).