February 19, 2013
We have a project on a CY8CKIT-050 which communicates with a PC via USB. The PC application is based on the AN82072 PC Host Application developed in VS.NET 2013 in C# and it has been working fine for several months on a Windows 7 PC. We have recently purchased a new Windows 10 PC an have been trying to migrate the PC application across but hit some problems.
Eseentially, the CY8CKIT-050 isn't being recognised by the Host Application. Looking in Visual Studio, the issue is encounted when the following line of code executes in the PC application: -
USBDevices = new USBDeviceList (CyConst.DEVICES_HID);
This should return a list of "HID Compliant Device" devices in "USBDevices" but actually returns NULL resulting in an overflow exception - this works correctly on the original Windows 7 PC. Interestingly, the debug message actually says "Stopped at Exception: ToInt32" which may be a clue.
Initially I thought that the problem was that the wrong driver had been selsected by the OS - it had aytomatically loaded the "HID Compliant Vendor Defined Device" driver which I then switched to the correct "HID Compliant Device" but this made no difference. I then tried a later version of the CYUSB.dll in the VS project but this too made no difference.
I have now run out of ideas so wondered if anybody had anything that might help on this.
Most Users Ever Online: 66
Currently Online: Hyotor
Currently Browsing this Page:
Bob Marlowe: 1509
Guest Posters: 0
Newest Members:CarrollBibly, Fomocpe, bertalb18, radiovan, otDavid, Hyotor, IgnacioHof, ShotbHab, Moxonft, olgalove90
Administrators: HazAdmin: 67