cancel
Showing results for 
Search instead for 
Did you mean: 

USB Low-Full-High Speed Peripherals

New Contributor

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

0 Likes
Reply
3 Replies
New Contributor

Same problem here:

With the FX2LP connected via a hub (I tried several: Cypress, TI, Microchip), on some ports that do NOT use the "usbhub3.sys" but "usbhub.sys" as driver, a surprise removal of the FX2LP is NOT detected.

Same problem on Windows 10 and Windows 7 machines.
This is really bad.

This behaviour occurs even with Cypress' own bulkloop example:

- connect FX2LP with bulkloop firmware via USB hub

- start bulkloop application

- start data transfer

- remove USB hub from computer USB port

=> the FX2LP is still visible in Device Manager

This is really bad, please provide a solution!

Same behaviour with driver 1.2.3.14 and 3.4.7

0 Likes
Reply
Moderator
Moderator

Hi,

We have reproduced this problem. We are working on the same.

Regards,

Hemanth

Hemanth
0 Likes
Reply
New Contributor

Hello,

any news?

It's still a problem for us and our customers.

We haven't found any workaround, and we need the hub and the FX2LP,

there are many devices with this combination around, not only from our company I guess...

Best regards,

Chris

0 Likes
Reply