This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x Industrial SDK v1.0.0.7 Daisy Chain Cable Connect/Disconnect Issue w/ EtherCAT Firmware / PRU-ICSS

Hi,

I have discovered an issue with connecting and disconnecting the cable between two EtherCAT slaves in a daisy-chained network. I am using the AM335x Industrial SDK v1.0.0.7.

The daisy chain includes a cable from the EtherCAT Master (TwinCAT) to Port 0 of EtherCAT Slave A, and a cable from Port 1 of EtherCAT Slave A to Port 0 of EtherCAT Slave B.

The issue occurs while both slaves are in OP mode and I connect and disconnect (Hot Connect) the cable between Port 1 of EtherCAT Slave A and Port 0 of EtherCAT Slave B. Upon disconnecting and reconnecting the cable, Slave B will usually go back to OP mode but will sometimes fail to go back to OP mode... it will sometimes remain in an Init error state. This happens if i disconnect and reconnect either Port 1 of Slave A, or Port 0 of Slave B. If I keep unplugging and plugging the cable, eventually Slave B goes back to OP mode, but it is very random.

Slave B should always go back to Op mode when the cable is reconnected, since that is the behaviour of slaves with the ET1100 EtherCAT Slave Controller (ESC).

Here is a diagram of the Hot Connect issue:

 

If I disconnect and reconnect the cable between the EtherCAT Master and Port 0 of EtherCAT Slave A, both EtherCAT Slave A and EtherCAT Slave B will always go back to OP mode when the cable is reconnected. So this Hot Connect issue might have something to do with the handling of Port 1 in the EtherCAT Firmware / EtherCAT Slave Controller (ESC) / PRU-ICSS of the AM335x.

Thanks.