Димон Безпарольный 2 October 3, 2025 Posted October 3, 2025 · Report post Физические порты открываются - оба виртуальных FT232 нет. Подскажите, так должно быть или я где - то ступил? HANDLE hComm; hComm = CreateFileA("\\\\.\\COM2", //port name GENERIC_READ | GENERIC_WRITE, //Read/Write 0, // No Sharing NULL, // No Security OPEN_EXISTING, // Open existing port only 0, // Non Overlapped I/O NULL); // Null for Comm Devices if (hComm == INVALID_HANDLE_VALUE) printf("Error in opening serial port\n\n"); else printf("Opening serial port successful\n\n"); CloseHandle(hComm);//Closing the Serial Port Если нет, пойду курить FT2xx Quote Share this post Link to post Share on other sites More sharing options...
GenaSPB 25 October 3, 2025 Posted October 3, 2025 · Report post А чужие терминальные программы работают? Quote Share this post Link to post Share on other sites More sharing options...
dOb 10 October 3, 2025 Posted October 3, 2025 · Report post А драйвер FTDI установлен? Quote Share this post Link to post Share on other sites More sharing options...
Andrew_Q 2 October 3, 2025 Posted October 3, 2025 (edited) · Report post Может порт занят кем-то, или ты его пытаешься открыт когда он еще не создан? Нужно возвращаемую ошибку глядеть. https://learn.microsoft.com/en-us/windows/win32/debug/system-error-codes--0-499- Edited October 3, 2025 by Andrew_Q Quote Share this post Link to post Share on other sites More sharing options...
Димон Безпарольный 2 October 16, 2025 Posted October 16, 2025 · Report post Всё заработало. Снёс порт вместе с драйвером. Накатил снова и заработало. Quote Share this post Link to post Share on other sites More sharing options...