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.

ICE3359 做acontics 主站报错求助

Other Parts Discussed in Thread: AM3359, SYSBIOS

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.

  • 请问有参考过这篇文档么:

    http://www.ti.com/lit/ug/tiduaf8a/tiduaf8a.pdf

  • 是参考这个文档做的,目前因为下载不到EC-engineer所以,使用ICE3359做从站,尝试用1.1.0.8sdk slave demo带的eni文件,应该是不通用,,能不能给个EC engineer tool 或者给个,ICE3359V2的 acontic 环境的ENI文件
  • ENI文件必须用acontis EC engineer 生成吗

  • 这个问题我会联系acontics的工程师,看看能否把相关软件工具在论坛里共享一下。

  • 关于Acontics的EC engineer工具,请通过如下联系方式本地获取:

    北京盟通科技有限公司:www.motrotech.com,  tel: 010-62740270,  Email: info@motrotech.com 

  • 感谢楼主Jason Lee 和TI工程师一直的帮助。 目前联系到了代理,拿到了EC engineer工具 使用ICE3359 V2作为ETHERCAT从站导入sdk2.0.1.2 salveDemo里的TIeni.xml ECengineer 能够找到从站 并导出ENI.xml 使用bin2header 生成eni.c后替换acontis 2.9 MasterDemo的eni.c 编译,连接从站后执行, 还是报错 ethernet cable not connect 还请指点一下。谢啦 01151 : ========================== 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
  • 主站的网口是不是不对?