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?
P
Answer by
Pete Clapp
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:
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?
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);