This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Can't connect to remote Evaluator 7T
- From: Pierre Habraken <Pierre dot Habraken at imag dot fr>
- To: Qiang Huang <jameshq at liverpool dot ac dot uk>
- Cc: Ecos-Discuss <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 19 Feb 2003 16:13:26 +0100
- Subject: Re: [ECOS] Can't connect to remote Evaluator 7T
- Organization: Université Joseph Fourier
- References: <BDEPKKELILOKGOAOMONOGEJFCBAA.jameshq@liv.ac.uk>
Qiang Huang wrote:
>
> Have you set the RedBoot as the auto boot at startup?
Yes (checked using ckermit) and also resetted the board before launching
gdb...
Pierre
>
> -----Original Message-----
> From: ecos-discuss-owner at sources dot redhat dot com
> [mailto:ecos-discuss-owner at sources dot redhat dot com]On Behalf Of Pierre Habraken
> Sent: 19 February 2003 15:00
> To: gdb at sources dot redhat dot com; ecos-discuss at sources dot redhat dot com
> Subject: [ECOS] Can't connect to remote Evaluator 7T
>
> 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 :
> =================================================================
> $ 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) 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
> =================================================================
> 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
>
> =================================================================
> 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>
> =================================================================
> --
> ________________________________________________________________________
> Pierre HABRAKEN - mailto:Pierre dot Habraken at imag dot fr
> Tél: 04 76 82 72 83 - Fax: 04 76 82 72 87
> IMAG-LSR BP72 38402 SAINT MARTIN D'HERES Cedex
> ________________________________________________________________________
>
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
--
________________________________________________________________________
Pierre HABRAKEN - mailto:Pierre dot Habraken at imag dot fr
Tél: 04 76 82 72 83 - Fax: 04 76 82 72 87
IMAG-LSR BP72 38402 SAINT MARTIN D'HERES Cedex
________________________________________________________________________
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss