This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: RE:accessing serial port via gdb in xp
- From: "Gábor Török" <tgabor84 at gmail dot com>
- To: just_abhi22 at yahoo dot co dot in, ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 26 Nov 2008 21:17:55 +0100
- Subject: Re: [ECOS] RE:accessing serial port via gdb in xp
- References: <333179.53101.qm@web94613.mail.in2.yahoo.com>
What configuration do you use on the target (which serial port, what
options regarding GDB, etc.)?
If you give more information, someone may be able to help you.
On Wed, Nov 26, 2008 at 10:20 AM, abhishek srivastava
<just_abhi22@yahoo.co.in> wrote:
> i had tried thje command to know the exact cause : set debug remote 1
> it says that packet is send but junk is received.......
>
> (gdb) set debug remote 1
> (gdb) set remotebaud 9600
> (gdb) target remote /dev/ttyS0
> Remote debugging using /dev/ttyS0
> Sending packet: $Hc-1#09...putpkt: Junk: Kâ'\
> Nak
> Sending packet: $Hc-1#09...putpkt: Junk: âââ~dd,
> Nak
> Sending packet: $Hc-1#09...putpkt: Junk: âF=â
> Packet instead of Ack, ignoring it
> Timeout in mid-packet, retrying
> putpkt: Junk: /
> Sending packet: $Hc-1#09...putpkt: Junk: dd,
> Nak
> Timed out.
> Timed out.
> Timed out.
> Ignoring packet error, continuing...
> âIcCâEg packet: $qC#b4...putpkt: Junk:
> Packet instead of Ack, ignoring it
> Timeout in mid-packet, retrying
> putpkt: Junk: â
> Sending packet: $qC#b4...putpkt: Junk: âqââG
> Packet instead of Ack, ignoring it
> Timeout in mid-packet, retrying
> putpkt: Junk: â
> Sending packet: $qC#b4...putpkt: Junk: âqââE
> Packet instead of Ack, ignoring it
> Timeout in mid-packet, retrying
> putpkt: Junk: â
> Sending packet: $qC#b4...putpkt: Junk: âqââG
> Packet instead of Ack, ignoring it
> Timeout in mid-packet, retrying
> putpkt: Junk: â
> Timed out.
> Timed out.
> Timed out.
> Ignoring packet error, continuing...
> âec'gA'&gfâbet: $qOffsets#4b...putpkt: Junk:
> Sending packet: $qOffsets#4b...putpkt: Junk: DaOFFcEdcCdB
> Sending packet: $qOffsets#4b...putpkt: Junk: DaOFFcEdcCdB
> Sending packet: $qOffsets#4b...putpkt: Junk: DaOFFcEdcCd
> Timed out.
> Timed out.
> Timed out.
> Ignoring packet error, continuing...
> Malformed response to offset query, timeout
>
> what to do?where is the problem?? my target is LPC2148
> help plz!
>
>
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
>