This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Lose GDB connection after net download


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]