hi,all
现在我想使用ice3359跑acontis的主站协议栈,按照文档的说明,可以成功的编译成功且可以下载运行,下面是我的配置:
3359 ice v2
ccs Version: 6.1.3.00034
sdk:am335x_sysbios_ind_sdk_1.1.0.8
sys\bios version 6.41.4.54
下载到板子之后,通过串口打印出如下信息:
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
001476 : Run demo now with cycle time 2000 usec
001476 : Using AuxClock
001476 : ==========================
001476 : Initialize EtherCAT Master
001476 : ==========================
001476 : EC-Master V2.9.0.06 (Protected) for SYSBIOS Copyright acontis technologies GmbH @ 2016
001477 : CPSW INF: Port 1, Prio 1, Flags [Polling] [Master], Phy 1, PhyInterface 32, MAC 68:c9:0b:e4:4f:5c
001478 : CPSW INF: CPSW3G found. CPSW INF: HW-Id: 0x0019, RTL: 0, Major: 1, Minor: 0xc
001478 : CPSW ERR: mdio ACK missing
001478 : CPSW INF: mdio reg 2 read error
001478 : CPSW ERR: PHY initialization failed
001541 : CEcConfigXpat::StartElementHandler() - invalid first tag, expected EtherCATConfig
001541 : CEcConfigXpat::Init() Parse error at line 2 col 0
out of memory
001541 : Data Length 82283 CurrentLength 6912
001542 : ecatInitMaster() Cannot create EtherCAT device!
001542 : ConfigLoad() Cannot initialize Master Stack!
001542 : CPSW INF: Disable running RX-DMA
001542 : CPSW INF: RX+TX DMA disabled. Delay 500
001542 : Cannot configure EtherCAT-Master! ERROR: Wrong format of master XML file (Result = 0x9811001b)
001542 : ========================
001542 : Shutdown EtherCAT Master
001542 : ========================
001542 : Cannot stop EtherCAT-Master! ERROR: Master core not accessible (0x9811002e)
001543 : ================================================================
001543 : PerfMsmt 'JOB_ProcessAllRxFrames' (avg/max) [usec]: 0.2/ 11.8
001543 : PerfMsmt 'JOB_SendAllCycFrames ' (avg/max) [usec]: 0.2/ 26.8
001543 : PerfMsmt 'JOB_MasterTimer ' (avg/max) [usec]: 0.2/ 24.4
001543 : PerfMsmt 'JOB_SendAcycFrames ' (avg/max) [usec]: 0.1/ 4.9
001543 : PerfMsmt 'Cycle Time ' (avg/max) [usec]: 448.6/2004.3
001543 : PerfMsmt 'myAppWorkPd ' (avg/max) [usec]: 0.2/ 4.5
001652 : EcMasterDemo stop.
问题1:这里一定是出错了,但是该如何修改?
ps:板子的的网口插到的port 1,且j18的pin1&pin2用跳线帽短路,把j5的pin1&pin2跳线帽短路(nor启动模式)
问题2:文档里说要用acontis 的EC-Engineer,这个是什么作用?不使用可以吗?因为联系acontis公司,公司说这个软件是需要购买的。
祝好。
jason