From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9988 invoked by alias); 19 Feb 2003 14:59:39 -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 9964 invoked from network); 19 Feb 2003 14:59:38 -0000 Received: from unknown (HELO imag.imag.fr) (129.88.30.1) by 172.16.49.205 with SMTP; 19 Feb 2003 14:59:38 -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 h1JExbq0021919; Wed, 19 Feb 2003 15:59:37 +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 h1JExap21373; Wed, 19 Feb 2003 15:59:36 +0100 (MET) Message-ID: <3E539BFB.6B81024F@imag.fr> Date: Wed, 19 Feb 2003 14:59:00 -0000 From: Pierre Habraken Organization: =?iso-8859-1?Q?Universit=E9?= Joseph Fourier X-Accept-Language: en MIME-Version: 1.0 To: gdb@sources.redhat.com, ecos-discuss@sources.redhat.com Subject: Can't connect to remote Evaluator 7T Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2003-02/txt/msg00343.txt.bz2 Hello, I am trying to set up a practical work session about interruption handling for undergradate students. We are using for this work Arm Evaluator 7T boards connected to Intel Linux boxes via a serial link. The tools for writing programs and observing their execution are arm-elf-gcc, arm-elf-as, arm-elf-gdb and other Gnu tools. I did some first trials using the Angel monitor which comes installed on each board. I used for this the target rdi provided with gdb. Now I want to use RedBoot instead of Angel. I uploaded redboot.UU onto the board and then verified (using a communication program) that redboot was properly installed (see redboot banner below). But when I launch arm-elf-gdb and type the command 'target remote /dev/ttyS0' then gdb fails to talk to redboot : =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=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) target remote /dev/ttyS0 Remote debugging using /dev/ttyS0 Ignoring packet error, continuing... Ignoring packet error, continuing... Ignoring packet error, continuing... Couldn't establish connection to remote target Malformed response to offset query, timeout =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=3D=3D Could it be that the serial line is not configured as required on the gdb side ? (using ckermit I had to force parity to none...) Thanks a lot in advance for any help. 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=3D=3D ARM Evaluator7T Boot Strap Loader Release 1.01 Press ENTER within 2 seconds to stop autoboot + RedBoot(tm) bootstrap and debug environment - built 11:00:52, Jul 2 2001 Copyright (C) 2000, 2001, Red Hat, Inc. RAM: 0x00000000-0x00080000, 0x0000c470-0x00080000 available RedBoot>=20 =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=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 ________________________________________________________________________