Other Parts Discussed in Thread: SYSBIOS
Hello,
I'm currently working on porting the Ethercat Slave Application running on AM437x IDK to VxWorks OS. My test setup right now consists of:
* 1 Master AM335x ICE V2 board,
* 1 Slave AM437x IDK board.
When I run the original sys/bios slave application, the test runs just fine. When I swap the binary with my own application, I get an error on master's side that looks something like this:
002869 : CPSW INF: PHY found. Id=0x2000a211 002869 : CPSW INF: Restart PHY auto negotiation 008920 : CPSW INF: PHY link timeout (waiting for auto negotiation completion). 009933 : Unlicensed version, stop sending ethernet frames after 60 minutes! 010933 : ERROR: Redundancy Line break between slave 1 and 2 010943 : Line crossed at slave Slave_1001 [TIESC-002], EtherCAT auto-increment address=0, station address=1001. Error at port 255. 010943 : Scan Bus returned with error: ERROR: Line crossed (0x9811017b) 010948 : Line crossed at slave Slave_1001 [TIESC-002], EtherCAT auto-increment address=0, station address=1001. Error at port 255. 010948 : Scan Bus returned with error: ERROR: Line crossed (0x9811017b) 010980 : ecatScanBus() Error 0x9811017b in McSm state 'SB_DONE' for requested state 'SB_DONE'
I've ruled out any network topology/hardware setup issue, since the only thing I'm changing it's the actual application on the SD card, and the test runs fine with the original app.
Do you know what are the possible causes on the slave side, for this error to be triggered? My main guesses were MDIO/PHY setup or Pinmux setup, but they look fine.
Any hint would be appreciated, thanks.
Beni