Hi,
In our PRU-ICSSG EtherCAT development, we are referencing the SDK example code "ethercat_slave_beckhoff_ssc_demo".
Due to limitations in our MSRAM resources, we place the ecat firmware code in XIP. To achieve this, we removed the link to the ethercat_slave_icss_fwhal.am243x.r5f.ti-arm-clang.release.lib and instead compiled tiescbsp.c directly.
It seems that compiling tiescbsp.c directly also allows normal communication with TwinCAT.
So, my question is:
What are the differences between linking to the ethercat_slave_icss_fwhal.am243x.r5f.ti-arm-clang.release.lib and not linking? Because the example code seems to work without linking to the .lib, and it can still activate the PRU-ICSSG EtherCAT.