1 Reply Latest reply on Aug 31, 2012 4:30 AM by gaya

    Double DBT_DEVICEARRIVAL when connect CY7C68013A

    mariusz.maximus

      It is normal ?

         

      I try detect device connection

         

      I used RegisterDeviceNotification and catch WM_DEVICECHANGE

         

      When I connect device I have very strange situation.

         

      I see:

         

      1) CONNECT  ( wParam = DBT_DEVICEARRIVAL )

         

      2) DISCONNECT  ( wParam = DBT_DEVICEREMOVECOMPLETE )

         

      3) CONNECT ( wParam = DBT_DEVICEARRIVAL )

         

      It is normal ?

         

      If i try other USB device (not cypress) for example USB memory 8GB all works OK 

         

      I see one connect when plug in my memory.