|
Hi,
I am working with AT91SAM9261 EK, with WinCE 6.0 (BSP Source codes are included),
I am trying to open COM port in managed code in some just created application, and I run into IOException for every time regardless which COM port I am trying to open,
my code in managed app: SerialPort com; string[] a = SerialPort.GetPortNames();
com = new SerialPort("COM1",115200, System.IO.Ports.Parity.None, 8, System.IO.Ports.StopBits.One); com.Open();
Hope you can help me, also I can say that com ports are visible with GerPortNames()
BR, Adrian
|