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

my target hardware is winbond w90n740 arm7 chip。
my host os is redhat 9linux, gdb is arm-elf-gdb,version 5.3
ecos version :the latest version
my redboot can run on board,the dhcp,ping app run ok
but cant connect to target with gdb。。。
thanks

2008/6/19, Andrew Lunn <andrew@lunn.ch>:
> On Thu, Jun 19, 2008 at 02:34:19PM +0800, George Ying wrote:
> > there are any suggestion?
>
> What is your target hardware?
> What version of gdb are you using?
> What version of eCos.
>
>     Andrew
>
> >
> > 2008/6/18, George Ying <seu.ying@gmail.com>:
> > > hi,Andrew:
> > > when i use arm-elf-gdb to connect target, it's fail,show below:
> > > target  address:192.168.0.173
> > >
> > > (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.
> > > Timed out.
> > > Timed out.
> > >
> > > 2008/6/17, Andrew Lunn <andrew@lunn.ch>:
> > > > > I capture package with ethereal, found that for any gdb request
> > > > > command from host,
> > > > > redboot return $#00 (it's mean system don't support this command), why?
> > > >
> > > > The gdb stub in eCos only supports a subset of the gdb commands. So i
> > > > would expect to see some commands rejected. However it should not
> > > > reject all commands. The gdn x command to show a region of memory
> > > > should work. What happens when you try that?
> > > >
> > > >       Andrew
> > > >
> > >
> > >
> > > --
> > > George
> > >
> >
> >
> > --
> > George
>


-- 
George

  reply	other threads:[~2008-06-19  9:22 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 [this message]
2008-06-19  9:35           ` Andrew Lunn
2008-06-19 10:04             ` George Ying
2008-06-19 11:21           ` Andrew Lunn

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=e2c648650806190222r709b80acx7d013b6941a6d6a2@mail.gmail.com \
    --to=seu.ying@gmail.com \
    --cc=andrew@lunn.ch \
    --cc=ecos-devel@ecos.sourceware.org \
    /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).