2008-11-17 03:34:29     BF537 cannot work with DM9000A together, network connection problem

Document created by Aaronwu Employee on Aug 8, 2013
Version 1Show Document
  • View in full screen mode

2008-11-17 03:34:29     BF537 cannot work with DM9000A together, network connection problem

Franky Zhang (CHINA)

Message: 65357   

 

Good day everybody,

 

I am having some troubles to get BF537's on-chip MAC and DM9000A worked together. My dist version of uClinux is 06R2-RC2(I know it's toooo old, but this is the main/stable version we are using).

 

Here are connections:

 

 

 

1. Only using BF537's on-chip mac or only using DM9000A in uClinux worked very well, of course Dm9000a is a little slower than BF537's on-chip mac.

 

2. WinXp_A ping WinXp_B, time <= 1ms; vice versa. So not only their drivers have no problems, but also iptables' settings in uClinux are OK, I think.

 

3. The real problem is:

(1) WinXp_A cannot establish network connection to the FTP/TFTP server running on WinXp_B(Sometimes with error #10054).

(2) Even though the connection has been established, the transmission speed is very very slow, such as 10kbps.

 

Does anyone know, what needs to be changed, driver or kernel config or something else ??

 

Thanks for the suggestions!

 

- Franky Zhang

TranslateQuoteReplyEditDelete

 

 

2008-11-17 05:36:31     Re: BF537 cannot work with DM9000A together, network connection problem

Bryan Wu (CHINA)

Message: 65368   

 

Hi Franky,

 

I just can give you some suggestion here, because we don't have such hardware and don't run 2006R2 on my side.

 

1. If you set BF537 EMAC to 10.0.0.157 and DM9000A to 192.168.1.157, is the problem still there?

 

2. You may use some network protocol analyzer software on WinXP to capture the TCP/UDP packets and analyze the what is the problem.

 

-Bryan

QuoteReplyEditDelete

 

 

2008-11-20 20:22:22     Re: BF537 cannot work with DM9000A together, network connection problem

Franky Zhang (CHINA)

Message: 65641   

 

Hi Bryan,

 

Thanks very much for your suggestions! These days I am busy testing the network:

 

1. If you set BF537 EMAC to 10.0.0.157 and DM9000A to 192.168.1.157, is the problem still there?

 

The problem is Iptables' setting, which has blocked the connetcion.

 

But another interesting problem is:

 

After I reset all network settings by default(such as Iptables), now the transmission speed of  EMAC to DM9000A is about 350 - 400 kB/s in average, and  the speed of  DM9000A to EMAC is 120 - 150 kB/s in average, which is only 1/3.

 

Yes, only 1/3!

 

2. You may use some network protocol analyzer software on WinXP to capture the TCP/UDP packets and analyze the what is the problem.

 

I used wireshark in Xp, but can't detect out why it's so slow

 

I´m new with uClinux and don´t know very much on this system... So, does anyone has any  suggestions, is the problem in OS or driver?

 

Thanks a lot!

 

-Franky

Attachments

    Outcomes