public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Subject: Re: [ECOS] bug in mips arch code ????
@ 2003-05-02 18:11 HG
  2003-05-03 14:31 ` Nick Garnett
  0 siblings, 1 reply; 4+ messages in thread
From: HG @ 2003-05-02 18:11 UTC (permalink / raw)
  To: ecos-discuss

>The i8255x devices don't always obey the datasheets themselves. The
>i8255x driver has been worked on a lot to get it to work reliably.

on my platform the driver works very reliably for redboot. but when I run
applications like tftp_get it works reliably as long as the timer interrupt
does
not happen simultaneously to the 82559 interrupt.  (see my post of
yesterday)
any hints of what to look for???


thanks

Henri




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

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

* Re: [ECOS] Subject: Re: [ECOS] bug in mips arch code ????
  2003-05-02 18:11 [ECOS] Subject: Re: [ECOS] bug in mips arch code ???? HG
@ 2003-05-03 14:31 ` Nick Garnett
  2003-05-04 21:25   ` HG
  0 siblings, 1 reply; 4+ messages in thread
From: Nick Garnett @ 2003-05-03 14:31 UTC (permalink / raw)
  To: HG; +Cc: ecos-discuss

"HG" <henri@broadbandnetdevices.com> writes:

> >The i8255x devices don't always obey the datasheets themselves. The
> >i8255x driver has been worked on a lot to get it to work reliably.
> 
> on my platform the driver works very reliably for redboot. but when I run
> applications like tftp_get it works reliably as long as the timer interrupt
> does
> not happen simultaneously to the 82559 interrupt.  (see my post of
> yesterday)
> any hints of what to look for???
> 
> 
> thanks
> 
> Henri
> 

You need to find out exactly what happens when you get simultaneous
interrupts. It is difficult to tell at present whether this is a
hardware or a software problem.


-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com/     The eCos and RedBoot experts


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

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

* Re: Re: [ECOS] bug in mips arch code ????
  2003-05-03 14:31 ` Nick Garnett
@ 2003-05-04 21:25   ` HG
  2003-05-05 12:01     ` Nick Garnett
  0 siblings, 1 reply; 4+ messages in thread
From: HG @ 2003-05-04 21:25 UTC (permalink / raw)
  To: ecos-discuss


> > >The i8255x devices don't always obey the datasheets themselves. The
> > >i8255x driver has been worked on a lot to get it to work reliably.
> >
> > on my platform the driver works very reliably for redboot. but when I
run
> > applications like tftp_get it works reliably as long as the timer
interrupt
> > does
> > not happen simultaneously to the 82559 interrupt.  (see my post of
> > yesterday)
> > any hints of what to look for???

>
> You need to find out exactly what happens when you get simultaneous
> interrupts. It is difficult to tell at present whether this is a
> hardware or a software problem.
>
Whatever is the process that acknowledges the interrupt (its not
HAL_INTERRUPT_ACKNOWLEDGE )
stops working (intreq signal stays low)
small file transfers are ok but long ones have more chances for this
event to happen . Apps that use the timer tick by themselves (no irq
produced by networking) are ok


thanks

Henri
> --
>
>


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

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

* Re: [ECOS] bug in mips arch code ????
  2003-05-04 21:25   ` HG
@ 2003-05-05 12:01     ` Nick Garnett
  0 siblings, 0 replies; 4+ messages in thread
From: Nick Garnett @ 2003-05-05 12:01 UTC (permalink / raw)
  To: HG; +Cc: ecos-discuss

"HG" <henri@broadbandnetdevices.com> writes:

> Whatever is the process that acknowledges the interrupt (its not
> HAL_INTERRUPT_ACKNOWLEDGE )
> stops working (intreq signal stays low)
> small file transfers are ok but long ones have more chances for this
> event to happen . Apps that use the timer tick by themselves (no irq
> produced by networking) are ok
> 

It looks like your platform has fallen into a gap between those that
acknowledge interrupts in the interrupt controller, and those that do
it in the device. Adding the device driver acknowledge macros may do
the trick.

-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com/     The eCos and RedBoot experts


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

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

end of thread, other threads:[~2003-05-05 12:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-02 18:11 [ECOS] Subject: Re: [ECOS] bug in mips arch code ???? HG
2003-05-03 14:31 ` Nick Garnett
2003-05-04 21:25   ` HG
2003-05-05 12:01     ` Nick Garnett

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