[ECOS] resetting the remote target

Jonathan Larmour jlarmour@redhat.com
Mon Jan 21 10:07:00 GMT 2002

Jesper Skov wrote:
> On Fri, 2002-01-18 at 18:47, Jonathan Larmour wrote:
> > WYSIWYH@web.de wrote:
> > >
> > > I've uploaded my prg with the gdb (redboot and TCP). My question:
> > > when I try to reset (reboot) the target pc with "remote reset" it says that the remote device is not open ... what must I do to reset the machine over gdb? I don't want to make everytime a hardware-reset &| connect to the target with telnet and than the "reset"-cmd.
> >
> > Here's a trick we made work, if you want to reset the target from GDB:
> >
> > maintenance packet r
> > kill
> But it's not going to work with a telnet connection - probably not even
> with a serial connection.

To be clear: it should work, i.e. reset the target. But via TCP you will
definitely lose your connection to the target, and over serial you _might_
lose your connection. The solution is simply to reconnect with "target
remote" again though - no big deal.

Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

More information about the Ecos-discuss mailing list