2 Replies Latest reply on Nov 21, 2020 12:32 AM by RashiV_61 Branched from an earlier discussion.

    Re: BULK in transfer failed with Error Code:997 AN65974 loopback

    HemanthR_06

      Hi Francesco,

       

      Please check if you are getting PRD_EVENT. If not, then FPGA is not sending the data to FX3. Please make sure hardware connections are ok and also make sure that data is sent to FPGA when you performed OUT transfer.

       

      Regards,

      Hemanth

        • 1. Re: BULK in transfer failed with Error Code:997 AN65974 loopback
          frba_4674376

          Hi Hemanth , thanks

          thern in my test case I'm usung teh SP605 evaluation board and cypres usb3ki-003 , I download the firmware of application AN65974 on USB3 and on FPGA .

          For endpoint bulk ut Transgfer in LOOPBACK example is work  , baut when I press Trnsfer in I have error code 997

          Let me know  how can test PRD_EVENT.

          BR.

          Francescotest1.jpg

          • 2. Re: BULK in transfer failed with Error Code:997 AN65974 loopback
            RashiV_61

            Hello Francesco,

             

            Please let me know if your are using the default FX3 firmware and the FPGA code attached with the application note.

            Please confirm if you are following the steps mentioned in section 11.5.1 of the application note AN65974

             

            For checking the Producer events, please enable the debug prints in the SlFifoAppThread_Entry function

            /* Print the number of buffers received so far from the USB host.

                        CyU3PDebugPrint (6, "Data tracker: buffers received: %d, buffers sent: %d.\n",

                                glDMARxCount, glDMATxCount);

             

            Try doing the data transfers as mentioned in section 11.5.1 of app note and share the UART debug prints

             

            Regards,

            Rashi