[ECOS] RE:accessing serial port via gdb in xp

Gábor Török tgabor84@gmail.com
Thu Nov 27 07:05:00 GMT 2008


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
>
>


More information about the Ecos-discuss mailing list