[ECOS] gdb remote debug problem...running an ecos application...
Srinivasan Sriram
pet_jimmy@yahoo.com
Wed Jun 6 05:44:00 GMT 2001
Hello!
Could someone help me fix this problem -
I use Linux as host and PC as target.
Using
dd conv=sync if=./gdb_module.bin of=/dev/fd0h1440
I copy the .bin file on to a floopy.
I connect my host to target via a null modem cable.
When my target PC boots from this floppy, I see the
following line on the target monitor-
++$T0508:a43.....and so on.
I type i386-elf-gdb -nw hello, then I get the (gdb)
prompt.
I type the following -
(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
(gdb)load
You can't do that when your target is 'exec'.
----
1.Is this due to mismatch of baudrate of host and
target?
Setting baudrate to 19200 gives me the same output.
2. How do I run my application on the target?
Thanks
Kavita
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
More information about the Ecos-discuss
mailing list