This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Lose GDB connection after net download
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: David Hsu <davidhsu at realtek dot com dot tw>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 21 Mar 2002 16:46:11 +0000
- Subject: Re: [ECOS] Lose GDB connection after net download
- Organization: Red Hat UK Ltd.
- References: <MDEDKIDHDCFJNIMOJHIPGEGMCCAA.davidhsu@realtek.com.tw>
David Hsu wrote:
>
> >> Hello,
> >>
> >> I build the redboot with net support (by using my own Ethernet driver) under PC platform.
>
> >For what card OOI?
>
> My ethernet driver is for Realtek 8139C+.
NE2k clone at a guess? Do consider contributing back, if you wrote it
yourself :-).
> >> I could generate the binary image, and boot it successfully. Also I am able to ping the redboot or download any application program through
> >>Ethernet by GDB. However, after the downloading was finished, the debugger can't be stopped by any breakpoint. The GDB will lose the
> >>connection with target.
>
> >There are various CDL options which, if changed from default, could cause
> >this. Have you changed any from the default in your application's eCos
> >configuration?
>
> Yes, I have enabled ROM_MONITOR and set startup type to "floppy". However, these changes are working via I82559 adapter.
I'm talking about the downloaded application's eCos configuration here. If
you linked it with an eCos config with those options set I would be
surprised it got as far as it did!
For an eCos config to be used with a downloaded app, you shouldn't need to
set ROM_MONITOR, nor set the startup type - leave it as RAM as that's where
it is loading to.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss