7 Replies Latest reply on Apr 24, 2015 3:16 AM by userc_39556

    failures packets

    userc_39556

       hello, i develope slave_fifo 32 bit on CYUSB3014 and fpga xilinx kintex 7. i test stream_in.img, stream_out.img and loopback it is work good. good speed and no failure packets.

         

      But when i rebuld project for stream_in_out or loopback and give new .img file i have failure packets. very rare, but still there, which is critical for our project.

         

      what's the matter?

        • 1. Re: failures packets
          userc_39556

          for test use streamer

          • 2. Re: failures packets
            userc_39556

            i test on another PC with ASMedia usb 3.0 controller and all work good!

               

            on PC with intel usb 3.0 controller rarely come failure packets

            • 3. Re: failures packets
              madhul_36

               Hi,

                 

              Can you please make sure that the CyU3PUsbLPMDisable(); API has been called in your firmware?

                 

              If not, please call it after the CyU3PConnectState API.

                 

              There is a chance that Intel Host force the device to go into a low power mode. Adding this API avoids that.

                 

              Regards,

                 

              - Madhu Sudhan

              • 4. Re: failures packets
                userc_39556

                 Hello

                   

                switch (evtype)

                   

                    {

                   

                        case CY_U3P_USB_EVENT_SETCONF:

                   

                            /* Stop the application before re-starting. */

                   

                            if (glIsApplnActive)

                   

                            {

                   

                                CyFxSlFifoApplnStop ();

                   

                            }

                   

                            CyU3PUsbLPMDisable();

                   

                            /* Start the loop back function. */

                   

                            CyFxSlFifoApplnStart ();

                   

                            break;

                   


                        case CY_U3P_USB_EVENT_RESET:

                   

                        case CY_U3P_USB_EVENT_DISCONNECT:

                   

                            /* Stop the loop back function. */

                   

                            if (glIsApplnActive)

                   

                            {

                   

                                CyFxSlFifoApplnStop ();

                   

                            }

                   

                            break;

                   

                        default:

                   

                            break;

                   

                    }

                • 5. Re: failures packets
                  madhul_36

                   Hi,

                     

                  Are you using the C++ Streamer? If not, please try using the C++ Streamer with an increased timeout value (say around 3500 ms.

                     

                  Please keep the BURST_LEN paramater as 16 in cyfxslfifosync.h file.

                     

                  Regards,

                     

                  - Madhu Sudhan

                  • 6. Re: failures packets
                    userc_39556

                     got worse, bad packets more

                    • 7. Re: failures packets
                      userc_39556

                       please throw off the project, which build SF_loopback.img (September 18, 2013, 17:37:14) in debug