Hi

I often get below SDO: Input/output error when using the EtherCAT command line 
tool while an EoE handler is running as well.

~ # ethercat upload -p1 0xf101 1 -t uint8
Failed to upload SDO: Input/output error


Below is some debug info from the syslog where it seems like the SDO upload 
requested via the EtherCAT command line tool has been received by the EoE 
handler that have simply dropped the datagram due to wrong mailbox protocol.

2000-01-06T22:14:11.140760+00:00 PCM51-sn214 kernel: [171153.189812] EtherCAT 
DEBUG 0: ecrt_master_sdo_upload(master = 0xc786e000, slave_position = 1, index 
= 0xF101, subindex = 0x01, target = 0xc7198720, target_size = 1, result_size = 
0xc7909dc8, abort_code = 0xc7909dcc)
2000-01-06T22:14:11.140845+00:00 PCM51-sn214 kernel: [171153.189865] EtherCAT 
DEBUG 0-1: Scheduling SDO upload request.
2000-01-06T22:14:11.140877+00:00 PCM51-sn214 kernel: [171153.191475] EtherCAT 
DEBUG 0-1: Processing SDO request...
2000-01-06T22:14:11.140900+00:00 PCM51-sn214 kernel: [171153.191507] EtherCAT 
DEBUG 0-1: Uploading SDO 0xF101:01.
2000-01-06T22:14:11.140922+00:00 PCM51-sn214 kernel: [171153.191529] EtherCAT 
DEBUG 0-1: Upload request:
2000-01-06T22:14:11.140945+00:00 PCM51-sn214 kernel: [171153.191544] EtherCAT 
DEBUG: 00 20 40 01 F1 01 00 00 00 00
2000-01-06T22:14:11.152670+00:00 PCM51-sn214 kernel: [171153.196476] EtherCAT 
WARNING 0-1: Other mailbox protocol response for eoe0s1.
2000-01-06T22:14:11.164709+00:00 PCM51-sn214 kernel: [171153.204544] EtherCAT 
ERROR 0-1: Reception of CoE upload response failed: No response.
2000-01-06T22:14:11.164791+00:00 PCM51-sn214 kernel: [171153.212760] EtherCAT 
ERROR 0-1: Failed to process SDO request.


I can see that somebody have added an FIXME comment in the code (ethernet.c),  
but I wonder if anybody have already done some thoughts of a possible 
implementation or if anybody is already working on a solution ?

if (mbox_prot != 0x02) { // EoE FIXME mailbox handler necessary
   eoe->stats.rx_errors++;
#if EOE_DEBUG_LEVEL >= 1
   EC_SLAVE_WARN(eoe->slave, "Other mailbox protocol response for %s.\n", 
eoe->dev->name);
#endif


BR,  Knud Baastrup
_______________________________________________
etherlab-dev mailing list
etherlab-dev@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-dev

Reply via email to