This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
RE: MPC860 GDB stub problem...
- To: "Alexandre D'Alton" <r9954c at email dot sps dot mot dot com>
- Subject: RE: [ECOS] MPC860 GDB stub problem...
- From: Gary Thomas <gthomas at redhat dot com>
- Date: Thu, 13 Apr 2000 10:16:50 -0600 (MDT)
- Cc: ecos-discuss at sourceware dot cygnus dot com
On 13-Apr-00 Alexandre D'Alton wrote:
> Hi everybody,
>
> First of all, I am about to have a port done for the PLX 9054RDK-860
> Board. If somebody is interested, just tell me.
>
> In fact I have a problem :
>
> I have compiled successfully the gdb stub and flashed it in rom, and
> when the board boots, the stub sends "#22$T0540:fff04010;01:00003394;"
> repeatedly on the serial port.
> I suppose that the BREAKPOINT macro does not work for my board.
> I would be pleased if somebody could explain me how does the breakpoints
> are or should be implemented on the powerpc port of ecos.
>
> I wish that you will understand my english.
>
> Thaks for your help,
>
> Alexandre d'Alton.
Actually, it looks like it's working fine to me. When the board resets,
with the GDB stubs in place, it will attempt to connect to a GDB client
program. You would run this on your host, using a serial connection
to the target board. You'll need to abandon using the "terminal" program
(minicom, winterm, whatever) that you used to get the message above.
Run the host-side GDB (e.g. on Linux)
$ powerpc-eabi-gdb
(gdb) set remotebaud 38400
(gdb) tar rem /dev/ttyS0
-- at this point, the host side GDB communicates with the target (860)
-- the '+$T0540:fe005d90;01:00004664;#29' message above, then tells
-- the host program that a connection has been established
(gdb)