nakarlsson
nakarlsson
I used: Laptop with installed TAP-Windows interface 192,168,127,200 FileZilla FTP client for test SOEM Application using TAP ReadFile ->ecx_EOEsend(EL6601) / eoe_hook(EL6601) -> TAP WriteFile < ECAT > EL6601 < TCP/IP>...
As a start make sure you receive frames from the network connected to the EL6601 via the eoe_hook. Should see ARPs and similar frames.
Make use of Linux tun/tap interface. Read from interface and write to EL6601 ecx_EOESend. Read from eoe_hook and write to interface egen frame is complete.
You can share your code? I”d expect to see code that read/write the TAP interface using the EoE API and hook.
Try using simple_test , should take the device ro OP. The FSoE should send a Reset frame != 0.
WKC = -1 , timeout or loss of frame. You can try to extend the waiting timeout. Take a wireshark to se any wierd timings.
You may but shouldn’t. All comes down to timing.
Post a Wireshark for the failing scenario No 2
Can you share the code you run. The order in Wireshark is a bit odd. Seems it is out of order. The drive start with sending an Emergency frame, doesn't...
Please provide the correct Wireshark than, one that matches the code snippet above for scenario No2.