Hello,
I am currently using the AM3358 processor as a USB peripheral to transmit data to an Android tablet working as a host. I first started with the ffs gadget function to create custom bulk IN/OUT endpoints. The communication works great for about 2.5 hours, after which data stops flowing through the IN endpoint. I used a USB analyzer and the tablet is still polling the endpoint for data but only gets NAKs in return. OUT endpoint still works too. After a while, my process is killed for using too much memory.
I have now tried the simple gserial libcomposite function and the same thing happens, the only difference being that the device disconnects and reconnects automatically after a few seconds of data not being sent.
Any idea on where this behavior might come from is appreciated.
Thanks