0 Replies Latest reply on Feb 18, 2017 3:08 AM by ken.kwak

    [CY7C68013A] CyUsb3 32 bit drivers don't detect surprise removal of USB hub connected with FX2LP device when in use

    ken.kwak

      Hi~

         

      I am migrating our FX2LP Windows device driver from CyUsb to CyUsb3.

         

      The device is used as a bulk/interrupt transfer based video grabber,
      so our Windows application repeatedly calls CCyFX3Device::BulkInEndPt->XferData() for video data and CCyFX3Device::InterruptOutEndPt->XferData(), CCyFX3Device::InterruptInEndPt->XferData() for command transmission in a loop.

         

       

         

      I have an issue with the surprise removal of USB hub connected with our device.

         
            
      • In case that the device is connected through external USB hub to PC's USB port     
                
        • In case the Windows application is running       
                    
          • Surprise removal of USB hub (not device) is well detected and the device disappears normally on Windows OS 64 bit.
          •         
          • Surprise removal of USB hub does not properly handled and the device is remained on the Device Manager window on Windows OS 32 bit. At the point, if I force close(by terminating process) the Windows application then the device is removed on the Device Manager.
          •        
        •       
        • In case the Windows application is idle       
                    
          • No problems
             
          •        
        •      
      •     
      • In case that the device is connected directly to PC's USB port     
                
        • No problems
        •      
      •    
         

       

         

      When the above issue is tested with old CyUsb drivers on Windows OS 32 bit, the device disappears on the Device Manager after 5~10 seconds after the removal of USB hub.

         

       

         

      Is there any solution on this problem?

         

       

         

      The below is test environment

         
            
      • Driver version: CyUsb3 v1.2.3.14 (included in FX3 SDK 1.3.3)
      •     
      • Chipset: FX2LP (CY7C68013A-128AXC)
      •     
      • Host Chipset: Intel USB 2.0/3.0 Host
      •     
      • OS Version: Windows 7, 8.1 and 10 (32/64 bit)
      •    
         

      Thanks and regards,
      Ken Kwak