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.

AM3359: EtherCAT Master demo halts

Part Number: AM3359
Other Parts Discussed in Thread: SYSBIOS

Hello,

    I want to establish ethercat communication between S700 kollmorgan drive as slave and Am3359  board as master. I followed all the instruction given in "EtherCAT® Master Reference Design for AM335x CPSW".

When I load the programme I got following error message on putty:-

boardname: A335_ICE version: 2.1A

SYS/BIOS EcMaster Sample application

0000000174: Full command line: -auxclk 2000 -v 2 -t 10000 -perf -cpsw 1 1 1 m cu stom am33XX 1 1 0

0000000174: Run demo now with cycle time 2000 usec

0000000174: Using AuxClock

0000000174: OsMeasGet100kHzFrequency(): 600 MHz

0000000174: ==========================

0000000174: Initialize EtherCAT Master

0000000174: ==========================

0000000174: EC-Master V3.0.1.12 (Protected) for SYSBIOS Copyright acontis techno logies GmbH @ 2018

0000001838: EtherCAT network adapter MAC: 2C-6B-7D-4A-27-1D

0000001861: Protected version, stop sending ethernet frames after 60 minutes if not licensed!

0000001949: Bus scan successful - 1 slaves found

0000001950: ******************************************************************** **********

0000001950: Slave ID............: 0x00000000

0000001950: Bus Index...........: 0

0000001950: Bus AutoInc Address.: 0x0000

0000001950: Bus Station Address.: 0x03e9 (1001)

0000001950: Bus Alias Address...: 0x0000 ( 0)

0000001950: Vendor ID...........: 0x0000006A = Unknown

0000001950: Product Code........: 0x03000600 = Unknown

0000001950: Revision............: 0x00000001 Serial Number: 0

0000001950: ESC Type............: IPCORE (0x4) Revision: 2 Build: 0

0000001950: Connection at Port A: yes (to 0x00010000)

0000001950: Connection at Port D: no (to 0xFFFFFFFF)

0000001950: Connection at Port B: no (to 0xFFFFFFFF)

0000001950: Connection at Port C: no (to 0xFFFFFFFF)

0000001950: Line Crossed........: no

0000001950: Cfg Station Address.: 0x03e9 (1001)

0000001950: PD IN Byte.Bit offset: 0.0 Size: 64 bits

0000001950: PD OUT Byte.Bit offset: 0.0 Size: 48 bits

0000001950: =====================

0000001950: Start EtherCAT Master

0000001950: =====================

0000001959: Master state changed from <UNKNOWN> to <INIT>

0000002011: Master state changed from <INIT> to <PREOP>

0000002088: Master state changed from <PREOP> to <SAFEOP>

0000002295: Master state changed from <SAFEOP> to <OP>

0000002296:

0000002296: Job times during startup <INIT> to <OP>:

0000002296: ==================================================================== ========

0000002296: PerfMsmt 'JOB_ProcessAllRxFrames' (min/avg/max) [usec]: 0.6/ 25. 2/ 59.4

0000002296: PerfMsmt 'JOB_SendAllCycFrames ' (min/avg/max) [usec]: 0.4/ 8. 8/ 22.9

0000002296: PerfMsmt 'JOB_MasterTimer ' (min/avg/max) [usec]: 0.4/ 17. 6/ 77.4

0000002296: PerfMsmt 'JOB_SendAcycFrames ' (min/avg/max) [usec]: 0.5/ 11. 7/ 33.3

0000002296: PerfMsmt 'Cycle Time ' (min/avg/max) [usec]: 1116.7/1852. 5/2007.5

0000002296: PerfMsmt 'myAppWorkPd ' (min/avg/max) [usec]: 0.6/ 1. 4/ 3.3

0000002296:

0000004296: ==================================================================== ========

0000004296: PerfMsmt 'JOB_ProcessAllRxFrames' (min/avg/max) [usec]: 14.2/ 17. 6/ 48.8

0000004296: PerfMsmt 'JOB_SendAllCycFrames ' (min/avg/max) [usec]: 9.2/ 9. 9/ 19.8

0000004296: PerfMsmt 'JOB_MasterTimer ' (min/avg/max) [usec]: 9.4/ 10. 8/ 20.3

0000004296: PerfMsmt 'JOB_SendAcycFrames ' (min/avg/max) [usec]: 1.5/ 4. 1/ 24.0

0000004296: PerfMsmt 'Cycle Time ' (min/avg/max) [usec]: 1990.8/1999. 0/2006.3

