Accessing UART on Win10 Enterprise ltsc

Hi Folks,
I'm new with my up2 and I have installed Windows 10 enterprise 2019 ltsc. Now I wrote a small test Desktop programm with c#@VS2017 to test the uart communication via the 40 Pin Header (8,10), but I cannot find it with "SerialPort.GetPortNames". The Device Manager shows under Ports 2 COM-Ports UART Sub device (COM2) and UART Sub device(COM4).
If I try to connect the serial port, I get a IOException.
Can anyone help me on this?
Thank you.
Answers
-
Hi @Boesling ,
Have you also installed the GPIO drivers?
https://downloads.up-community.org/download/up-squared-pro-windows-10-64-bit-drivers/
-
Hi @camillus ,
Yes, the latest drivers from your link are installed - still the same issue.
If I read the "SerialPort.GetNames", I get no results.
I use a normal c# desktop program (console) for it.Do you have any other suggestions?
Thank You. -
Hi @camillus,
I've installed the framework successfully, but still no success by using the UART from Win10. I think the UART-communication is not handled by the framework, right? I've tried to use the Win32api instead of .net serial port, but also no success.
Is there a special driver needed to use the uart-port with Windows 10 2019 ltsc?
best regards,
Daniel -
-
Hi, any update on this?
I can confirm that the serial ports are listed on the device manager but not accessible on Windows 10 IoT Enterprise 64-Bit LTSC 1809.
Tested with a long used and trusted serial terminal application, the list of serial ports available comes up empty!.
Windows is freshly installed and updated. UP2 drivers, and framework SDK were dowloaded and installed as of today.It is VERY important to have reialble serial ports available this platform!
Please raise priority on this isue! -
Any update on this issue.? we have somethink similar on UP CORE PLUS on windows 10 OS.
No help from Up at the moment. -
Just noticed the same problem on windows iot core. The UART's are not found. In device manager we have problem code 28. Missing drivers. I installed the drivers manualy using pnputil. After that the problem code changed to 31.
Using an CP2102 UART BRIDGE CONTROLLER by USB seems to work and gives no problem code in device manager. -
Hey @dirk_dedeur and @Earsistemas - not sure how you're accessing these pins, but check out this document - it was helpful for me getting I2C working appropriately (at least one bus) in Win10 IoT (well, technically Win10 Enterprise): https://annabooks.com/Articles/Articles_IoT10/Windows-10-IoT-UP2-Board-BIOS-RHPROXY-Rev1.6.pdf
-
I have been trying to use the internal UART without succes with UWP. I have found following lines in the Windows.Devices.SerialCommunication Namespace document you can find on https://docs.microsoft.com/en-us/uwp/api/windows.devices.serialcommunication?view=winrt-22000
Serial ports marked as internal to the machine (DEVPKEY_Device_InLocalMachineContainer == TRUE) are not accessible unless explictly marked by the vendor driver as unrestricted (DEVPKEY_DeviceInterface_Restricted == TRUE). Devices connect via most PCI COM port expansion cards are therefore not accessible.
Inaccessible serial ports may still be enumerated by DeviceInformation.FindAllAsync(), but cannot be opened by SerialDevice.FromIdAsync(). Attemping to open such a device will either throw an exception or return null. Apps should handle this case by filtering such serial ports from the user's view, so that the user will not be able to interact with such an unsupported serial port.
Si it's logical we can not find any internal serial ports if AAEON didn't mark them as unrestricted.
Using a SERIAL TO USB Converter with CP2102 i have got good result.
Windows natively supports ports exposed by Serial-to-USB adapters that belong to the USB-CDC device class using the inbox usbser.sys driver (such as those used in Arduino Uno R3s). USB-CDC compatible Ids are:
USB\Class_02&SubClass_02&Prot_01
USB\Class_02&SubClass_02
Other Serial-to-USB adapters (such as FTDI/Prolific/Silicon-Labs) that expose GUID_DEVINTERFACE_COMPORTs are also supported, but require additional vendor-specific drivers. -
Hi @dirk_dedeur ,
Can you try to access UART using the guide and MinCom utitlity from downloads
Kindly let me know if that helps.
-
I have the same problem:
- MinCom utility displays the ports as UART1 and UART0
- Windows Device manager displays ports as COM1 and COM2
- ExtraPutty 0.30 is unable to open serial port COM1
- Realterm v2.0.0.69 is unable to open serial port COM1
- I have tried both BIOS options "Windows" and "Windows IoT Core" without success
Tagged
Categories
- 287 All Categories
- 104 Announcements & News
- 47 Product News - New Product/Product Change Notice/ End-of-life
- 179 Welcome Developers!
- 49 Unboxing & Project Sharing
- 18 Tech Updates
- 376 UP Products
- 6 UP Xtreme i11
- 12 UP Squared 6000
- 38 UP Squared Pro
- 126 UP Xtreme
- 796 UP Squared
- 1.4K UP Board
- 86 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 40 UP AI Edge
- 213 Starter Kits & Peripheral