This is the mail archive of the 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]

TCP Stack Testing problem

Hi All,

I am new to eCos and currently learning to work on x86 PC platform.

I want to test the working of TCP/IP stack.

I was able to compile and run a sample application using boot floppy through serial port.

How can i test the same program using Ethernet port.
In the configuration tool i have selected "common ethernet support", "networking" and "Open BSD Stack" packages.
I have generated the library for my work_dir.
Then i have compiled the program using
i386-elf-gcc -g -I$(work_dir)/include/hello.c -L$(work_dir)/lib -Ttarget.ld -nostdlib -o nw_test

Generated the binary of that exe
i386-elf-objcpy -O binary nw_test nw_test.bin

copied to floppy
dd conv=sync if=nw_test.bin of=/dev/fd0

I compiled the target for booting from floppy.
Started the target.

On Host i started gdb
i386-elf-gdb nw_test
when i try to connect using "target remote ip:port"
it says destination unreachable.

I am not sure the process i have done is wright or wrong..
I have intel 82559 card and ecos have default driver support for this card.

Please help me out in this..

Madhava S

This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message.Global Edge Software Ltd has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Global Edge Software Ltd reserves the right to monitor and review the content of all messages sent to or from this e-mail address

Before posting, please read the FAQ:
and search the list archive:

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