From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27482 invoked by alias); 20 Feb 2003 14:27:43 -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 27457 invoked from network); 20 Feb 2003 14:27:42 -0000 Received: from unknown (HELO imag.imag.fr) (129.88.30.1) by 172.16.49.205 with SMTP; 20 Feb 2003 14:27:42 -0000 Received: from horus.imag.fr (horus.imag.fr [129.88.38.1]) by imag.imag.fr (8.12.7/8.12.7) with ESMTP id h1KERYZc019318; Thu, 20 Feb 2003 15:27:34 +0100 (CET) Received: from imag.fr (conque.imag.fr [129.88.38.148]) by horus.imag.fr (8.11.6/8.11.6/Imag.pm.V2) with ESMTP id h1KERXN10270; Thu, 20 Feb 2003 15:27:33 +0100 (MET) Message-ID: <3E54E606.D1FDC422@imag.fr> Date: Thu, 20 Feb 2003 14:27:00 -0000 From: Pierre Habraken Organization: =?iso-8859-1?Q?Universit=E9?= Joseph Fourier X-Accept-Language: en MIME-Version: 1.0 To: Mark Salter CC: jifl@eCosCentric.com, gary.thomas@mind.be, qqi@theworld.com, gdb@sources.redhat.com, ecos-discuss@sources.redhat.com Subject: Re: [ECOS] Can't connect to remote Evaluator 7T References: <20030219174138.A6E4578A6D@deneb.localdomain> <1045676870.18484.6026.camel@hermes.chez-thomas.org> <3E53C60E.6000305@eCosCentric.com> <20030219192255.962AE78A6D@deneb.localdomain> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2003-02/txt/msg00400.txt.bz2 Mark Salter wrote: > [...] > % stty -a speed 115200 baud; rows 0; columns 0; line =3D 0; > intr =3D ^C; quit =3D ^\; erase =3D ^?; kill =3D ^U; eof =3D ^D; eol =3D = ; > eol2 =3D ; start =3D ^Q; stop =3D ^S; susp =3D ^Z; rprnt =3D ^R; > werase =3D ^W; lnext =3D ^V; flush =3D ^O; min =3D 1; time =3D 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D $ arm-elf-gdb GNU gdb 5.2 ... This GDB was configured as "--host=3Di686-pc-linux-gnu --target=3Darm-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... Ignoring packet error, continuing... Ignoring packet error, continuing... Ignoring packet error, continuing... Ignoring packet error, continuing... Ignoring packet error, continuing... Killed $ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D w +$Hc-1#09 r +$OK#9a w +$qC#b4 r +$E02#a7 w +$qOffsets#4b r +$#00 w +$?#3f r +$S05#b8 w +$Hg0#df r +$OK#9a w +$g#67 r +$0100000001000000bcbb000050000000020000005000000000000000500000001cbc0000f= dffffff58c40000f0b30000f4b30000e4b30000e4498201a810820100000000000000000000= 000000000000000000000000000000000000000000000000000000000000000000000000000= 000000000000000000000000000000000000000000000000000000000000000000000000000= 000000000000000000000000000000d3000020#7e w +$mb3f0,4#f8 r +$a8108201#c5 w + c load w $X8000,0:#b6 r +$OK#9a w +$X8000,135:\x16\x00\xa0\xe3\xc4\x10\x8f\xe2V4\x12\xef\xbc\x00\x9f\xe5\b\xd= 0\x90\xe5\f\xa0\x90\xe5\x01\xac\x8a\xe2\x00\x10\xa0\xe3\x01\xb0\xa0\xe1\x01= p\xa0\xe1\xa4\x00\x9f\xe5\xa4 \x9f\xe5\x00 B\xe0\xe3\t\x00\xeb\x85\n\x00\xeb\x15\x00\xa0\xe3\x94\x10\x8f\xe2V4\x12\xef= \x8c\x10\x9f\xe5\x00\x00\xa0\xe3\x010\xd1\xe4\x00\x00S\xe3\x11\x00\x00\n \x00S\xe3\xfa\xff\xff\n"\x00S\xe3'\x00S\x13\x03 \xa0\x01 \xa0\x13\x01\x10A\x12\x02\x00-\xe9\x01\x00\x80\xe2\x010\xd1\xe4\x00\x00S\xe= 3\x05\x00\x00\n\x03\x00R\xe1\xfa\xff\xff\x1a\x00 \xa0\xe3\x010A\xe2\x00 \xc3\xe5\xea\xff\xff\xea\r\x10\xa0\xe1\x00!\x8d\xe0\r0\xa0\xe1\x03\x00R\xe1= \x04@\x12\x85\x00P\x93\x85\x04P"\x85\x04@\x83\x84\xf9\xff\xff\x8a4\x01\x00\= xeb\xdb\x07\x00\xeb\xe4\xbd\x00\x00d\xc6\x00\x00D\xc7\x00\x00\xf4\xbd\x00\x= 00\xff\x00\x00\x00\r\xc0\xa0\xe1\x00\xd8-\xe9\x04\xb0L\xe2\f\xd0M\xe2\x1c0\= xa0\xe3\x100\v\xe5\xe8 \x9f\xe5\x100\x1b\xe5\x020c\xe0\x140\v\xe5\x140\x1b\xe5\b0C\xe2}\x031\xa0\x= e1\x140\v\xe5\x140\x1b\xe5\xff4\x03\xe2\x00\x00S\xe3.\x00\x00\x1a\x100\x1b\= xe5\x000\x93\xe5\xff#f4 r +$OK#9a w +$X8135,135:.\xc3\xe3\x0f \xc2\xe3\xe54\xa0\xe3\x9f8\x83\xe2\x0f:\x83\xe2\x03\x00R\xe1\x0e\x00\x00\x1= a\x100\x1b\xe5\x00 \x93\xe5\xe54\xa0\xe3\x9f8\x83\xe2\x0f:\x83\xe2\x030"\xe0\x180\v\xe5\x180\x= 1b\xe5\x03!\xa0\xe1\x100\x1b\xe5\x030\x82\xe0=20 \x83\xe2h0\x9f\xe5\x00 \x83\xe5\x10\x00\x00\xea\x100\x1b\xe5\x000\x93\xe5\xff4\x03\xe2\xea\x04S\xe= 3\v\x00\x00\x1a\x100\x1b\xe5\x000\x93\xe5\xea4}\x03\xe2\x031\xa0\xe1\x180\v= \xe5\x180\x1b\xe5\x03!\xa0\xe1\x100\x1b\xe5\x030\x82\xe0=20 \x83\xe2 0\x9f\xe5\x00 \x83\xe5\x140\x1b\xe5\xea4\x83\xe3\x140\v\xe5\x14 \x1b\xe5\x100\x1b\xe5\x00 \x83\xe5\x00\xa8\x1b\xe9\x10\xbc\x00\x00\xf4\xbe\x00\x00\r\xc0\xa0\xe1\x00\= xd8-\xe9\x04\xb0L\xe2\xff'\xa0\xe36*\x82\xe2\xff7\xa0\xe36:\x83\xe2\x000\x9= 3\xe5\x010\xc3\xe3\x000\x82\xe5\xff'\xa0\xe36*\x82\xe2\xff7\xa0\xe36:\x83\x= e2\x000\x93\xe5\x020\xc3\xe3\x000\x82\xe5\xff\x17\xa0\xe36\x1a\x81\xe2\x04\= x10\x81\xe2\x000\xa0\xe1\x031\xa0\xe1\x000\x83\xe0\x03!\xa0\xe1\x020\x83\xe= 0\x830\xa0\xe1\x010C\xe2\x000\x81\xe5\x00\xa8\x1b\xe9\r\xc0#d7 r + w - r w - r w -+$X826a,136:\xa0\xe1\x00\xd8-\xe9\x04\xb0L\xe2\xff'\xa0\xe36*\x82\xe2\xff7= \xa0\xe36:\x83\xe2\x000\x93\xe5\b0\xc3\xe3\x000\x82\xe5\xff'\xa0\xe36*\x82\= xe2\xff7\xa0\xe36:\x83\xe2\x000\x93\xe5\x100\xc3\xe3\x000\x82\xe5\xff\x17\x= a0\xe36\x1a\x81\xe2\b\x10\x81\xe2\x000\xa0\xe1\x031\xa0\xe1\x000\x83\xe0\x0= 3!\xa0\xe1\x020\x83\xe0\x830\xa0\xe1\x010C\xe2\x000\x81\xe5\x00\xa8\x1b\xe9= \r\xc0\xa0\xe1\x00\xd8-\xe9\x04\xb0L\xe2\xff'\xa0\xe35*\x82\xe2\x04 \x82\xe2\xff7\xa0\xe35:\x83\xe2\x040\x83\xe2\x000\x93\xe5i4\xc3\xe3\xbf8\xc= 3\xe3?;\xc3\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\x04 \x82\xe2\xff7\xa0\xe35:\x83\xe2\x040\x83\xe2\x000\x93\xe5\x1f0\xc3\xe3\x000= \x82\xe5\xff'\xa0\xe35*\x82\xe2\x04 \x82\xe2\xff7\xa0\xe35:\x83\xe2\x040\x83\xe2\x000\x93\xe5\x190\x83\xe3\x000= \x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe35:\x83\xe2\x000\x93\xe5\xf00\x8= 3\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe35:\x83\xe2\x000\x93\x= e5\x7f;\x83\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe3#b0 r w $X826a,136:\xa0\xe1\x00\xd8-\xe9\x04\xb0L\xe2\xff'\xa0\xe36*\x82\xe2\xff7\x= a0\xe36:\x83\xe2\x000\x93\xe5\b0\xc3\xe3\x000\x82\xe5\xff'\xa0\xe36*\x82\xe= 2\xff7\xa0\xe36:\x83\xe2\x000\x93\xe5\x100\xc3\xe3\x000\x82\xe5\xff\x17\xa0= \xe36\x1a\x81\xe2\b\x10\x81\xe2\x000\xa0\xe1\x031\xa0\xe1\x000\x83\xe0\x03!= \xa0\xe1\x020\x83\xe0\x830\xa0\xe1\x010C\xe2\x000\x81\xe5\x00\xa8\x1b\xe9\r= \xc0\xa0\xe1\x00\xd8-\xe9\x04\xb0L\xe2\xff'\xa0\xe35*\x82\xe2\x04 \x82\xe2\xff7\xa0\xe35:\x83\xe2\x040\x83\xe2\x000\x93\xe5i4\xc3\xe3\xbf8\xc= 3\xe3?;\xc3\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\x04 \x82\xe2\xff7\xa0\xe35:\x83\xe2\x040\x83\xe2\x000\x93\xe5\x1f0\xc3\xe3\x000= \x82\xe5\xff'\xa0\xe35*\x82\xe2\x04 \x82\xe2\xff7\xa0\xe35:\x83\xe2\x040\x83\xe2\x000\x93\xe5\x190\x83\xe3\x000= \x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe35:\x83\xe2\x000\x93\xe5\xf00\x8= 3\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe35:\x83\xe2\x000\x93\x= e5\x7f;\x83\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe3#b0 r w $X826a,136:\xa0\xe1\x00\xd8-\xe9\x04\xb0L\xe2\xff'\xa0\xe36*\x82\xe2\xff7\x= a0\xe36:\x83\xe2\x000\x93\xe5\b0\xc3\xe3\x000\x82\xe5\xff'\xa0\xe36*\x82\xe= 2\xff7\xa0\xe36:\x83\xe2\x000\x93\xe5\x100\xc3\xe3\x000\x82\xe5\xff\x17\xa0= \xe36\x1a\x81\xe2\b\x10\x81\xe2\x000\xa0\xe1\x031\xa0\xe1\x000\x83\xe0\x03!= \xa0\xe1\x020\x83\xe0\x830\xa0\xe1\x010C\xe2\x000\x81\xe5\x00\xa8\x1b\xe9\r= \xc0\xa0\xe1\x00\xd8-\xe9\x04\xb0L\xe2\xff'\xa0\xe35*\x82\xe2\x04 \x82\xe2\xff7\xa0\xe35:\x83\xe2\x040\x83\xe2\x000\x93\xe5i4\xc3\xe3\xbf8\xc= 3\xe3?;\xc3\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\x04 \x82\xe2\xff7\xa0\xe35:\x83\xe2\x040\x83\xe2\x000\x93\xe5\x1f0\xc3\xe3\x000= \x82\xe5\xff'\xa0\xe35*\x82\xe2\x04 \x82\xe2\xff7\xa0\xe35:\x83\xe2\x040\x83\xe2\x000\x93\xe5\x190\x83\xe3\x000= \x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe35:\x83\xe2\x000\x93\xe5\xf00\x8= 3\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe35:\x83\xe2\x000\x93\x= e5\x7f;\x83\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe3#b0 r w $X826a,136:\xa0\xe1\x00\xd8-\xe9\x04\xb0L\xe2\xff'\xa0\xe36*\x82\xe2\xff7\x= a0\xe36:\x83\xe2\x000\x93\xe5\b0\xc3\xe3\x000\x82\xe5\xff'\xa0\xe36*\x82\xe= 2\xff7\xa0\xe36:\x83\xe2\x000\x93\xe5\x100\xc3\xe3\x000\x82\xe5\xff\x17\xa0= \xe36\x1a\x81\xe2\b\x10\x81\xe2\x000\xa0\xe1\x031\xa0\xe1\x000\x83\xe0\x03!= \xa0\xe1\x020\x83\xe0\x830\xa0\xe1\x010C\xe2\x000\x81\xe5\x00\xa8\x1b\xe9\r= \xc0\xa0\xe1\x00\xd8-\xe9\x04\xb0L\xe2\xff'\xa0\xe35*\x82\xe2\x04 \x82\xe2\xff7\xa0\xe35:\x83\xe2\x040\x83\xe2\x000\x93\xe5i4\xc3\xe3\xbf8\xc= 3\xe3?;\xc3\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\x04 \x82\xe2\xff7\xa0\xe35:\x83\xe2\x040\x83\xe2\x000\x93\xe5\x1f0\xc3\xe3\x000= \x82\xe5\xff'\xa0\xe35*\x82\xe2\x04 \x82\xe2\xff7\xa0\xe35:\x83\xe2\x040\x83\xe2\x000\x93\xe5\x190\x83\xe3\x000= \x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe35:\x83\xe2\x000\x93\xe5\xf00\x8= 3\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe35:\x83\xe2\x000\x93\x= e5\x7f;\x83\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe3#b0 r w - r w - r ... =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --=20 ________________________________________________________________________ Pierre HABRAKEN - mailto:Pierre.Habraken@imag.fr T=E9l: 04 76 82 72 83 - Fax: 04 76 82 72 87 IMAG-LSR BP72 38402 SAINT MARTIN D'HERES Cedex ________________________________________________________________________