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]

Re: GDB lose connection after Ethernet download


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.


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