From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15705 invoked by alias); 5 Jul 2006 22:49:03 -0000 Received: (qmail 15695 invoked by uid 22791); 5 Jul 2006 22:49:03 -0000 X-Spam-Check-By: sourceware.org Received: from tomts10.bellnexxia.net (HELO tomts10-srv.bellnexxia.net) (209.226.175.54) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 05 Jul 2006 22:48:58 +0000 Received: from smtp1.sympatico.ca ([209.226.175.146]) by tomts10-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with SMTP id <20060705224856.VKAA13241.tomts10-srv.bellnexxia.net@smtp1.sympatico.ca>; Wed, 5 Jul 2006 18:48:56 -0400 X-Mailer: Openwave WebEngine, version 2.8.11 (webedge20-101-194-20030622) From: Andre-John Mas Reply-To: ajmas@bigfoot.com To: Gary Thomas , CC: Date: Wed, 05 Jul 2006 22:49:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20060705224856.VKAA13241.tomts10-srv.bellnexxia.net@smtp1.sympatico.ca> X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: Re: [ECOS] No RedBoot network after app start? X-SW-Source: 2006-07/txt/msg00015.txt.bz2 I am a little confused then (I am new at this). I was under the impression that RedBoot needs to hang around, so GDB can do its work. I have also been told that RedBoot and the application needs separate IP addresses (supposedly to avoid stack confusion), for this reason. Our main issue is that we are unable to debug. We are using Eclipse to establish the GDB session, over ethernt. The image gets uploaded by Eclipse, to port 9000 at the address of our card, and we then reach the main function (we have break at main set). At that point no more debugging is possible, which isn't very useful. What I mean is that we can't step or display anything further. At this point we just have to restart our card. Andre > From: Gary Thomas > Andre-John Mas wrote: > > Hi, > > > > I have a RedBoot that replies to pings when it is waiting at the command prompt and the user hasn't started typing ( _rb_gets blocks until enter is pressed ). I then load my application: > > > > load -r -b 0x40000 app.bin > > go 0x40000 > > > > At this point my simple 'Hello World' displays its text. In the meantime the RedBoot stops replying to pings. My application is: > > > > #include > > #include > > #include > > > > externC int diag_printf( const char *fmt, ... ); > > > > int main( int argc, char * argv[] ) > > { > > diag_printf("Hello world 1\n"); > > diag_printf("Hello world 2\n"); > > diag_printf("Hello world 3\n"); > > diag_printf("Hello world 4\n"); > > diag_printf("Hello world 5\n"); > > } > > > > Does anyone have any ideas what could be wrong. My RedBoot is set up to be a 'ROM Monitor'. We are using an Adder II (MPC852T) based board. > > > > Once your application starts, RedBoot is no longer running. > If you've connected via telnet and started the program, then > RedBoot can print messages via the telnet session, but pings > will go unanswered (until the next message is printed). > > -- > ------------------------------------------------------------ > 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 > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss