EtherCAT Slave  1.06.01
Setup

Software installation

  1. Install Code Composer Studio for Sitara(TM) processors (CCS).
  2. Install ArmĀ® code generation tools - compiler (ARM-CGT)
  3. Install a System Configuration Tool (sysconfig).
  4. Install a Software Development Kit (SDK) AM64X with demos and device description ESI files

for details see Getting started

Connect the development board

TMDS243GPEVM/TMDS64GPEVM

Board details: TMDS64GPEVM, TMDS243GPEVM

  1. Setup a dip switches on the board : 25MHz, No-boot / Dev-boot.

    No boot mode
  2. Connect the evaluation board to your computer using the micro-USB cables.

    One USB cables is required for the JTAG interface (XDS110), a second cable for the UART console.

    USB connectors on the AM64x/AM243 GP EVM Board
  3. Connect an ethernet cable from a PC running the TwinCAT to EtherCAT IN/Port0 of the PRU-ICSS on the development board.

    EtherCAT ports
  4. If you have multiple devices in chain, please connect from EtherCAT OUT/Port1 to IN/Port0 of next device. For the last device in chain, OUT/Port1 will be left open (if NOT using redundancy mode).
  5. Connect the board(s) to the power supply(ies) according to the specifications in the AM64x/AM243x GP EVM User's Guide Rev D

Steps to Run the Example

  1. When using CCS project to build, import the CCS project for the required combination and build it using the CCS project menu, see Using SDK with CCS Projects.
  2. When using makefiles to build, note the required combination and build using make command, see Using SDK with Makefiles.
  3. Lauch a CCS debug session and run the executable, seeCCS Lauch, Load and Run.