This is the mail archive of the ecos-discuss@sourceware.org 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: Problem with receive/can_send functions


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


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