From mboxrd@z Thu Jan 1 00:00:00 1970 From: Srinivasan Sriram To: ecos-discuss@sourceware.cygnus.com Cc: ramanabv@danlawtechnologies.com Subject: [ECOS] gdb remote debug problem...running an ecos application... Date: Wed, 06 Jun 2001 05:44:00 -0000 Message-id: <20010606124406.2707.qmail@web14005.mail.yahoo.com> X-SW-Source: 2001-06/msg00130.html 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/