This is the mail archive of the
ecos-devel@sourceware.org
mailing list for the eCos project.
Re: how to debug app in redboot
> > > > (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