This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: (gdb) Couldn't establish connection to remote target
- From: Gary Thomas <gary at chez-thomas dot org>
- To: kistler at bbv dot ch
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 30 Jul 2002 08:43:48 -0600
- Subject: Re: [ECOS] (gdb) Couldn't establish connection to remote target
- References: <000201c237d6$e1e0f2a0$a501a8c0@bbv.switzerland>
On Tue, 2002-07-30 at 08:39, Rolf Kistler wrote:
> Hello!
>
> Do you also have an i386 target and try to connect to it through the gdb
> finding this output on the cygwin shell?
>
> (gdb) set remotebaud 38400
> (gdb) target remote COM1
> Remote debugging using COM1
> 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
>
> After checking plugs, cables, port settings, using terminal programs,
> sending gdb remote packages by hand, searching the mail list etc. I finally
> tried it with the pre-built redboot.bin on the target (to be found at
> http://sources.redhat.com/ecos/boards/redbootbins/x86pc/). And see there, it
> works! But why?
>
> If someone knows a solution why our own build of redboot (which is 30k less
> in size) does not switch correctly to the gdb mode, please send me an
> answer.
>
> If have used the latest CVS sources configuring them with the 1.3.net tool
> just plainly using the template "i386 PC Target". The weird thing is that
> redboot compiles, links, runs and even provides its services on the console.
> But it hangs if you try to send it a gdb packet. Did I miss something? I
> have tried various configuration changes without result. We would like to
> make some changes in the source to access the extended RAM and our Ethernet
> controller. But if we are not able to debug it, well.
Did you try this (or the ConfigTool equivalent)?
% ecosconfig new pc redboot
% ecosconfig import ${ECOS_REPOSITORY}/hal/i386/pc/current/misc/redboot_FLOPPY.ecm
% ecosconfig tree
% make
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss