Dear Ti Team,
We are facing one issue related to Ethernet Gadget(g_ether.ko) .
We are using the Kernel from PSP=v2.6.37_ti816xpsp_04.00.02.14 release.
We are inserting g_ether.ko gadget module and making the Ethernet interface (usb0) up by assigning static ip address to it.
We are connecting AM389x board to Host PC via USB cable.
Issue 1:
When we do bulk data transfer via socket (client – server application) either from pc to board or board to PC, some times we get some error message and
connection gets reset. Error messages are as shown below:
a) musb_g_ep0_irq 707: SetupEnd came in a wrong ep0stage setup
g_ether gadget: high speed config #2: RNDIS.
OR
b) musb_g_ep0_irq 707: SetupEnd came in a wrong ep0stage setup
rndis_msg_parser: unknown RNDIS message 0x80000004 len 28
g_ether gadget: RNDIS command error -524, 0/12
g_ether gadget: high speed config #2: RNDIS.
Issue 2:
If the Client server socket application is run for long duration with bulk data transfer from client to server and server to client, Ethernet connection is going down.
There is no response for ping either from PC or board side. Note that no error messages are displayed in the debug port in this case.
If we remove the USB cable and connect it back, it starts pinging.
Can you Please let us know the reason and solution for above mentioned 2 issues.
Waiting for your quick response.
Thanks in advance.
Best Regards,
Supreet