2 Replies Latest reply on May 2, 2017 12:53 AM by dmitriy.gerasimov

    Read pipe stall after zero sized packet

    dmitriy.gerasimov

      I'm using Cypress EZ-USB FX3 SDK v 1.3.3.

         

      To increase transfer speed I choose an asynchronous model and BULK transfers. 
      So sometimes (after 3, 10 or 30 minutes, times vary) I received a Stall condition. 
      Received data lenght ("rLen" in code sample) in this case is 0. In all other cases it's more than zero. 
      After receiving Stall I try to Abort and Reset Pipe (without success).

         

      Also I try to close transfer using FinishDataXfer. 
      And while do this I receive such exception "Invalid address specified to RtlValidateHeap( 0000000000A10000, 000000002C4B4A50 ) " at one of the queue element. 
      Can you help me with this situation?