This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: GDB lose connection after Ethernet download
- To: David Hsu <davidhsu at realtek dot com dot tw>
- Subject: Re: [ECOS] GDB lose connection after Ethernet download
- From: Gary Thomas <gthomas at redhat dot com>
- Date: 06 Nov 2001 10:27:27 +0900
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- References: <MDEDKIDHDCFJNIMOJHIPCEGGCAAA.davidhsu@realtek.com.tw>
On Tue, 2001-11-06 at 10:14, David Hsu wrote:
> Dear all,
>
> I built and downloaded a network example program (ping_test.exe) to a x86 target through Ethernet (i82559). GDB will lose the connection with the target after the download is completed.
>
> If I download the application without the network support via Ethernet, it will be no problem.
>
> Could any one give me some hints where might be the problem?
For GDB (RedBoot) to be able to continue the connection after a
network-aware eCos application starts, RedBoot must use a different IP
address than eCos does. The easiest way is to set a static IP address
for one or the other and then let the other get it's address via BOOTP
or DHCP.
Since you are running on the x86 and 'fconfig' is not available, I'd
suggest that you configure your eCos application to use a fixed IP
address which is different from what RedBoot is using.