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.

have error when I execute “ethercat start”,using IgH master to communicate with AM3359...

Other Parts Discussed in Thread: AM3359

I  have installed  IgH master in ubuntu,and I used  twisted-pair  linking  between  PC(ubuntu)  and    AM3359,

then,

when  I  execute   “ethercat   start”  in ubuntu,appear error:(dmesg)

[11102.655707] EtherCAT: Master driver 1.5.1 0f7a243b03e4
[11102.660384] EtherCAT: 1 master waiting for devices.
[11102.682702] ec_generic: EtherCAT master generic Ethernet device module 1.5.1 0f7a243b03e4
[11102.683680] EtherCAT: Accepting device 00:0C:29:55:B7:7F for master 0.
[11102.683927] ec_generic: Binding socket to interface 2 (eth0).
[11102.684193] EtherCAT 0: Starting EtherCAT-IDLE thread.
[11102.689388] EtherCAT 0: Link state changed to UP.
[11102.696971] EtherCAT 0: 1 slave(s) responding.
[11102.697084] EtherCAT 0: Slave states: INIT.
[11102.699317] EtherCAT 0: Scanning bus.
[11102.748161] EtherCAT WARNING 0: 1 datagram TIMED OUT!
[11103.246878] EtherCAT 0: Bus scanning completed in 548 ms.
[11103.249355] EtherCAT 0: Slave states: PREOP.
[11104.740178] EtherCAT WARNING 0: 48 datagrams TIMED OUT!
[11104.740287] EtherCAT WARNING 0: 48 datagrams UNMATCHED!
[11106.284187] EtherCAT WARNING 0: 2 datagrams TIMED OUT!
[11106.284200] EtherCAT WARNING 0: 2 datagrams UNMATCHED!
[11106.383122] EtherCAT ERROR 0-0: Reception of CoE SDO entry request failed: No response.
[11108.976804] EtherCAT WARNING 0: 13 datagrams TIMED OUT!
[11108.976817] EtherCAT WARNING 0: 13 datagrams UNMATCHED!
[11118.560807] EtherCAT WARNING 0: 1 datagram TIMED OUT!
[11118.560820] EtherCAT WARNING 0: 1 datagram UNMATCHED!
[11120.416410] EtherCAT WARNING 0: 1 datagram TIMED OUT!
[11120.416425] EtherCAT WARNING 0: 1 datagram UNMATCHED!
[11122.964256] EtherCAT WARNING 0: 1 datagram TIMED OUT!

I don't know the error  is due to what ? Does someone know ?

I bought  AM3359  back , never to touch...    

Have a Ethercat-slave program is running in firmware before sales time?Because  I saw the  board LED's blink that like flowing water  when  I power   AM3359. I need to burn write firmware  afresh?

 I need to do what,  master(ubuntu)  to  communicate  with  slave(AM3359)  according to the above error ?

Someone can help me ?

Also ,  [11102.655707] EtherCAT: Master driver 1.5.1 0f7a243b03e4, the blue font  represent what ?

Thanks !

Good luck to you !

 

  • Hi Jupiter,

    I do not have any experience with IgH master as we normally use the PC based Twincat software. Unfortunately you also don't give any info about the slave software/hardware you are using... What board do you use and what software is it running?

    From the messages I would say that your master does see the slave as it controls the state machine from INIT to PREOP. Then it probably does try to read some configuration from the slave device. For more details you will need to take a wireshark log and start to analyze. I also suggest to first verify that you have a working slave and then connect it to your master to see what the issue is. It seems you haven't gone through the IA-SDK documentation yet as this explains how to run the EtherCAT examples. There are also pre-compiled binaries that you can run from an SD card.

    Regards.

  • Hi  Frank,

    thanks  for your answer.

    I used  AM335x ICE,

    I do nothing about AM3359 ICE after I got it, I only to use  twisted-pair  linking  between  PC(ubuntu)  and    AM3359  ICE.

     Have a EtherCAT-slave program is running in firmware before sales'  time, already ?

     

    Addition ,  I want to install TwinCAT  in  pc(windows XP),  So,I refer to http://processors.wiki.ti.com/index.php/Configuring_TwinCAT_For_AM335x?DCMP=am335x&HQS=am335x_twincat  .

    The website said too fuzzy.can you tell me?  

     Thank you!

     

    Regards,

    Jupiter.

  • You will find the SDK here: http://www.ti.com/tool/sysbiossdk-ind-sitara

    Regards.

  • Dear Julian,

    I am new to ubuntu and ethercat, I am trying to install IgH ethrcat master but have some confusions, I build the software with the help of manual provided my Etherlab. After building I have to build the interface document but I dont know how can I do that, could you please guide me in setting up my first project?

    I will be very thankful to you.

    Best Regards

    Nabeel