Hello I loaded etherlab on 3.2.0 preempt rt kernel. I connected point to point a slave to my controller.
$ ethercat master Master0 Phase: Idle Active: no Slaves: 1 Ethernet devices: Main: 00:50:c2:5d:0f:5e (attached) Link: UP Tx frames: 383558 Rx frames: 383557 Lost frames: 0 Tx bytes: 23041152 Tx errors: 0 Tx frame rate [1/s]: 667 667 667 Tx rate [KByte/s]: 39.1 39.1 39.1 Loss rate [1/s]: 0 0 0 Frame loss [%]: 0.0 0.0 0.0 Backup: None. Distributed clocks: Reference clock: Slave 0 Application time: 0 2000-01-01 00:00:00.000000000 the eth0 is 100mbps e100, but i have not patched yet but used the generic driver. when i issue the upload command: $ ethercat upload -t int8 -p 0 0x2003 0x01 I sometime get a reply "Data type mismatch. Expected int8 with 1 byte, but got 0 byte." dmesg shows me that i have packets timed out. 384.559608] EtherCAT WARNING 0: 87 datagrams TIMED OUT! [ 384.559612] EtherCAT WARNING 0: 87 datagrams UNMATCHED! [ 384.559662] EtherCAT ERROR 0-0: Reception of CoE upload response failed: No response. [ 384.559667] EtherCAT ERROR 0-0: Failed to process SDO request. [ 385.473636] EtherCAT ERROR 0-0: Reception of CoE upload response failed: No response. [ 385.473642] EtherCAT ERROR 0-0: Failed to process SDO request. [ 388.838516] EtherCAT WARNING 0: 4 datagrams TIMED OUT! [ 388.838520] EtherCAT WARNING 0: 4 datagrams UNMATCHED! [ 388.838572] EtherCAT ERROR 0-0: Reception of CoE upload response failed: No response. [ 388.838576] EtherCAT ERROR 0-0: Failed to process SDO request. [ 389.988491] EtherCAT WARNING 0: 2 datagrams TIMED OUT! [ 389.988496] EtherCAT WARNING 0: 2 datagrams UNMATCHED! [ 389.988546] EtherCAT ERROR 0-0: Reception of CoE upload response failed: No response. [ 389.988550] EtherCAT ERROR 0-0: Failed to process SDO request. Where the problem is ? the slave or the master ? thank you raz -- http://raziebe.wix.com/ironspeedlinux#!Home/mainPage _______________________________________________ etherlab-users mailing list etherlab-users@etherlab.org http://lists.etherlab.org/mailman/listinfo/etherlab-users