This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos 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]

(gdb) Couldn't establish connection to remote target


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.

Thanks for any help.

Rolf

------------------------------------------------------
Rolf Kistler, El. Ing. HTL
bbv Software Services AG
Blumenrain 10
P.O. 2210
CH-6006 Luzern
------------------------------------------------------
email: kistler@bbv.ch
phone: +41 41 429 01 71
fax: +41 41 429 01 13
------------------------------------------------------



-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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