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.

RTOS: AM437X EtherCAT Slave API

Tool/software: TI-RTOS

Hi,

I read the EtherCAT slave stack information!
Now,i would like to know how communication between ESC and applicaation ?What is specific API?


version :PRU-ICSS EtherCAT slave package, CCS7.2,Twincat3.1,the demo is ethercat_slave_full_AM437x_arm.
I use EtherCAT slave version from PRU-ICSS EtherCAT slave package.I already had test it sucessful.

  • The RTOS team have been notified. They will respond here.
  • Hi Sun

    I am sorry there is a problem with the configuration you are using. PRU-ICSS EtherCAT 0.00.04 - has the following tool requirements listed in http://processors.wiki.ti.com/index.php/PRU_ICSS_EtherCAT#Release_01.00.04

    PROCESSOR-SDK-RTOS-AM437X  04_00_00_04  which should use only CCS 7.1.0.00016.  There have been a number of problems reported with using CCS 7.2 on  PROCESSOR-SDK-RTOS-AM437X  04_00_00_04.

    After installing CCS 7.1.0.00016 -  CCS starts up and asks if you wish to install the upgrades.  One of the upgrades is an update to CCS 7.2. It is important that the box for this upgrade is not checked -  so that the upgrade to CCS 7.2 is not installed.

    Let me build the latest release full application before I reply on the application just in case something has changed.

    David

  • Hi,
    Thanks for your reply!
    I think I did not make it clear my question.
    How should I define the data variable?When i send data from master to slave.
    I find the API function ,but when i define my data variable.It comes some amazing errors!
    The problems are "aprametes0x8000 undeclared".
    If I define the data variable is wrong.How should I define the my data variable?
  • Hi

    I am sorry - I am not quite understanding your question.

    Let me ask a couple of questions to get a better understanding.

    I believe that you have built the full featured  application using EtherCAT stack version 5.11 from ETG as described in http://processors.wiki.ti.com/index.php/PRU_ICSS_EtherCAT#Building_full_feature_EtherCAT_Slave_Application ? - And - you have been able to build and run the application.  Is that correct?

    What are the changes that you wish to make to the application example?

    What files are being modified?  What are the modifications?

    The default EtherCAT application is expected to be used against the ESI xml file given in esi folder.If the application should work with another ESI xml file, user will need to generate a corresponding ESI header file ( tiesc_eeprom.h ) and re-build the ethercat_slave_full application project with the generated .h

    Have you created a new ESI.XML file and corresponding ESI header file ( tiesc_eeprom.h )?

    Could you include a copy of the Console output from the build ?

    David