Edge Software Catalog
Support for issues related to Edge Software Catalog
441 Discussions

Inquiry about ECI's EtherCAT Enablekit Component and Source Code Availability

hz0908
Beginner
1,353 Views

Hello,

I am keenly interested in ECI's EtherCAT Enablekit component, particularly in the parsing of ESI and ENI files and the functionality related to EtherCAT network configuration. While I have come across mentions of source code in the ECI documentation, I am still unclear about whether the source code for features like ESI and ENI file parsing is accessible through apt installation.

Could you please clarify if ECI's EtherCAT Enablekit provides the actual source code for functionalities such as ESI and ENI file parsing when the component is installed through apt, or does it solely offer related APIs and example programs without disclosing the implementation details? Thanks alot.

Labels (1)
0 Kudos
1 Solution
Iffa_Intel
Moderator
1,263 Views

Hi,

 

You can find what you are looking for in the source code.

Download ECI source code per the instructions Download ECI — ECI documentation (intel.com).

 

Then, look in ~/release-eci_3.0.2/Edge-Controls-for-Industrial/eci-release/targets/layers/meta-intel-fieldbus/meta-eci-fieldbus-isar/recipes-ethercat/ecat-enablekit/ecat-enablekit



Cordially,

Iffa


View solution in original post

0 Kudos
4 Replies
Iffa_Intel
Moderator
1,316 Views

Hi,

 

ECI typically offers a standard setup for activating EtherCAT, and the EtherCAT stack is designed to utilize DKMS for constructing kernel modules, typically sourced from locations outside the kernel source tree.

You can locate the source code for the EtherCAT stack at: /var/lib/dkms/ighethercat-dkms/1.5.2/source. The default EtherCAT stack configuration resides in a file called dkms.conf, allowing for customization as required.

 

 

You may refer to this documentation for further details.

 

 

For the ESI and ENI, you may refer to the EtherCAT Enablekit Sanity Checks section in the documentation.

Generally, the example is installed through apt and the executable will be placed in /opt/ecat-enablekit which then can be run with ESIfile.xml or ENIfile.xml.

The steps provided only cover examples on how to do sanity check using ESI and ENI and any custom implementation requires customization from your side.

 

 

Cordially,

Iffa

 

 

 

 

 

 

 

0 Kudos
hz0908
Beginner
1,307 Views

Thank you very much for your response. However, I assume that the source code path you mentioned, "/var/lib/dkms/ighethercat-dkms/1.5.2/source," likely contains the code from the open-source EtherCAT master station, i.e., igh. According to the EtherCAT Enablekit architecture diagram in the ECI documentation, at the application layer, the ESI file is generated into an ENI file using a configuration tool. Subsequently, based on the information described in the ENI file, the user-layer library of ighEtherCAT is invoked for bus configuration and data communication.

Therefore, I would like to confirm whether the source code implementation for the ESI -> configuration tool -> ENI -> LibEcat part is accessible. I appreciate your assistance.

0 Kudos
Iffa_Intel
Moderator
1,264 Views

Hi,

 

You can find what you are looking for in the source code.

Download ECI source code per the instructions Download ECI — ECI documentation (intel.com).

 

Then, look in ~/release-eci_3.0.2/Edge-Controls-for-Industrial/eci-release/targets/layers/meta-intel-fieldbus/meta-eci-fieldbus-isar/recipes-ethercat/ecat-enablekit/ecat-enablekit



Cordially,

Iffa


0 Kudos
Iffa_Intel
Moderator
1,228 Views

Hi,

 

Intel will no longer monitor this thread since this issue has been resolved. If you need any additional information from Intel, please submit a new question. 

 

 

Cordially,

Iffa

 

0 Kudos
Reply