TI大神和大牛童鞋帮忙看下是哪里有问题,两个ICE3359一个做主一个做从,小弟谢谢啦 还有acontics配置导出工具,或者ICE3359 v2.1 按照acontics主站导出编辑好的ENI.c谁能发个链接,不尽感谢 。
TWINCAT 两个从站测试没有问题可以控制LED。
TI Industrial SDK Version - IASDK 1.1.0.8
Device name : AM3359
Chip Revision : AM335x ES1.2 [PG2.1]
SYS/BIOS EcMaster Sample application running on ICE V2
Full command line: -auxclk 2000 -v 2 -t 10000 -perf -cpsw 1 1 1 m custom am33XX 1 1 0
001151 : Run demo now with cycle time 2000 usec
001151 : Using AuxClock
001151 : ==========================
001151 : Initialize EtherCAT Master
001151 : ==========================
001151 : EC-Master V2.9.0.06 (Protected) for SYSBIOS Copyright acontis technologies GmbH @ 2016
001152 : CPSW INF: Port 1, Prio 1, Flags [Polling] [Master], Phy 1, PhyInterface 32, MAC 68:c9:0b:1c:83:22
001153 : CPSW INF: CPSW3G found. CPSW INF: HW-Id: 0x0019, RTL: 0, Major: 1, Minor: 0xc
001154 : CPSW INF: PHY found. Id=0x2000a211
001154 : CPSW INF: Restart PHY auto negotiation
007214 : CPSW INF: PHY link timeout (waiting for auto negotiation completion).
007232 : Unlicensed version, stop sending ethernet frames after 60 minutes!
007234 : Ethernet cable not connected
007243 : ecatScanBus() Error 0x9811002d in McSm state 'SB_DONE' for requested state 'SB_DONE'
007243 : Cannot scan bus: ERROR: Ethernet link cable disconnected (0x9811002d)
007243 : EtherCAT network adapter MAC: 68-C9-0B-1C-83-22
007243 : =====================
007243 : Start EtherCAT Master
007243 : =====================
007273 : ecatSetMasterStateEx() Error 0x9811002d in McSm state 'START' for requested state 'START'
007273 : Scan bus mismatch for the first slave on the bus! BUS VendorId: ---- (0x0); ProductCode: Unknown (0x0).
007273 : CFG/BUS VendorId: ---- (0xe000059d) / ---- (0x0); ProductCode: Unknown (0x54490002) / Unknown (0x0)
007273 : Scan bus mismatch for the first slave on the bus! BUS VendorId: ---- (0x0); ProductCode: Unknown (0x0).
007273 : CFG/BUS VendorId: ---- (0xe000059d) / ---- (0x0); ProductCode: Unknown (0x54490002) / Unknown (0x0)
007273 : Scan bus mismatch for the first slave on the bus! BUS VendorId: ---- (0x0); ProductCode: Unknown (0x0).
007273 : CFG/BUS VendorId: ---- (0xe000059d) / ---- (0x0); ProductCode: Unknown (0x54490002) / Unknown (0x0)
007273 : Cannot start set master state to INIT (Result = ERROR: Ethernet link cable disconnected (0x9811002d))
007273 : ========================
007273 : Shutdown EtherCAT Master
007273 : ========================
007361 : ecatSetMasterStateEx() Error 0x9811002d in McSm state 'START' for requested state 'START'
007361 : Cannot stop EtherCAT-Master! ERROR: Ethernet link cable disconnected (0x9811002d)
007379 : ================================================================
007379 : PerfMsmt 'JOB_ProcessAllRxFrames' (avg/max) [usec]: 0.8/ 10.8
007379 : PerfMsmt 'JOB_SendAllCycFrames ' (avg/max) [usec]: 1.2/ 46.2
007379 : PerfMsmt 'JOB_MasterTimer ' (avg/max) [usec]: 2.5/ 95.7
007379 : PerfMsmt 'JOB_SendAcycFrames ' (avg/max) [usec]: 0.4/ 4.6
007379 : PerfMsmt 'Cycle Time ' (avg/max) [usec]: 952.9/2005.2
007379 : PerfMsmt 'myAppWorkPd ' (avg/max) [usec]: 0.4/ 4.8
007676 : CPSW INF: Disable running RX-DMA
007676 : CPSW INF: RX+TX DMA disabled. Delay 500
007677 : EcMasterDemo stop.