Part Number:PROCESSOR-SDK-AM437X
Tool/software: TI-RTOS
Respected Sir,
I am using AM437x as etherCAT master.
TwinCAT 3 : EtherCAT slave.
I have connected Ethernet port 0
I have followed the exact steps in :
Except 5.1 Hardware settings.
What all settings are need to be done on AM437x Board?
Full command line: -auxclk 2000 -v 2 -t 10000 -perf -cpsw 1 1 1 m am437x-idk
I get the following console output:
SYS/BIOS EcMasterDemo CPSW Sample application
0000000053: Full command line: -auxclk 2000 -v 2 -t 10000 -perf -cpsw 1 1 1 m am437x-idk
0000000053: Run demo now with cycle time 2000 usec
0000000053: Using AuxClock
0000000053: OsMeasGet100kHzFrequency(): 600 MHz
0000000053: ==========================
0000000053: Initialize EtherCAT Master
0000000053: ==========================
0000000053: EC-Master V3.0.1.12 (Protected) for SYSBIOS Copyright acontis technologies GmbH @ 2018
0000000076: mdio ACK missing
0000000076: PHY initialization failed
0000000076: EtherCAT network adapter MAC: 60-64-05-05-65-5B
0000000103: CEcConfigXpat::Init() Parse error at line 17 col 244
unclosed token
0000000103: Data Length 16426 CurrentLength 2602
0000000103: ecatInitMaster() Cannot create EtherCAT device!
0000000103: ConfigLoad() Cannot initialize Master Stack!
0000000103: Cannot configure EtherCAT-Master: ERROR: Wrong format of master XML file (0x9811001b))
0000000103: ========================
0000000103: Shutdown EtherCAT Master
0000000103: ========================
0000000105: ============================================================================
0000000105: PerfMsmt 'JOB_ProcessAllRxFrames' (min/avg/max) [usec]: 0.3/ 6.0/ 6.7
0000000105: PerfMsmt 'JOB_SendAllCycFrames ' (min/avg/max) [usec]: 0.3/ 2.6/ 2.9
0000000105: PerfMsmt 'JOB_MasterTimer ' (min/avg/max) [usec]: 0.3/ 19.1/ 21.4
0000000105: PerfMsmt 'JOB_SendAcycFrames ' (min/avg/max) [usec]: 0.3/ 2.7/ 3.0
0000000105: PerfMsmt 'Cycle Time ' (min/avg/max) [usec]: 446.3/ 607.7/2003.1
0000000105: PerfMsmt 'myAppWorkPd ' (min/avg/max) [usec]: 0.5/ 1.8/ 1.9
0000000113: EcMasterDemo stop.
I'm not getting any CPSW acknowledgement in my output.
What is the exact problem here ?
Please help