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: Establishing ethernet support, ping failure


Hi All,

I am tring to build ethernet support for Sh-7729 Board +ECOS.
Pls find attached file with debug Otpion enable.
I am still not able to ping my target system.


Pls look at the debug messageds & Help me.


Thanks in Advance


Aniket


>>> Kelvin Lawson <klawson@ad-holdings.co.uk> 04/29/04 08:45PM >>>
Hi Aniket,

> Section2: ECOS SH7729 Hardware to server ARP request (But no response from Server)
> 
> 192.168.174.106 (Board) to 192.168.174.47 ARP Request
> MAC of 192.168.174.107 (C0 A8 AE 6A) is : 00 0B DB C1 C4 FE
> 
> 0000:  FF FF FF FF FF FF 00 0B DB C1 C4 FE 08 06 00 01 ................
> 0010:  08 00 06 04 00 01 00 0B DB C1 C4 FE C0 A8 AE 6A ...............j
> 0020:  00 00 00 00 00 00 C0 A8 AE 2F 00 00 00 00 00 00 ........./......
> 0030:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
> 0040:  
> 
> No response  

According to this you're not getting any response from the server. It's 
more likely, however, that you're just not seeing the ARP response 
because you're running Spynet on a different machine. Unless you're 
using a hub or running Spynet on 192.168.174.47, the Spynet machine 
won't capture the ARP responses.

I suspect that the ARP response is actually being sent by the server, 
but it is not being passed up to the eCos stack by your Ethernet driver. 
Could you put some debug statements in the Ethernet driver to find out 
if you're actually receiving any interrupts at all ? You seem to be 
using DP83902A - you can set the debug level in the file dp83902a.h.

Using the debug you should be able to find out whether the ARP response 
from the server is actually being received at all by the Ethernet 
driver. If you're not receiving any packets at all, then adding the ARP 
entry for the server won't help you.

Cheers,
Kelvin.



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


Attachment: ping_lo_output.txt
Description: Text document

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

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