Jump to content

Phil_D

Members
  • Posts

    26
  • Joined

  • Last visited

Posts posted by Phil_D

  1. On 6/11/2018 at 5:27 AM, attila said:

    Hi @Phil_D @rprr

    The problem is that the USB IN packets/bytes are randomly lost/altered.
    I tried various kernel options, limiting the USB transfer rates but had no luck. The data corruption reduced from one in 1-60 seconds to one in 10-60 minutes, which it is still not good...

    It seems that the root of the problem is in the low level FTDI library, kernel or USB modules, or between them...
    The Analog Discovery is working fine with other SOCs but not with the RPi.
    I also notice issue with the USB keyboard I use with the RPi, time to time key presses are not received. 
    You can find many similar RPi issues on the net:
    https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=5249&sid=8839659cb92b7475fa196b2fad775d9f&start=250
    http://www.ftdicommunity.com/index.php?topic=40.0

    Is it possible to have a software mod that would check for missed packets and if the expected packet is not there, the software just requests another, until it gets a packet?  I guess there'd have to be some kind of time out, or limit to how many missed packets would be allowed before terminating the request. Obviously, you wouldn't want to keep requesting packets indefinitely.

     

×
×
  • Create New...