0000004296: PerfMsmt 'myAppWorkPd ' (min/avg/max) [usec]: 0.8/ 0. 9/ 1.3

0000006296: ==================================================================== ========

0000006296: PerfMsmt 'JOB_ProcessAllRxFrames' (min/avg/max) [usec]: 14.2/ 17. 7/ 48.8

0000006296: PerfMsmt 'JOB_SendAllCycFrames ' (min/avg/max) [usec]: 9.1/ 9. 9/ 20.0

0000006296: PerfMsmt 'JOB_MasterTimer ' (min/avg/max) [usec]: 9.4/ 10. 8/ 20.3

0000006296: PerfMsmt 'JOB_SendAcycFrames ' (min/avg/max) [usec]: 1.5/ 4. 0/ 24.0

0000006296: PerfMsmt 'Cycle Time ' (min/avg/max) [usec]: 1990.6/1998. 9/2006.8

0000006296: PerfMsmt 'myAppWorkPd ' (min/avg/max) [usec]: 0.7/ 0. 9/ 1.6

0000008296: ==================================================================== ========

0000008296: PerfMsmt 'JOB_ProcessAllRxFrames' (min/avg/max) [usec]: 14.2/ 17. 6/ 48.8

0000008296: PerfMsmt 'JOB_SendAllCycFrames ' (min/avg/max) [usec]: 9.1/ 9. 9/ 20.4

0000008296: PerfMsmt 'JOB_MasterTimer ' (min/avg/max) [usec]: 9.3/ 10. 8/ 20.3

0000008296: PerfMsmt 'JOB_SendAcycFrames ' (min/avg/max) [usec]: 1.5/ 4. 1/ 24.0

0000008296: PerfMsmt 'Cycle Time ' (min/avg/max) [usec]: 1990.6/1998. 9/2007.2

0000008296: PerfMsmt 'myAppWorkPd ' (min/avg/max) [usec]: 0.7/ 0. 9/ 10.1

0000010296: ==================================================================== ========

0000010296: PerfMsmt 'JOB_ProcessAllRxFrames' (min/avg/max) [usec]: 14.2/ 17. 6/ 48.8

0000010296: PerfMsmt 'JOB_SendAllCycFrames ' (min/avg/max) [usec]: 9.1/ 9. 9/ 20.4

0000010296: PerfMsmt 'JOB_MasterTimer ' (min/avg/max) [usec]: 9.3/ 10. 7/ 20.3

0000010296: PerfMsmt 'JOB_SendAcycFrames ' (min/avg/max) [usec]: 1.5/ 4. 1/ 24.0

0000010296: PerfMsmt 'Cycle Time ' (min/avg/max) [usec]: 1990.2/1998. 9/2007.7

0000010296: PerfMsmt 'myAppWorkPd ' (min/avg/max) [usec]: 0.7/ 1. 0/ 10.2

0000012296:

0000012296: Job times before shutdown

0000012296: ==================================================================== ========

0000012296: PerfMsmt 'JOB_ProcessAllRxFrames' (min/avg/max) [usec]: 14.2/ 17. 6/ 48.8

0000012296: PerfMsmt 'JOB_SendAllCycFrames ' (min/avg/max) [usec]: 9.1/ 10. 0/ 20.4

0000012296: PerfMsmt 'JOB_MasterTimer ' (min/avg/max) [usec]: 9.3/ 10. 7/ 20.3

0000012296: PerfMsmt 'JOB_SendAcycFrames ' (min/avg/max) [usec]: 1.5/ 4. 1/ 24.0

0000012296: PerfMsmt 'Cycle Time ' (min/avg/max) [usec]: 1990.2/1998. 9/2007.8

0000012296: PerfMsmt 'myAppWorkPd ' (min/avg/max) [usec]: 0.7/ 0. 9/ 10.2

0000012296: ========================

0000012296: Shutdown EtherCAT Master

0000012296: ========================

0000012318: Master state changed from <OP> to <INIT>

0000012580: EcMasterDemo stop.

 will  I have to make any changes in  the Ec master demo code for communicate with kollmorgan drive?? If yes, how can I write parameters in code ( in which function)?? Why EcMaster Demo Stop while  communicate with drive??

Please help me

  • Hi Sayali, congratulations! your demos seems to be working now. Please keep in mind demo has a protected version of EC-Master, which will stop sending ethernet frames after 60 minutes. Unrestricted licence version needs to be bought with acontis.

    One thing, is that you can increase the time the demo runs via "-t" param. Currently you have  "-t 10000", which should be in ms.

    Thank you,

    Paula