Part Number: AM4377
Tool/software: Linux
Hi,
I am having problems with the PRU-ICSS Ethernet firmware. I want to use the PRU as a EtherCAT master port but the ethernet firmware running inside the PRU locks up and doesn’t recover. I’ve had a quick look around this forum, and my issue is almost identical to this one : https://e2e.ti.com/support/arm/sitara_arm/f/791/p/551485/2019092
If I connect the EtherCAT slave directly to one of the PRU ports, the firmware inside the PRU locks up, stops triggering interrupts and cannot recover (even if I do “rmmod prueth” and “modprobe prueth”). I have to reboot the system for it to come up again.
If I try to connect the slave directly to the CPSW port instead, it works without any problem.
If I try to put an ethernet switch between the PRU port and the EtherCAT slave it works correctly. Perhaps that’s because the switch is dropping any invalid frames. It thus seems that an invalid frame received on the PRU causes its firmware to crash somehow.
Just to be clear : this is NOT an EtherCAT problem. This is an ethernet problem. More specifically, this is a PRU-ICSS Ethernet firmware problem.
Normally I would go ahead and fix it myself, but TI has not released the source code for the PRU Ethernet firmware, only binaries, so there’s really nothing I can do about it. Please fix this problem.
Here’s the setup :
- AM437x IDK board
- Running latest SDK v3.02
- IgH EtherCAT Master for Linux
- Beckhoff EL9800 evaluation board