Hi

I understood the mistake what i have done.
Now i have tried out to run the tests provided by eCos even now i have a problem. I have started a new project with default template.I did not modify any configurations. I just build the library. Next in the Configuration Tool in "Tools" menu i have selected "Runtests". A pop up Window came saying not all tests are build do you want to build them now.I have selected yes. After i have selected "bin_sem0".In properties option "connection" serial is enabled. When i say run a window came displaying "Press OK when target is reset" I clicked on OK. Here i am not sure whether i have done right because i have not yet connected to target.
How can i connect to target (in my case it is i386 PC).

It displays the following in the output:
target remote /dev/ttyS0
Remote debugging using /dev/ttyS0
Ignoring packet error, Continuing...
(gdb)load
You can't do that whe your target is 'exec'.

If i can do this i can select the "net" package in the i386 Template
Build library, Run tests, In propeties window i have to select "TCP/IP" give the ip and port.
Then i can test the "ping_test" program.

In this case what i am missing is connection to target.
Help me out in this please...

Regards,
Madhava S
----- Original Message ----- From: "Andrew Lunn" <[EMAIL PROTECTED]>
To: "Madhava Reddy S" <[EMAIL PROTECTED]>
Cc: "eCos Disuss" <ecos-discuss@ecos.sourceware.org>
Sent: Sunday, January 01, 2006 1:02 AM
Subject: Re: [ECOS] TCP Stack Testing problem


On Sat, Dec 31, 2005 at 09:00:27PM +0530, Madhava Reddy S wrote:
Hi Lunn,

Thanks for your valuble reply.

It might help if you actually read my reply fully. You seems to of not
understood big parts of it.

As you said i created a new project with i386 PC target and selected the
net option rather than the default in the template packages.
Next in the eCos HAL - i386 architecture - i386 PC target I have selected
the startup type as Floppy.
In Basic networking - initialization options for eth0 I have selected the
Address setup for eth0.

Then i geneated the library and compiled the hello work program in
/ecos-2.0/examples.
Generated the bin of exe  i386-elf-objcopy -O binary nw_test nw_test.bin
copied ot floppy dd conv=sync if=nw_test.bin of=/dev/fd0
booted the target system.

>From the host i tried to ping to target using ping 192.168.1.2
It says dest unreachable.

The hello world program does not start the tcp/ip stack, so i would
not expect it to respond. Like i said in my last reply, use the
network test programs.

> Even i tried to connect using gdb i386-elf-gdb nw_test
(gdb)target remote 192.168.1.2:9000
It says No route to host.

I explained by this does not work in my last reply........

       Andrew


--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Reply via email to