How do I find what Pins are being used by UartProvider 0,1,2,3,4 or 5?

Interesting what you can find…

I am using a G-400D Developer Board 1.0

Trouble on LCD display when trying to use a COM port.
(I never thought about using a serial port would affect the display)
I have looked at the LCD display pinout many times and somehow always ignored the COM5 pins!

My Question is:
How do I find what Pins are being used by UartProvider 0,1,2,3,4 or 5?

// string Debug = “GHIElectronics.TinyCLR.NativeApis.AT91.UartProvider\0”;
// string Usart0 = “GHIElectronics.TinyCLR.NativeApis.AT91.UartProvider\1”;
// string Usart1 = “GHIElectronics.TinyCLR.NativeApis.AT91.UartProvider\2”;
// string Usart2 = “GHIElectronics.TinyCLR.NativeApis.AT91.UartProvider\3”;
// string Uart0 = “GHIElectronics.TinyCLR.NativeApis.AT91.UartProvider\4”;
// string Uart1 = “GHIElectronics.TinyCLR.NativeApis.AT91.UartProvider\5”;

// Uart0 = “GHIElectronics.TinyCLR.NativeApis.AT91.UartProvider\4”
// COM5 - PC8 TX (LCD G3), PC9 RX (LCD G4)

When Using:
SerialDevice uart0 = SerialDevice.FromId(G400D.UartPort.Uart0);
Debug.WriteLineIf(true, "uart0 PortName: " + uart0.PortName);
(Debug Output = “uart0 PortName: GHIElectronics.TinyCLR.NativeApis.AT91.UartProvider\4”)

static DataWriter serialWriter;
serialWriter = new DataWriter(uart0.OutputStream);
serialWriter.WriteString(“TEST for cause of LCD interference”);
serialWriter.Store();

I ask because using uart0 causes the display background color to turn from black to green and serialWriter shows the string on the display as scrambled series of broken lines across the display.

This shows me that UartProvider\4 is using
Com5.TX (PC8/LCD.Green3) and Com5.RX (PC9/LCD.Green4)

Hope the above makes some sense…

EDIT: Using TinyCLR 0.6.0

A good starting point until we get more documentation available is to look at the firmware definition file in the ports repo. The first UART is on pins PA9 and PA10, as shown on lines 81 and 82. The order in that file follows the order of the provider IDs in the pins class that you posted above. So the first UART is Debug, UartProvider\0.

Thank You!