USB 3.0 FX3 Transfer Failure

Discussion in 'Windows Virtual Machine' started by MichaelJones, Mar 27, 2016.

  1. MichaelJones

    MichaelJones Junior Member

    Messages:
    13
    This is a request to get help from Parallels to diagnose and fix a USB3.0 bug in the latest 11.1.3 release. I am calling it a bug because I have finally demonstrated that it only occurs on Parallels, and not in Virtual Box or VMWare, and I control the code running on the host (Window) and the target (Cypress FX3), and have Spy tools, and have narrowed it down.

    The situation is:
    Windows 7 or 10 C# host application using Cypress drivers communicating with a Cypress FX3 sending loop back data. The FX3 enumerates as a 3.0 device in Windows on Parallels on OS X 10.11.3, with a max packet size of 1024. The host sends a packet smaller than the max packet size using Bulk Mode on EP1, then reads back a short packet, in a loop. There are two cases, one that works, one that fails.

    The difference between the cases other than a few bytes of content, is the failing case has a 20ms delay in the FX3 before data is sent back.

    On the host side, a loop runs and after N times, 3-10, there is a timeout. Using USBLyzer, there is no data seen coming back from the target. But, this does not prove no data moved, because it is not a hardware analyzer. On the target side, using the FX3 UART, it was demonstrated that data was committed to the EP and no events were generated, meaning no errors.

    Working test cases:

    A) Windows Laptop with Windows 7
    B) Macbook Pro and VMWare running Windows 10
    C) Macbook Pro and Virtual Box running Windows 10

    Failing test cases:

    A) Macbook Pro and Parallels running Windows 7
    B) Macbook Pro and Parallels running Windows 10

    I need to know if there is some way to enable some logging in either Windows or Parallels that might give more information that what is available from USBLyzer. Basically, we need to know if any transactions between the host and target are not reflected in the analyzer. I do not have a hardware analyzer, but may gain access to one a few weeks from now. That said, I want to get as far as I can with what I have available, because this behavior is blocking development work on a new USB 3.0 device.

    The website suggests there is direct e-mail support, but I could not find an e-mail, only a listed twitter tag. Does anyone know how to e-mail so I can get their attention?

    Also, does anyone know of similar problems? I did not find anything in a search, but it might be buried in noise about more typical problems.
     

Share This Page