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: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Pierre Habraken <Pierre dot Habraken at imag dot fr>
- Cc: gdb at sources dot redhat dot com, ecos-discuss at sources dot redhat dot com
- Date: Wed, 19 Feb 2003 15:30:41 +0000
- Subject: Re: [ECOS] Can't connect to remote Evaluator 7T
- References: <3E539BFB.6B81024F@imag.fr>
Pierre Habraken wrote:
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...)
Possible, but unlikely since you're receiving stuff at all (packet errors,
not just timeout) and I assume you have the baud rate right :-).
Before target remote you could do:
set debug remote 1
to see what that says. If that doesn't reveal anything interesting then
(if I'm remembering right) you can also do:
set remotelogfile gdblog.txt
before the target remote, which should give a slightly more accurate
version of what was sent/received, into the file gdblog.txt.
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss