This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Problem with receive/can_send functions
- From: Gary Thomas <gary at mlbassoc dot com>
- To: mkhoyila at uci dot edu
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 05 Aug 2005 06:19:19 -0600
- Subject: Re: [ECOS] Problem with receive/can_send functions
- References: <39139.63.87.1.243.1123213904.squirrel@webmail.uci.edu>
On Thu, 2005-08-04 at 20:51 -0700, mkhoyila@uci.edu wrote:
> Hi everyone
>
> I have coded an ethernet driver for mips dsl board. I have following issues:
>
> 1) XXX_can_send function is being repeatedly called. There is no I/O
> activity that I generate. Is this normal?
This function will be called as long as there are data [packets] waiting
to be sent out over the interface.
> 2) On receive side, I notice that DMA engine sets the status bit that
> buffer has received packet, but eCos never calls my XXXX_receive function.
> for that matter, it does not even call XXXX_isr or any other related
> functions prior callig XXXX_receive. It seems that it does not recognize
> the interrupt. Any idea?
This is a serious problem and goes together with the transmit issue you
mentioned above. You need to figure out why your device is not
presenting and interrupt and if it is, why the ISR is not being called.
Are you sure that interrupts have been enabled? What sort of
application are you running?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss