Part Number: AM3359
Tool/software: Code Composer Studio
Hello,
I tried to use EoE for an sFTP connection. This is working in gernal, but it is very slow. Therefore I wanted to increase the mailboxes sizes, which does not seem working correctly.
My hardware is based on the ICEv2 Board. I'm using a Beckhoff CX1100-0004 with TwinCAT2 as EtherCAT master.
My Software:
PDK 1.0.12
NDK 3.40.1.1
TI BIOS 6.73.0.12
PRU ICSS 1.0.7.2 (ethercat slave) (includ. correct Firmware for AM335x : v1.0)
SSC- Tool 1.4.2, SSC Version 5.12
I were able to see my problem without EoE usage.
Description:
Similary as in the referenced thread i wanted to increase the mailbox sizes, but I cannot move further than PreOp, because of error messages like "Timeout 'eoe init' ". Maximum mailbox sizes are set to valid values, large enough for tests (Mailbox/SM addreses: 0x1000, 0x1800, 0x2000, 0x2800, Min address 0x1000, Max Address 0x2FFF, Max Mbx size 0x0800).
Setting In and Out Mailbox size to 0x80, everything is working fine: EtherCAT state goes to Op, EoE is working, CoE entries can be seen. Increasing the values leads to the described error. I were able to take a look to the dateil:
- If the out size is bigger than 0x80, any outgoing mailbox message seems not to be received correctly by the AM335x leading to described error, further the CoE cannot be seen in online view.
- If In Size is bigger than 0x89 (which is interesseting, because it is odd), the State goes to Op, but the CoE cannot be read and EoE is not working - the AM335x seems not able to send any message using the mailbox.
- If Out Size is 0x80 and out Size is 0x89, verythin is working fine, e.g. these are the maximum usable values.
- Smaller values are possible, if the Startup Commands fits into the mailboxes.
Here Seeing CoE means going to CoE-Online in TwinCAT2 and try to remove the checkmark in "Show Offline-Data".
Further I took a look into errata sheets, but I wasn't able to see my problem here:
processors.wiki.ti.com/.../AM335x_EtherCAT_Slave_Errata
My goal is to increse the mailbox sizes to maximum, i.e. 1484, to get best performance using EoE.
Ist there anything I missed, or do you have a clue what the problem is?
Thank you very much.