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.

AM3359ICE ESC Acces E2PROM read error

Other Parts Discussed in Thread: SYSBIOS

hi

I'm testing AM3359ICE board with ethercat example(am335x_sysbios_ind_sdk_1.0.0.3)

below caputure show me that myboard returns weird value from E2PROM (TwinCAT System Manager)

and scan BOX menu Can't find correct Box (because of vendor ID)

everytime when I push ' Upload Button ', Hex Editor show me different values

of course sometimes works correctly. then I can handle my LEDs via RxPDO(32Bit Output)

is this hardware problem?? Or what should I Do??

unfortunately I don't have extra am3359ICE..



  • Hi, Is this possible to send us wireshark logs of the session which cause failure - Select Devicen (EtherCAT) > Adapter > Enable Promiscuous mode. Then start wireshark to take logs.

    Does this work all the time after power on reset? 

  • HI PratheeshGangadhar 

    thanks for your reply.

    i'm not sure I did as you explained but i hope this wireshark log help us

    this attached log file shows a result when I push the 'scan devices' button in I/O Devices of TwinCAT

    and then i'm trying to capture log when i read eeprom but that situation didn't make any logs.. (and I'm wondering why..)

    anyway I'm expecting your answer... 

    thanks

    here is file --> 2844.Box_1.zip

  • Hi Moonseon Park,

    This log is not that conclusive - I see a lot of non-ethercat frames. However ICE responds to register read at 0x0 correctly in the end so session should have proceeded.

    one suggestion is to disable all other protocols other than "TwinCAT ethernet protocol" from Network Connection > Properties.

    Also did you copy TiEtherCATLib.xml to \TwinCAT\Io\EtherCAT folder from sdk\examples\ethercat\esi?

    Did you notice any other error at TwinCAT logger window after scan devices?

  • thanks your answer

    when i disable all other protocol except Twincat

    device works correctly!! 

    Thanks Again~~

  • I highly suggest that you have a dedicated Intel Ethernet NIC (alongside your normal LAN NIC) to use for EtherCAT: there are some situations where even though things can work some of the time with a "lesser" NIC (or one carrying other traffic) that queuing of packets can end up out-of-order which will fail the slave's state machine (this is experience we had on a past project).  Spend the little bit of money for a dedicated EtherCAT NIC and you won't be sorry!

  • Hi Darrin!!

    one more Question!! How can I choose "dedicated EtherCAT NIC" from various NICs

    any suggest Model? or Maker?

    just any model from Intel??  would that be OK ??

  • Hi,

    http://processors.wiki.ti.com/index.php/Configuring_TwinCAT_For_AM335x

    Configuring TwinCAT For AM335x > Step 4 has the link

    http://infosys.beckhoff.com/index.php?content=../content/1031/tcsystemmanager/reference/ethercat/html/ethercat_supnetworkcontroller.htm&id=10112