public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: George Ying <seu.ying@gmail.com>
Cc: ecos-devel@ecos.sourceware.org
Subject: Re: how to debug app in redboot
Date: Thu, 19 Jun 2008 11:21:00 -0000	[thread overview]
Message-ID: <20080619112118.GB18739@lunn.ch> (raw)
In-Reply-To: <e2c648650806190222r709b80acx7d013b6941a6d6a2@mail.gmail.com>

> > > > (gdb) set debug remote 1
> > > > (gdb) target remote 192.168.0.173:9000
> > > > Remote debugging using 192.168.0.173:9000
> > > > Sending packet: $Hc-1#09...putpkt: Junk: RedBoot>
> > > > Ack
> > > > Packet received:
> > > > Sending packet: $qC#b4...Ack
> > > > Packet received:
> > > > Sending packet: $qOffsets#4b...Ack
> > > > Packet received:
> > > > Sending packet: $?#3f...Sending packet: $?#3f...Ack
> > > > Packet received: S05
> > > > Sending packet: $Hg0#df...Packet instead of Ack, ignoring it
> > > > Packet instead of Ack, ignoring it
> > > > Sending packet: $Hg0#df...Packet instead of Ack, ignoring it
> > > > Sending packet: $Hg0#df...Packet instead of Ack, ignoring it
> > > > Sending packet: $Hg0#df...Timed out.

So it looks like your devices gdb stub is sending out packets which
the server does not expect. You need to find out what these packets
are and where they are coming from. Is your device printing anything?
What do you see when you telnet to port 9000 instead of using gdb?

    Andrew

      parent reply	other threads:[~2008-06-19 11:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-17  2:27 seu ying
2008-06-17  8:02 ` Andrew Lunn
2008-06-18 12:27   ` George Ying
2008-06-19  6:34     ` George Ying
2008-06-19  7:59       ` Andrew Lunn
2008-06-19  9:22         ` George Ying
2008-06-19  9:35           ` Andrew Lunn
2008-06-19 10:04             ` George Ying
2008-06-19 11:21           ` Andrew Lunn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080619112118.GB18739@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=ecos-devel@ecos.sourceware.org \
    --cc=seu.ying@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).