From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9406 invoked by alias); 8 Oct 2007 11:43:01 -0000 Received: (qmail 9396 invoked by uid 22791); 8 Oct 2007 11:43:00 -0000 X-Spam-Check-By: sourceware.org Received: from plesk4.ms.de.cdip.net (HELO plesk4.ms.de.cdip.net) (217.171.201.198) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 08 Oct 2007 11:42:54 +0000 Received: (qmail 6723 invoked by uid 2020); 8 Oct 2007 13:41:00 +0200 Received: from p5b07b003.dip0.t-ipconnect.de (HELO localhost) (91.7.176.3) by plesk4.ms.de.cdip.net with (AES128-SHA encrypted) SMTP; 8 Oct 2007 13:40:59 +0200 Date: Mon, 08 Oct 2007 11:43:00 -0000 From: Wolfgang =?UTF-8?B?S8O2Ymxlcg==?= To: ecos-discuss@ecos.sourceware.org Cc: "albert prasetyo" Message-ID: <20071008133948.7d0d5ceb@wkpc3.local> In-Reply-To: References: X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] at91rm9200 ethernet problem X-SW-Source: 2007-10/txt/msg00043.txt.bz2 Hello, On Thu, 27 Sep 2007 21:34:25 +0800 "albert prasetyo" 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). >=20 > I have applied the bug fixes from Wolfgang K=C3=B6bler as indicated in li= nk > 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 . 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: >=20 > 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