2009-01-23 09:08:01     DM9000B

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

2009-01-23 09:08:01     DM9000B


Message: 68292   


Hi !




an other small problem...


I've got a DM9000B connected to AMS0 of my blackfin (BF527). I configure the ethernet at startup like this :


ifconfig eth0 hw ether 00:01:02:03:04:05

ifconfig eth0 up

ifconfig lo




When i try to ping my computer, it does not work : some arp request are send, but the answer is never seen by the board.


I tried to pin the signals on the DM9000B, and i got a strange thing : a TX timeout occured, and since that, all is working :


NETDEV WATCHDOG: eth0: transmit timed out

64 bytes from icmp_seq=42 ttl=64 time=2649.8 ms

64 bytes from icmp_seq=43 ttl=64 time=1647.1 ms

64 bytes from icmp_seq=44 ttl=64 time=644.5 ms

64 bytes from icmp_seq=45 ttl=64 time=1.9 ms

64 bytes from icmp_seq=46 ttl=64 time=1.9 ms

64 bytes from icmp_seq=47 ttl=64 time=1.9 ms

64 bytes from icmp_seq=48 ttl=64 time=1.9 ms




if i reboot the board, same problem occurs. so it seems to be repeatable.


I check the code of DM9000_timeout but did not see anything that was not done in the init of the DM9000.


any idea of how to solve this ?


I'm using release 2008R1.5-RC3










2009-01-23 10:18:01     Re: DM9000B


Message: 68294   


Ok... do not have the time to investigate more, i just added a call to dm9000_timeout just et the end of dm9000_open function and it works great like that.


maybe a simple call to netif_wake_queue is enough...