I'm trying to understand the reason for the many errors on the EtherCAT master status page.
If we set the cycletime to 1ms we see a lot of rxerrors and lostframes, but the send and recive times are quite good (see attachement). And the status of the EtherCAT bus is good (no other errors, all is green, slave has no errors)
But when we set 2ms cycletime the lostframe errors are gone, but periodically increses rxerror counter (see attachement).
The questions is, what do these errors actually mean and what we can do to get gid of them?
Linux RT, imx8, Codesys runtime for ARM 3.5.21.10, Ethercat 4.10
I'm just trying to understand why the errors occur. Are they from the poor driver or from the Linux network stack. That's why I wanted to know how the rxerros and lostframes are counted. Because in other places (like ethtool info) there are no any issues. And the Ethercat device works fine.
And it also strange that on the second ethernet port with a different HW and driver Ethercat works better, but still time to time gets such errors.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm trying to understand the reason for the many errors on the EtherCAT master status page.
If we set the cycletime to 1ms we see a lot of rxerrors and lostframes, but the send and recive times are quite good (see attachement). And the status of the EtherCAT bus is good (no other errors, all is green, slave has no errors)
But when we set 2ms cycletime the lostframe errors are gone, but periodically increses rxerror counter (see attachement).
The questions is, what do these errors actually mean and what we can do to get gid of them?
Linux RT, imx8, Codesys runtime for ARM 3.5.21.10, Ethercat 4.10
Thanks
Setting IRQ priorities using shell commands irq-list and irq-set-prio for the network adapter which is used for Ethercat.
This is here:
https://content.helpme-codesys.com/en/CODESYS%20Control/_rtsl_performance_optimization_linux.html
Last edit: eschwellinger 1 day ago
Didn't help.
I'm just trying to understand why the errors occur. Are they from the poor driver or from the Linux network stack. That's why I wanted to know how the rxerros and lostframes are counted. Because in other places (like ethtool info) there are no any issues. And the Ethercat device works fine.
And it also strange that on the second ethernet port with a different HW and driver Ethercat works better, but still time to time gets such errors.