This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x EtherCat new ESI FIle

Other Parts Discussed in Thread: SYSBIOS

Hello All

I am trying to build a new  ESI file for my understanding of the EtherCat Stack Code.  I am basically following the  EtherCat Slave Design  Quick Guide.  When I start the SSC Tool I choose  Custom for a new project then I select "TI AM335x Sample".  A prompt pops up "External files needs to be added to activate the configuration.  Do you want to proceed?".  I choose "Yes" then I get promoted  "ecat_appl_cnfg.h"  I navigate to the file location and select the file.  Next,  another prompt pops up asking for "tiesc_eeprom.h" I navigate to the file and then select it.  Once I select "tiesc_eeprom.h" file another prompt comes up stating  "Failed to get reference to patch file C:\ti\sysbios_ind_sdk_2.1.1.2\sdk\protocols\ethercat_slave\ecat_appl\patch\TI_ECAT.patch Proceed without applying the patch file?".  So, my question is should I proceed with that file then apply it later?   How would I tell the SSC tool to look for the patch file and apply it?

Thanks

 

  • In addition to the above,

    What is TIs procedure for creating a new ESI file along with adding the necessary patches for TIs (ICE board) hardware?
  • Hello, creating an ESI Ethercat file is a truly daunting task. There are so many subtle pitfalls that it is practically humanly impossible to implement any significantly sized object dictionary. The Ethercat ETG group has a semiautomatic 'OD Tool' for creating an ESI from an Excel template. However it does not work that well with the TI Sitara ICE project, as it assumes you can run the SSC project as-is, which you cannot with the TI Sitara. But it may be worth using to generate a file for study with an XML editor tool to see how it is structured. You may have to learn how to edit the XML ESI files directly. Study the provided ESI file for the ICE, for example, and just cut and paste existing objects to create new ones using an XML editor, XMLSPY or XMLNOTEPAD.
  • I suggest you ask the supplier of the SSC tool (ETG/Beckhoff) for support. They have their own forums on www.ethercat.org. The patch process may assume you have the files installed at a certain location.
  • The EtherCAT technology as well as any issues with the development process are owned by ETG. Please ask there for support on the technology. They also offer training & workshops. There is a list of 3Ps supporting EtherCAT on our site too. Some do offer tools to generate code and description files for a project (e.g. Port GmbH).
    TI only provides an example that needs to ported/adapted to a certain application. However base drivers are not ESI dependent.