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.

Industrial Communications Engine (ICE) board - problem with Ethercat

Other Parts Discussed in Thread: SYSBIOS

Hi, I've just bought 1 ICE board and I'm trying to follow the instructions to make it work with Twincat.

I suppose that the starting demo program (with the board just bought) is the Ethercat example.

So I tried to follow the instructions of the Getting Started Guide found in http://processors.wiki.ti.com/images/6/62/AM335x_ICE_QSG.pdf

but at the following point:

"Go to I/O – Configuration > I/O Devices – right click and select Scan Device. You will see a list of Ethernet adapters on your system, with a tick next to the adapter connected to the ICE. Choose OK. Device n (EtherCAT) will be added to I/O devices."

I cannot continue because I only see RT-Ethernet devices ,I don't see any Ethercat one and no device is added to I/O devices.

I'm quite sure that the Twincat configuration is OK because if I try a real Beckhoff slave everything works well.

Any suggestion?

Thank you very much

Luca

  • Luca,

    Ensure that the ICE board is powered with a 24-V supply. With power on and the EtherCAT application running, there should be an "LED walk" on the LEDs D24 to D31 (just below the Texas Instruments logo). Do you see the animation?

    Also ensure that the Ethernet cable is connected to the correct port (J2) on the board before the Scan Device step.

  • Hi Luca

    I have a same issue too. of course everything you metioned was checked

    But for all day long.. only 2~3 times i got correct I/O device(Box(TIESC-001)) and it's operation

    here is my screen capture.. please let me know what's going on..

               

  • This looks to me like a general issue with the system. Do you have another EtherCAT slave to verify that the master is correctly setup? TwinCAT requires a compatible Ethernet device in the PC in order to use it's real-time driver. You should see an 'EtherCAT' connection when scanning instead of the 'RT-Ethernet'.

    Regards.

  • Yes, I have a compatible Intel Ethernet board in my laptop.

    I have a Beckhoff slave and I show you the difference between a Beckhoff slave connection (first picture) and the ICE connection (second picture). 

    The configuration of master is the same in both cases and, while Twincat recognizes the Beckhoff slave with Ethercat connection, with ICE it doesn't and shows only RT-Ethernet.

    I also tried to disconnect the cable and, with cable disconnected, the behaviour is the same of the ICE connection, in fact you only see RT-Ethernet. It seems that ICE is not working properly for all.

    For information, leds D24-D31 are rolling so I think that the Ethercat slave firmware of ICE is running.

    Thanks a lot

    Luca

  • are you sure  Ethercat slave firmware is running. ??

    in my case. when I run Ethercat slave  example(sys/bios), Big LEDs(D4,D5) stay in "turn off"

    you can easily find out what application is running via Terminal..( if you connect your board with pc via usb cable)

    good luck!

  • Hi Moonseon,

    this is my doubt, too. The big leds are both ON in my case.

    If I connect the usb cable to get information from the serial, I only can see this:


    *** StarterWare AM335x Boot Loader. Build - 1.0.0 ***
    Copying application image from MMCSD to RAM

    Unable to open application file from MMCSD
    Copying application image from SPI to RAM
    Image Copy Successful, Executing Application..

    How can I say if it's the right application running? What should the output terminal be?

    Thanks

    Luca

     

  • OK

    when you run ethercat example, you can see this message via terminal 

    *** StarterWare Boot Loader. Build - ***
    Copying application image from MMCSD to RAM

    Copying to RAM completed successfully
    Image Copy Successful, Executing Application..
    ECAT Limited Demo - 1.0.15

    so I Think ...  you're just running  'i2c LED example'

    if you want EtherCAT Example

    check this pdf  -->  'AM335x SYSBIOS Industrial SDK 01.00.00.03 User Guide'

  • Ok, so the answer is that the demo ICE board comes with i2c Led example and not Ethercat one.

    This is a little bit confusing because in both application led D24-D31 are rolling.

    There are 2 ways to be sure that Ethercat demo is running:

    1) Big leds (D4-D5) must be off

    2) Sniffing serial output, you must see the following message:

    ECAT Limited Demo - 1.0.15

    Thank you very much for your help.

    Luca