public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Wolfgang Köbler" <wk@koebler.com>
To: ecos-discuss@ecos.sourceware.org
Cc: "albert prasetyo" <prasetyoalbert@gmail.com>
Subject: Re: [ECOS] at91rm9200 ethernet problem
Date: Mon, 08 Oct 2007 11:43:00 -0000	[thread overview]
Message-ID: <20071008133948.7d0d5ceb@wkpc3.local> (raw)
In-Reply-To: <f231b81a0709270634o6a316bdbn9ae5b95356d7e5db@mail.gmail.com>

Hello,

On Thu, 27 Sep 2007 21:34:25 +0800
"albert prasetyo" <prasetyoalbert@gmail.com> wrote:
> I am currently developing a redboot for at91rm9200 board that can
> perform TFTP transfer. However, I faced a problem which I suspect lie
> in ethernet driver code (i.e. at91rm9200_ether.c).
> 
> I have applied the bug fixes from Wolfgang Köbler as indicated in link
> below but the problem still persists.
> http://www.cygwin.com/ml/ecos-discuss/2005-12/msg00077.html
What code base are you using ? When can apply this bugfix, you are
probably using old code. You should use the lastest code (especially
when starting a new project).

If nothing has changed since I last looked at it, the latest code
should be available via CVS from John Eigelaar <jeigelaar@mweb.co.za>.
Ask him for CVS access.

> The problem I faced is located at the part of at91rm9200_ether.c in
> the function of at91rm9200_eth_deliver:
> 
> if (!(rbf_ptr->addr & RBF_OWNER))
>     { return; }
Without really having read the code: This uses rbf_ptr->addr not
rbf_ptr.addr so I assume its the contents of addr, not addr itself.
I assume this refers to some flags in the at91rm9200 ethernet receive
buffer. Then it would just mean nothing has been received yet:
the receive buffer is just empty.

> Everytime I try to transfer the program through tftp using load
> command, my program always quit at that point. My starting address of
> rx_descriptor is at 0x23------0, which is an even address, therefore
> there must be a part of code to modify it, but I am not managed to
> find it.
Your program can quit ? quit to what ?

Bye,
Wolfgang

--
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-10-08 11:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-27 13:34 albert prasetyo
2007-10-08 11:43 ` Wolfgang Köbler [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=20071008133948.7d0d5ceb@wkpc3.local \
    --to=wk@koebler.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=prasetyoalbert@gmail.com \
    /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).