public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: ariga masahiro <ariga@link-lab.co.jp>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] What interrupt options need to be enabled ?
Date: Tue, 04 Sep 2007 07:39:00 -0000	[thread overview]
Message-ID: <20070904073906.GA15782@lunn.ch> (raw)
In-Reply-To: <000501c7eec3$7a757560$1c0110ac@ariga>

On Tue, Sep 04, 2007 at 04:16:14PM +0900, ariga masahiro wrote:
> Hi,
>
> Since I sent my previous mail I am still in the same condition.

The LAN91CXX drive is known to work for other people. However, you do
have a rather old version. 2.0 is now over four years old and there
have been a number of improvements since then. So first i suggest you
update to anoncvs.

http://ecos.sourceware.org/anoncvs.html

Do you have asserts enabled? Enable CYGPKG_INFRA_DEBUG and recompile
everything. See if that produces any assert failures, especially when
installing the interrupt handler.

Are you really sure you have the correct interrupt? Check the
schematic for the board, look at the Linux device driver, etc. 

Check if the interrupts needs to be active low, active high, positive
edge triggered, negative edge triggered etc. Is this being correctly
configured? Is the interrupt shared with some other hardware device?
Is the interrupt pin dual purpose, eg GPIO and interrupt input? If so,
has it been configured to be in interrupt mode? eCos is unlikely to do
this itself, you will need to add some code in your hardware dependent
part of the driver to do this.

Do other interrupts work on your board? Run the clocktruth program and
make sure it works. If that does not work, them maybe all interrupts
are broken for your board?

    Andrew

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

      reply	other threads:[~2007-09-04  7:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-03  7:47 ariga masahiro
2007-09-04  7:16 ` ariga masahiro
2007-09-04  7:39   ` Andrew Lunn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070904073906.GA15782@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=ariga@link-lab.co.jp \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).