Double DBT_DEVICEARRIVAL when connect CY7C68013A

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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.

0 Likes
1 Reply
Anonymous
Not applicable

 Hi,

   

 

   

In what mode are you connecting FX2LP? I mean USB boot /  boot from EEPROM / script ?

   

 

   

Regards,

   

Gayathri

0 Likes