[ECOS] Can't connect to remote Evaluator 7T
Jonathan Larmour
jifl@eCosCentric.com
Wed Feb 19 15:30:00 GMT 2003
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
More information about the Gdb
mailing list