Dear TI-Support
I currently try to run the EtherCat Slave Example on a idkAM571x on PRU-ICSS1. I started with the unmodified example where the EtherCat slave runs in PRU-ICSS2. This works as expected. Then I changed the definition in tiesc_soc.h: #define PRUICSS_INSTANCE PRUICSS_INSTANCE_ONE as mentioned in the ethercat slave example users guide: https://software-dl.ti.com/processor-industrial-sw/esd/docs/indsw/EtherCAT_Slave/01_00_07/PRU_ICSS_EtherCAT.html. In addition a changed the Ethernet cable to J3 PRU1ETH0.
Now TwinCat is not able to recognize the device. It is not even able to set the attached EK1200 to Pre-Op state. I can see a lot of Lost-Frames in TwinCat. I'm using PRU-ICSS-EtherCAT_Slave_01.00.10.00. My suspicion is that the PRUs PRUSS_MII_RT_TXCFG0 and PRUSS_MII_RT_TXCFG1 are not configured as when the PRU Firmware is loaded in the PRU-ICSS2.
Can you replicate this issue? Is there anything else which has to be done in the example to run in on PRU-ICSS1?
Is the PRU Firmware code somewhere available to further debug the issue?
Kind regards
Marco