I am trying to use the CY5670 CySmart USB dongle with a C# program using the CySmart APIs. I found example code for connecting to the dongle, but every time I try to connect I get an error--"Not a valid CySmart Dongle!" I have made sure the firmware is up to date, and the dongle works fine with the CySmart software. What could be the problem here?
I've attached my code and the DLLs I'm using.
Upon running the exact same code you uploaded, I'm able to connect to my own usb dongle just fine as long as I change the COM port number to be pointing to the COM port that the USB dongle is plugged into.
I would try double-checking that the USB dongle is in the same COM port as the one you are trying to connect to in software. (Device Manager should hold the list of devices associated with COM ports)
Thank you for your reply. I am sure that the COM port is correct, however it still doesn't work. May I ask what firmware version you have loaded onto your dongle?