We are using the unofficial patches using Debian Buster.  All works fine when 
using the native driver e1000e.

However for development -especially now when we can’t always go to the office 
where the lab computers are, we are using the same OS and stack but in a VM 
running on a mac using a Linksys USB to  ethernet dongle.  Of course in this VM 
configuration I am using the generic driver.  It seems that packets are being 
transmitted, but nothing is being received.

I have in the past been able to do this without issue using both Debian Wheezy 
and Debian Stretch along with the Stable 1.5 branch of EtherLabs.

Here is some data:

$ ethercat master -v
Master0
  Phase: Idle
  Active: no
  Slaves: 0
  Ethernet devices:
    Main: 68:7f:74:36:c0:86 (attached)
      Link: UP
      Tx frames:   43358
      Tx bytes:    2601480
      Rx frames:   0
      Rx bytes:    0
      Tx errors:   0
      Tx frame rate [1/s]:    125    121    120
      Tx rate [KByte/s]:      7.3    7.1    7.0
      Rx frame rate [1/s]:      0      0      0
      Rx rate [KByte/s]:      0.0    0.0    0.0
    Common:
      Tx frames:   43358
      Tx bytes:    2601480
      Rx frames:   0
      Rx bytes:    0
      Lost frames: 43358
      Tx frame rate [1/s]:    125    121    120
      Tx rate [KByte/s]:      7.3    7.1    7.0
      Rx frame rate [1/s]:      0      0      0
      Rx rate [KByte/s]:      0.0    0.0    0.0
      Loss rate [1/s]:        125    121    120
      Frame loss [%]:       100.0  100.0  100.0
  Distributed clocks:
    Reference clock:   None
    DC reference time: 0
    Application time:  0
                       2000-01-01 00:00:00.000000000

dmesg log:

[319134.779721] EtherCAT: Master driver 1.5.2 0c011dc6dbc4+
[319134.780007] EtherCAT: 1 master waiting for devices.
[319134.786905] ec_generic: EtherCAT master generic Ethernet device module 
1.5.2 0c011dc6dbc4+
[319134.786945] EtherCAT: Accepting 68:7F:74:36:C0:86 as main device for master 
0.
[319134.787100] ec_generic: Binding socket to interface 7 (enx687f7436c086).
[319134.810399] EtherCAT 0: Starting EtherCAT-IDLE thread.
[319152.221208] asix 3-2:1.0 enx687f7436c086: link up
[319152.221864] EtherCAT 0: Link state of ecm0 changed to UP.
[319152.229820] EtherCAT WARNING 0: 1 datagram TIMED OUT!
[319153.231004] EtherCAT WARNING 0: 124 datagrams TIMED OUT!
[319154.230203] EtherCAT WARNING 0: 125 datagrams TIMED OUT!

The datagrams timed out message just keeps repeating.

Any ideas?

Thanks,

Steven
_______________________________________________
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to