First time here? Check out the FAQ!
x

I can't use Polymath LP-805 due to an error.

0 votes
asked by about Fingerprint Lock LP80X
edited by

The installation of Polymath LP-805 software was succeed. When I use the "Timing Lock" option, I got the following error:

"Open COM port (in the header)
 Can't find CP2101 port."

I installed the newest "CP2101 USB to UART Bridge Controller Drivers". Can you help me?

1 Answer

0 votes
answered by (193k points)

If you installed the latest version of CP210x USB to UART Bridge VCP Drivers, make sure you follow the instructions from the official user guide in order to obtain the port number for your CP2101 device. To open a COM port you will need to use the following code:

HANDLE hMasterCOM = CreateFile("\\\\.\\COMnumber",
                      GENERIC_READ | GENERIC_WRITE,
                      0,
                      0,
                      OPEN_EXISTING,
                      FILE_ATTRIBUTE_NORMAL | FILE_FLAG_OVERLAPPED,
                      0);

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register
...