This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ECOS] Can't connect to remote Evaluator 7T


Mark Salter wrote:
> [...]
> % stty -a </dev/ttyS0
> speed 115200 baud; rows 0; columns 0; line = 0;
> intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
> eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
> werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 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

===============================================================
$ 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) 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
$
===============================================================
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
+$0100000001000000bcbb000050000000020000005000000000000000500000001cbc0000fdffffff58c40000f0b30000f4b30000e4b30000e4498201a810820100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d3000020#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\xd0\x90\xe5\f\xa0\x90\xe5\x01\xac\x8a\xe2\x00\x10\xa0\xe3\x01\xb0\xa0\xe1\x01p\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\xe3\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 at \x12\x85\x00P\x93\x85\x04P"\x85\x04 at \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\x00\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\xe1\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\x1a\x100\x1b\xe5\x00
\x93\xe5\xe54\xa0\xe3\x9f8\x83\xe2\x0f:\x83\xe2\x030"\xe0\x180\v\xe5\x180\x1b\xe5\x03!\xa0\xe1\x100\x1b\xe5\x030\x82\xe0 
\x83\xe2h0\x9f\xe5\x00
\x83\xe5\x10\x00\x00\xea\x100\x1b\xe5\x000\x93\xe5\xff4\x03\xe2\xea\x04S\xe3\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 
\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\x93\xe5\x010\xc3\xe3\x000\x82\xe5\xff'\xa0\xe36*\x82\xe2\xff7\xa0\xe36:\x83\xe2\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\xe0\x830\xa0\xe1\x010C\xe2\x000\x81\xe5\x00\xa8\x1b\xe9\r\xc0#d7
r +<Timeout: 2 seconds>
w -
r <Timeout: 2 seconds>
w -
r <Timeout: 2 seconds>
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\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\xc3\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\x83\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe35:\x83\xe2\x000\x93\xe5\x7f;\x83\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe3#b0
r <Timeout: 2 seconds>
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\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\xc3\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\x83\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe35:\x83\xe2\x000\x93\xe5\x7f;\x83\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe3#b0
r <Timeout: 2 seconds>
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\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\xc3\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\x83\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe35:\x83\xe2\x000\x93\xe5\x7f;\x83\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe3#b0
r <Timeout: 2 seconds>
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\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\xc3\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\x83\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe35:\x83\xe2\x000\x93\xe5\x7f;\x83\xe3\x000\x82\xe5\xff'\xa0\xe35*\x82\xe2\xff7\xa0\xe3#b0
r <Timeout: 2 seconds><Timeout: 2 seconds>
w -
r <Timeout: 2 seconds>
w -
r <Timeout: 2 seconds>
...
===============================================================
-- 
________________________________________________________________________
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
________________________________________________________________________


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]