Can you please tell which API you used to obtain the COM port and received the error "Com# port doesn't exist"? From what I see in the API reference guide, you need to provide the COM port in the code and then call "CyDongleInfo (string comPortName, CySmartDongleType type)".
Are you running the Notification or Scanner application examples or have you created your own custom application? If its the latter, please attach the project so that I can have a look.
If you tried to debug, please let me know which line of code is throwing the error.
The code i am using:
public bool ConnectDongle(string COMPort)
Dongle_ = new CyDongleInfo(COMPort, CyDongleInfo.CySmartDongleType.CY5677);
DongleManager_ = CySmartDongleMgr.GetInstance();
CyApiErr err = DongleManager_.TryGetCySmartDongleCommunicator(Dongle_, out Comm_);
Console.WriteLine("Dongle connect " + err.Message);
Console.WriteLine("Dongle connect err "+ err.Message);
I will try to debug again later and provide more info.
Are you saying that the function new CyDongleInfo(COMPort, CyDongleInfo.CySmartDongleType.CY5677) fails? Please attach your stack trace information when the failure occurs.