From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31474 invoked by alias); 20 Feb 2003 14:33:33 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 31457 invoked from network); 20 Feb 2003 14:33:32 -0000 Received: from unknown (HELO hermes.chez-thomas.org) (63.225.98.241) by 172.16.49.205 with SMTP; 20 Feb 2003 14:33:32 -0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id 9B96C23615; Thu, 20 Feb 2003 07:33:30 -0700 (MST) Subject: Re: [ECOS] Can't connect to remote Evaluator 7T From: "Gary D. Thomas" To: Pierre Habraken Cc: Mark Salter , jifl@eCosCentric.com, qqi@theworld.com, gdb@sources.redhat.com, eCos Discussion In-Reply-To: <3E54E606.D1FDC422@imag.fr> References: <20030219174138.A6E4578A6D@deneb.localdomain> <1045676870.18484.6026.camel@hermes.chez-thomas.org> <3E53C60E.6000305@eCosCentric.com> <20030219192255.962AE78A6D@deneb.localdomain> <3E54E606.D1FDC422@imag.fr> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu, 20 Feb 2003 14:33:00 -0000 Message-Id: <1045751610.18487.7568.camel@hermes.chez-thomas.org> Mime-Version: 1.0 X-SW-Source: 2003-02/txt/msg00401.txt.bz2 On Thu, 2003-02-20 at 07:28, Pierre Habraken wrote: > Mark Salter wrote: > > [...] > > % stty -a > speed 115200 baud; rows 0; columns 0; line = 0; > > intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = ; > > eol2 = ; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; > > werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 5; > > -parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts > ^^^^^^^^ > Ok, I got it : hardware control flow was enabled (crtscts instead of > -crtscts). > So, now the command 'target remote' sets up the connection, but > uploading (command 'load') the program to the board fails, leaving gdb > accepting no more keyboard input (not even ^C, I have to kill it from an > other xterm). > > I attach below the gdb trace with logging disabled and also the contents > of the file gdblog.txt produced when logging is enabled (beginning of > the file only) : > > Anyone an idea ? > > Pierre > > =============================================================== > $ arm-elf-gdb > GNU gdb 5.2 > ... > This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-elf". > (gdb) set remotebaud 38400 > (gdb) file guirlande > Reading symbols from guirlande...done. > (gdb) target remote /dev/ttyS0 > Remote debugging using /dev/ttyS0 > 0x018210a8 in ?? () > (gdb) load > Loading section .text, size 0x3bec lma 0x8000 > Ignoring packet error, continuing... This happens because you're overwriting the memory used by RedBoot. On this platform, don't try and use any memory below 0x10000. What sort of program are you trying to load? How did you build it? -- .--------------------------------------------------------. | Mind: Embedded Linux and eCos Development | |--------------------------------------------------------| | Gary Thomas email: gary.thomas@mind.be | | Mind ( http://mind.be ) tel: +1 (970) 229-1963 | | gpg: http://www.chez-thomas.org/gary/gpg_key.asc | '--------------------------------------------------------'